将默认视觉通信换为usb虚拟串口,修复视觉发送roll错误;增加了attach调试支持

This commit is contained in:
NeoZng
2023-05-04 21:38:35 +08:00
parent 35ceb50ca7
commit 116b9b78fb
13 changed files with 199 additions and 113 deletions

View File

@@ -77,6 +77,7 @@ typedef struct
float yaw;
float pitch;
float roll;
} Vision_Send_s;
#pragma pack()
@@ -108,6 +109,6 @@ void VisionSetFlag(Enemy_Color_e enemy_color, Work_Mode_e work_mode, Bullet_Spee
* @param yaw
* @param pitch
*/
void VisionSetAltitude(float yaw, float pitch);
void VisionSetAltitude(float yaw, float pitch, float roll);
#endif // !MASTER_PROCESS_H