turtlebot3-burger_150.png
turtlebot3-waffle-pi_150.png
turtlebot3-arm_150.png
walking-y2_150.png
turbot3-multi_150.png
turbot3-dl-ros1_150.png
turbot3-ai.png
turbot3-dl-ros2_150.png
turbot3-slam_150.png
turbot3-arm_150.png
turtlebot4-lite_150.png
turtlebot4-pro_150.png
turbot4-dl_150.png
turbot4-ai_150.png
aidriving-racebot_150.png
aidriving-autodrive_150.png
turtlebot-arm_150.png
openmanipulator-x_150.png
Home » ROS与gazebo仿真入门教程 » ros与gazebo仿真入门-四轮转向(4ws)小车控制仿真

ros与gazebo仿真入门-四轮转向(4ws)小车控制仿真

纠错,疑问,交流: 请进入讨论区请点击进入页面,扫码加入微信群或Q群进行交流

获取最新文章: 扫一扫加入“创客智造”公众号

说明

  • 介绍如何进行四轮转向(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小车移动

纠错,疑问,交流: 请进入讨论区请点击进入页面,扫码加入微信群或Q群进行交流

获取最新文章: 扫一扫加入“创客智造”公众号


标签: ros与gazebo仿真入门