修改发包逻辑

This commit is contained in:
2026-03-27 05:30:34 +08:00
parent 4a640cf7db
commit 1f9f550b18
3 changed files with 151 additions and 46 deletions

View File

@@ -35,7 +35,7 @@ public:
Serial &serial;//串口
void setEnergyInit();//设置能量机关初始化
void sendEnergy();//发送能量机关数据
void sendTarget(Serial& serial, float x, float y, float z, uint16_t u);//发送数据
void sendTarget(Serial& serial, float yaw, float pitch, int16_t feed, uint8_t key);//发送数据 (amadeus_26 协议)
private: