v1.5增加一个舵机控制前档,实现踢球效果。

This commit is contained in:
myperworld committed 2025-12-23 20:56:06 +08:00
1 parent cc61eda1c7
commit 6395a5f9c3
3693 files changed
+476152 -1

No files matched your search

@@ -0,0 +1,21 @@
#pragma once
#include <Arduino.h>
#include "buttons.h"
extern ColorSelector color_selector;
extern CountingButton vis_selector;
struct ui_state {
ui_state() { memset(this, 0, sizeof(*this)); }
int which_visualizer;
int color_scheme;
//float color_wheel_pos;
//float velocity_bias_pos; // default to 1.0f for buttons missing velocity.
};
void ui_init();
ui_state ui_update(uint32_t now_ms, uint32_t delta_ms);