Signed-off-by: myperworld <myperworld@126.com>
This commit is contained in:
1 parent
3160a2119f
commit
0986832fd1
7 files changed
+2226
-94
No files matched your search
@@ -18,35 +18,35 @@
|
||||
#include "wifi_config.h"
|
||||
#include "esp_adc_cal.h"
|
||||
|
||||
// 网页控制回调函数
|
||||
void basicWebCallback(void);
|
||||
void webSocketEventCallback(uint8_t num, WStype_t type, uint8_t *payload, size_t length);
|
||||
void web_loop();
|
||||
|
||||
// 电压检测函数
|
||||
void adc_calibration_init();
|
||||
void bat_check();
|
||||
void web_loop();
|
||||
|
||||
// 平衡算法函数
|
||||
void lqr_balance_loop();
|
||||
void yaw_loop();
|
||||
void leg_loop();
|
||||
void jump_loop();
|
||||
void yaw_angle_addup();
|
||||
void blinkLed();
|
||||
void detectObstacle();
|
||||
|
||||
void resetToDefault();
|
||||
void safeSyncWritePosEx(byte* id, byte idCount, s16* position, u16* speed, byte* acc);
|
||||
|
||||
// 数据处理函数声明
|
||||
// void processControlData(const JoystickData& data);
|
||||
// void parseBluetoothData(const String& bluetoothData);
|
||||
// void onBluetoothDataReceived(const String& data);
|
||||
// 蓝牙相关函数
|
||||
void saveBluetoothAddress(const String& addr);
|
||||
String loadBluetoothAddress();
|
||||
void resetBluetoothAddressAndRestart();
|
||||
void handleSerialCommands();
|
||||
void handleBluetoothData();
|
||||
void processXboxControllerData();
|
||||
|
||||
// 超声波测距函数
|
||||
// void handleEcho();
|
||||
// void echo_loop();
|
||||
|
||||
// 遥控模式 自动巡航模式
|
||||
// typedef enum {
|
||||
// REMOTE_MODE,
|
||||
// CRUISE_MODE
|
||||
// } OperationMode;
|
||||
// extern OperationMode current_mode;
|
||||
// 警灯相关函数
|
||||
void startPoliceLights(int speed, int repeats);
|
||||
void updatePoliceLights();
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user