找回密码
 立即注册
搜索
查看: 3035|回复: 2

运行wheeltec_gazebo_control时加载控制器失败

[复制链接]

1

主题

2

帖子

11

积分

新手上路

Rank: 1

积分
11
发表于 2022-12-17 19:54:58 | 显示全部楼层 |阅读模式
在自己电脑的虚拟机上运行wheeltec_robot_gazebo里的代码,编译无误。
运行wheeltec_description下的wheeltec_robot_gazebo.launch文件,可以在rviz中看到整个小车。(选用了4wd车型)

但运行wheeltec_gazebo_control下的wheeltec_gazebo_control.launch文件时会报错,导致rviz中看到的小车没有车轮。

报错信息:
[ERROR] [1671277436.865108304, 139.012000000]: Exception thrown while initializing controller 'mini_4wd_right_rear_wheel_velocity_controller'.
Could not find resource 'right_rear_wheel_joint' in 'hardware_interface::VelocityJointInterface'.
[ERROR] [1671277436.865163460, 139.012000000]: Initializing controller 'mini_4wd_right_rear_wheel_velocity_controller' failed
[ERROR] [1671277437.865709, 139.785000]: Failed to load mini_4wd_right_rear_wheel_velocity_controller
(四个轮子都会各报一次这个错误)

此时执行rostopic list可以看到存在/cmd_vel话题,但运行wheeltec_gazebo_function下的keyboard_teleop.launch文件,正常运行后无法控制车模在rviz或gazebo中运动。
请问这可能是什么问题呢,应该如何调试?


回复

使用道具 举报

1

主题

2

帖子

11

积分

新手上路

Rank: 1

积分
11
 楼主| 发表于 2022-12-18 16:53:19 | 显示全部楼层
哦不好意思,应该是我自己搭建虚拟机的版本和配置问题吧,我之前使用的是Ubuntu20.04搭载ROS-noetic。
我下载了提供的Ubuntu镜像,稍作修改后就可以正常运行了。
回复

使用道具 举报

19

主题

329

帖子

878

积分

高级会员

Rank: 4

积分
878
发表于 2022-12-19 18:35:15 | 显示全部楼层
好的                  
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

粤ICP备20017043号|小黑屋|手机版|Archiver|轮趣科技(东莞)有限公司  

GMT+8, 2024-4-20 22:35 , Processed in 0.083443 second(s), 21 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表