Interbotix / interbotix_ros_rovers

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

no tf data. actual error frame locobot/base_link does not exist #34

Closed tx871217 closed 1 year ago

tx871217 commented 1 year ago

Hi when i run ros2 launch interbotix_xslocobot_sim xslocobot_gz_classic.launch.py robot_model:=locobot_wx200 Rviz and gazebo showed up but no robot model loaded. And it showed no tf data. actual error frame locobot/base_link does not exist in Global Status: warn / Fixed Frame, on Rviz. I tried re-installing ROS and rebuilding interbotix but still. My environments are Ubuntu 22.04 and ROS humble. Any idea to solve it? Thanks!

tx871217 commented 1 year ago

Welp, it finally works after I set up the whole environment manually instead of using the install script (xslocobot_amd64_install.sh). not sure about the reason behind it but I guess part of the install file modified the publisher/listener communication so all of the listeners couldn't get the msg.

tx871217 commented 1 year ago

so the 516th line of the install file (xslocobot_amd64_install.sh) makes the problem happen. I remove echo "export ROS_DISCOVERY_SERVER=127.0.0.1:11811" >> ~/.bashrc and now it works.