Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(mick_robot_vehicle_interface): 首次支持autoware #1

Merged
merged 4 commits into from
Jan 9, 2025

Conversation

chz2012
Copy link
Contributor

@chz2012 chz2012 commented Jan 3, 2025

此PR是第一版可以在Autoware上运行的车辆接口。

订阅车速控制、档位控制
发布车速、档位、驾驶模式
修改了interface和protocol里涉及到串口的部分
boost::asio::buffer到std::string的转换不够优雅
至少需要接收以下话题
 - 转向、速度、加速度
    /control/command/control_cmd
 - 紧急停车
    /control/command/emergency_cmd
 - 档位控制
    /control/command/gear_cmd
 - 转向灯
    /control/command/turn_indicators_cmd
 - 双闪 危险报警闪光灯
    /control/command/hazard_lights_cmd

至少需要发布以下话题
 - 车辆档位状态
    /vehicle/status/gear_status
 - 上报车辆控制模式 用于确定是否被人工接管
    /vehicle/status/control_mode
 - 上报车速
    /vehicle/status/velocity_status
 - 上报转向
    /vehicle/status/steering_status
 - 上报转向灯
    /vehicle/status/turn_indicators_status
 - 上报双闪灯
    /vehicle/status/hazard_lights_status
@chz2012 chz2012 changed the title fix(mick_robot_vehicle_interface): 完全支持autoware fix(mick_robot_vehicle_interface): 首次支持autoware Jan 3, 2025
@RuPingCen RuPingCen merged commit a2dbd46 into RuPingCen:main Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants