Interbotix / interbotix_ros_rovers

ROS Packages for Interbotix Rovers
BSD 3-Clause "New" or "Revised" License
31 stars 31 forks source link

[Bug]: Can't run the tutorial commands of xslocobot description #16

Closed Dorteel closed 2 years ago

Dorteel commented 2 years ago

What happened?

Hello!

I'm trying to follow the LoCoBot Descriptions tutorials described in the Documentation, but when trying the first command I get an error in RViz saying that the transforms are missing. I'm running it on a locobot_wx250s. image

Robot Model

locobot_wx250s

Operating System

Ubuntu 20.04

Steps To Reproduce

I ssh-d into the robot and just ran roslaunch interbotix_xslocobot_descriptions xslocobot_description.launch robot_model:=locobot_wx200 use_joint_pub_gui:=true

Relevant log output

locobot@locobot:~$ roslaunch interbotix_xslocobot_descriptions xslocobot_description.launch robot_model:=locobot_wx250s use_joint_pub_gui:=true
... logging to /home/locobot/.ros/log/b29ce60a-db78-11ec-bc03-cb80ad3cf0e1/roslaunch-locobot-2156.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.

started roslaunch server http://10.15.3.56:44637/

SUMMARY
========

PARAMETERS
 * /locobot/robot_description: <?xml version="1....
 * /rosdistro: noetic
 * /rosversion: 1.15.14

NODES
  /locobot/
    joint_state_publisher_gui (joint_state_publisher_gui/joint_state_publisher_gui)
    robot_state_publisher (robot_state_publisher/robot_state_publisher)
    rviz (rviz/rviz)

ROS_MASTER_URI=http://10.15.3.55:11311/

process[locobot/joint_state_publisher_gui-1]: started with pid [2172]
process[locobot/robot_state_publisher-2]: started with pid [2173]
process[locobot/rviz-3]: started with pid [2174]

Anything Else

No response

Dorteel commented 2 years ago

I also get the same error when running the very first "quickstart" command on my remote computer: roslaunch interbotix_xslocobot_descriptions remote_view.launch

lukeschmitt-tr commented 2 years ago

Hi @Dorteel. Could you provide the following:

Dorteel commented 2 years ago

Hi @LSinterbotix, Thanks for the quick reply! When I started the robot this morning and ran the same script everything worked fine.

I found out that the issue was that when Gazebo crashed I didn't restart roscore and all the topics stayed registered even though the nodes weren't active anymore. Restarting roscore solved the issue.