Turtlebot3 Rviz使用多个路径发射

发布于 2025-02-03 12:03:25 字数 1212 浏览 3 评论 0原文

大家好,所以我试图启动turtlebot3_gazebo_rviz,但我遇到了这个错误。

 roslaunch turtlebot3_gazebo turtlebot3_gazebo_rviz.launch
 ... logging to /home/zac1405/.ros/log/78418374-e1c4-11ec-86d1-000c295c3592/roslaunch- 
 ubuntu-10618.log
 Checking log directory for disk usage. This may take a while.
 Press Ctrl-C to interrupt
 Done checking log file disk usage. Usage is <1GB.

 xacro: in-order processing became default in ROS Melodic. You can drop the option.
 started roslaunch server http://ubuntu:40921/

 SUMMARY
 ========

 PARAMETERS
  * /robot_description: <?xml version="1....
  * /robot_state_publisher/publish_frequency: 50.0
  * /robot_state_publisher/tf_prefix: 
  * /rosdistro: melodic
  * /rosversion: 1.14.13

 NODES
   /
     robot_state_publisher (robot_state_publisher/robot_state_publisher)
rviz (rviz/rviz)

 ROS_MASTER_URI=http://localhost:11311

 process[robot_state_publisher-1]: started with pid [10693]
 ERROR: cannot launch node of type [rviz/rviz]: rviz
 ROS path [0]=/opt/ros/melodic/share/ros
 ROS path [1]=/home/zac1405/catkin_ws/src
 ROS path [2]=/opt/ros/melodic/share

我怀疑发射器无法选择正确的途径,这就是为什么它会摇动三个不同的路径。我的想法是删除路径0和路径2,并仅使用索引1的路径。我希望我的期望是正确的,否则我希望有人可以帮助我。 先感谢您

hey guys so i'm trying to launch turtlebot3_gazebo_rviz but i'm getting this error.

 roslaunch turtlebot3_gazebo turtlebot3_gazebo_rviz.launch
 ... logging to /home/zac1405/.ros/log/78418374-e1c4-11ec-86d1-000c295c3592/roslaunch- 
 ubuntu-10618.log
 Checking log directory for disk usage. This may take a while.
 Press Ctrl-C to interrupt
 Done checking log file disk usage. Usage is <1GB.

 xacro: in-order processing became default in ROS Melodic. You can drop the option.
 started roslaunch server http://ubuntu:40921/

 SUMMARY
 ========

 PARAMETERS
  * /robot_description: <?xml version="1....
  * /robot_state_publisher/publish_frequency: 50.0
  * /robot_state_publisher/tf_prefix: 
  * /rosdistro: melodic
  * /rosversion: 1.14.13

 NODES
   /
     robot_state_publisher (robot_state_publisher/robot_state_publisher)
rviz (rviz/rviz)

 ROS_MASTER_URI=http://localhost:11311

 process[robot_state_publisher-1]: started with pid [10693]
 ERROR: cannot launch node of type [rviz/rviz]: rviz
 ROS path [0]=/opt/ros/melodic/share/ros
 ROS path [1]=/home/zac1405/catkin_ws/src
 ROS path [2]=/opt/ros/melodic/share

I suspect that the launcher was not able to choose the right path to start with, which is why it shakes three different paths. My idea was to remove path 0 and path 2 and use only the path with index 1. I hope my expectation is correct, otherwise I hope someone can help me.
Thank you in advance

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

鹿! 2025-02-10 12:03:25

因此,经过一些研究,我可以告诉您我的解释是错误的,解决问题只需安装Ros-Melodic.rviz

sudo apt-get install ros-melodic-rviz

我希望我很有帮助

so after some research I can tell you that my interpretation was wrong, to solve the problem simply install ros-melodic.rviz

sudo apt-get install ros-melodic-rviz

i hope i was helpfull

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文