hasauino / rrt_exploration_tutorials

This package provides launch files for Gazebo simulation needed to test the rrt_exploration package
http://wiki.ros.org/rrt_exploration/Tutorials
102 stars 39 forks source link

Rviz shows no map #16

Open ming4now opened 4 years ago

ming4now commented 4 years ago

i met a problem, i think the package is not compact? because when i roslaunch rrt_exploration_tutorial single_simulated_house.launch, i see no tf between /robot_1/odom and /robot_1/base_footprint, In rviz, TF is warning and Map is warning, no map received. ROSINFO shows:[ WARN] [1587870738.373049678, 2432.140000000]: Timed out waiting for transform from robot_1/base_link to robot_1/map to become available before running costmap, tf error: Could not find a connection between 'robot_1/map' and 'robot_1/base_link' because they are not part of the same tree.Tf has two or more unconnected trees.. canTransform returned after 0.1 timeout was 0.1. i tried to create a tf between odom and base_footprint, and i saw the map in rviz, but i can not still move the robot using arrow. dose anybody can help me ?or tell me how to figure it out, thanks

ikvibhav commented 4 years ago

I got the same Issue while using melodic, it is currently giving me the following results on the terminal:- rrt_single_error

The TF is as follows frames.pdf Is having no connected from robot_1/odom to robot_1/base_footprint correct?

Note that, I got this by launching:- roslaunch rrt_exploration_tutorials single_simulated_house.launch and roslaunch rrt_exploration single.launch

franklinselva commented 3 years ago

Hello Everyone,

I am also experiencing the same issue with the tutorial's robot model. The errors are the same as @ikvibhav. It would be helpful to get any solution to this issue. It will also be helpful to know about the results of this work.

Thanks in advance.

I got the same Issue while using melodic, it is currently giving me the following results on the terminal:- rrt_single_error

The TF is as follows frames.pdf Is having no connected from robot_1/odom to robot_1/base_footprint correct?

Note that, I got this by launching:- roslaunch rrt_exploration_tutorials single_simulated_house.launch and roslaunch rrt_exploration single.launch

hasauino commented 3 years ago

Hi, it's weird that the transformation between the odom and base_link frames is not being published! which should be done by the robot driver (kobuki node)... I don't have this issue (on ROS kinetic). Many have reported this issue too, are you using ROS Kinetic?

hex-plex commented 2 years ago

@franklinselva you havent installed kobuki-destop which publishes the odom in simulators @hasauino you can add this package in this into a rosinstall file or in the package.xml.

franklinselva commented 2 years ago

@hasauino @hex-plex Hello. Thank you. I was able to solve this with some modifications in the ROS nodes of the rrt_exploration package. I will find the work again and if possible, I will add a PR too.

Since it is way too old, I hope I still have the work from my old computer. Will keep you posted. ;)

sandilyasg commented 1 year ago

@franklinselva what modifications did you have to make in the ROS nodes of rrt_exploration package? @hex-plex installing kobuki-desktop from source worked.

franklinselva commented 1 year ago

@sandilyasg Now that you mention it, I might have made some changes to the package irrelevant to this issue. Sorry for misdirecting due to my poor memory. I suppose if installing kobuki-desktop from source helps, we can close this issue.

ShawnDawson315 commented 10 months ago

@franklinselva you havent installed kobuki-destop which publishes the odom in simulators @hasauino you can add this package in this into a rosinstall file or in the package.xml.

sorry, could you please tell me how to operate it more specifically