无修改

This commit is contained in:
2026-03-11 14:10:35 +08:00
parent 82895160c9
commit 2876d77eb5
135 changed files with 5999 additions and 5900 deletions

View File

@@ -821,9 +821,6 @@ static void podControlStateMachineProcess()
float dt = (float)dt_ticks / PERIOD_TICK; // 最后才转换为浮点
previous_time2 = time1;
switch(mt11_data.current_state)
{
case POD_STATE_INIT:
@@ -832,8 +829,7 @@ static void podControlStateMachineProcess()
{
attitude_stream_enabled = 1;
// 强制开启FPV模式 - 直接发送,无需判断状态
photo_video_control_output.frame.func_type = 5; // FPV模式
photo_video_control_output.frame.func_type = 5; // FPV模式
packUniversalCommandFrame(CMD_ID_REQUEST_DATA_STREAM, (uint8_t*)&photo_video_control_output, 1, 0, 1);
publishMessage(&photo_video_control_output, 1);
printf("INIT: Sent FPV mode command\n");
@@ -1066,7 +1062,7 @@ static void podControlStateMachineProcess()
// 检查开关是否切换为「手动」
if (mt11_data.mode_switch == 0)
{
// 关闭同步指令
// 关闭同步指令 0---+-
sync_command_enabled = 0;
ai_track_mode_output.frame.Ai_mode = 0; // 关闭AI识别