feat(monitor): 添加监控模块用于订阅和打印运动状态和里程计数据

添加新的Monitor类,用于订阅并打印SportModeState和Odometry消息数据
移除custom_robot.cpp中冗余的日志信息
更新CMakeLists.txt以包含新的监控模块
This commit is contained in:
2025-09-30 15:53:12 +08:00
parent 99b5b17421
commit d3487a2613
4 changed files with 156 additions and 1 deletions

View File

@@ -153,7 +153,6 @@ void CustomRobot::trajControl()
LOG_ERROR("Controller not available for dynamic trajectory.");
return;
}
LOG_INFO("Dynamic trajectory control started");
float vx = 0.3f;
float delta = 0.06f;
traj_count_ += traj_dt_;