讯飞二代车记录
开始二代车
https://github.com/liwuyou/xunfei_second.git
初始配置
官方包编译
键盘控制python文件使用,放在ucar_ws/src/目录下
建图配置
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
| roslaunch ucar_map ucar_gmapping.launch
python3 ~/ucar_ws/src/ucar_map/launch/mbot_teleop.py
rosrun map_server map_saver -f /home/iflytek/ucar_ws/src/ucar_map/maps/name
```
```python
rosrun map_server map_server /home/iflytek/ucar_ws/src/ucar_map/maps/name
rviz
欧拉角转四元数 https://quaternions.online/
|
导航
1 2 3
| roslaunch ucar_nav ucar_navigation_wy.launch
|
官方局部路径规划不可用,
1 2 3 4 5 6 7 8 9 10 11
| sudo apt-get install ros-noetic-teb-local-planner
<param name="base_global_planner" value="global_planner/GlobalPlanner" /> <param name="planner_frequency" value="10.0" /> <param name="planner_patience" value="2" /> <param name="use_dijkstra" value="true" /> <param name="base_local_planner" value="teb_local_planner/TebLocalPlannerROS" /> <param name="controller_frequency" value="30.0" /> <param name="controller_patience" value="10.0" /> <param name="clearing_rotation_allowed" value="true" />
|