ros与gazebo仿真入门-四轮转向(4ws)小车控制仿真
说明
- 介绍如何进行四轮转向(4ws)小车控制仿真
- 环境:ubuntu20.04 + noetic + xbox360手柄
步骤
- 1.利用rcm安装4ws仿真代码
#安装rcm
curl -k https://www.ncnynl.com/rcm.sh | bash -
#安装4ws代码
rcm -s install_ros1_four_ws
+---------------------------------------------------+
| |
| ============================================= |
| |
| Welcome to ROS Commands Manager CLI |
| |
| ============================================= |
| Author:ncnynl |
| Email:1043931@qq.com |
| Website:https://ncnynl.com |
| Date:2022-11-18 |
| QQ Qun B:926779095 |
| QQ Qun C:937347681 |
| QQ Qun D:562093920 |
+---------------------------------------------------+
#####################################################
########Alternative scripts
#####################################################
ros1_gazebo:
ID:140 - install_ros1_four_ws.sh
------------------------------------------Install ros1 four wheel gazebo car shell
------------------------------------------ https://www.ncnynl.com/archives/202303/5841.html
└ Whether to execute the script? [Y/n]
输入y即可自动安装
2.测试
启动仿真
roslaunch robot_launch launch_simulation.launch
- gazebo效果图
- 启动控制
roslaunch commander commander.launch
- 此步会自动接收joy手柄信息,并控制4ws小车移动
获取最新文章: 扫一扫右上角的二维码加入“创客智造”公众号