(二)基于wpr_simulation 的Ros机器人运动控制,gazebo仿真

本文指导如何在Linux环境下创建工作空间,下载wpr_simulation源码,使用Catkin编译,以及通过roslaunch运行仿真,实现在RQT中控制机器人位姿。
摘要由CSDN通过智能技术生成

一、创建工作空间

        

mkdir catkin_ws
cd catkin_ws
mkdir src
cd src

二、下载wpr_simulation源码

git clone https://github.com/6-robot/wpr_simulation.git

三、编译

  1. ~/catkin_make  目录下catkin_make
  2. source devel/setup.bash

四、运行

roslaunch wpr_simulation wpb_simple.launch

启动另一个终端,执行:

rosrun rqt_robot_steering rqt_robot_steering

鼠标改变速度和角度值,仿真机器人发生位姿变化。

  • 11
    点赞
  • 11
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
根据引用和引用的信息,RLException: [wpb_simple.launch] is neither a launch file in package [wpr_simulation] nor is [wpr_simulation] a launch file name这个错误提示说明在包wpr_simulation中没有名为wpb_simple.launch的launch文件,或者wpr_simulation不是一个有效的launch文件名。这可能是由于包中缺少了该launch文件,或者文件名填写错误导致的。 为了解决这个问题,你可以尝试以下几种方法: 1. 确认包wpr_simulation中是否存在名为wpb_simple.launch的文件。你可以使用ls命令在包的目录下查看所有的文件和文件夹,确保包含了你要使用的launch文件。 2. 如果确保包中存在该文件,那么可能是文件名填写错误导致的。你可以仔细检查launch文件的文件名是否与你在代码中调用的文件名一致,包括大小写和文件扩展名。 3. 如果你确定文件名正确,那么可能是包的路径设置有问题。你可以检查你的ROS环境变量和包路径设置,确保包wpr_simulationROS系统中能够被正确找到。 希望这些方法能够帮助你解决这个问题!<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* [RLException: [simple_launch] is neither a launch file in package [learning_launch] nor is [learning_](https://blog.csdn.net/qq_37788383/article/details/103701661)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"] - *2* *3* [RLException: [xx.launch] is neither a launch file in package [x] nor is [x] a launch file name的解决...](https://blog.csdn.net/qq_44164791/article/details/130351276)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"] [ .reference_list ]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

DSZS123

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值