Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to view Reachability Map on RVIZ #1

Open
youliangtan opened this issue Feb 20, 2023 · 7 comments
Open

Not able to view Reachability Map on RVIZ #1

youliangtan opened this issue Feb 20, 2023 · 7 comments

Comments

@youliangtan
Copy link

Hi, this is the first attempt for me to try this pkg. I am currently using it with https://github.com/iROSA-lab/sampled_reachability_maps . (ros noetic on ubuntu 20.04)

I followed the README instructions in running the code. However I'm not able to view any of the samples in rviz. As you can see from the screenshot, the reachabilitymap msg is received. With a quick rostopic echo, I'm able see points in the msg printout. Would kindly need help on this. Thanks in advance

Screenshot from 2023-02-20 11-54-32

@youliangtan youliangtan changed the title Not able to view points on RVIZ Not able to view Reachability Map on RVIZ Feb 20, 2023
@sjauhri
Copy link
Contributor

sjauhri commented Oct 7, 2023

Hello, sorry for the late response. Is your rviz node connected to the same ROS master?

@youliangtan
Copy link
Author

Yes the rviz node is connected to the same ROS master.

I'm no longer working on this project, so if anyone is working on this feel free to followup on this thread.

@davizinho5
Copy link

Hello, I'm having a similar problem.

I started with the same problem as @youliangtan.
Then I managed to load the robot model using the tutorials from Tiago++.

Now, I have no errors, and messages are arriving to ReachabilityMap topic.
However, I cannot see the map, only the robot.

I have executed acoding to your instructions
I have the same configuration (alpha, size, and so on...) of visualization as in the image of your Readme.

Would you happen to know why is this?

Best

@lexidliny
Copy link

lexidliny commented Nov 8, 2023

Hello, I'm having a similar problem.

I started with the same problem as @youliangtan. Then I managed to load the robot model using the tutorials from Tiago++.

Now, I have no errors, and messages are arriving to ReachabilityMap topic. However, I cannot see the map, only the robot.

I have executed acoding to your instructions I have the same configuration (alpha, size, and so on...) of visualization as in the image of your Readme.

Would you happen to know why is this?

Best

Hi, this is due to different TF versions in ROS. ROS Noetic uses TF2, and in TF2, the naming convention for frame_id does not include a backslash "\".
So what you need to do is to remove the ''\'' in https://github.com/iROSA-lab/reachability_map_visualizer/blob/4efc5d511c3fd7ad1bfcab28c0ea0e61465a9100/src/load_reachability_map.cpp#L39C15-L39C24.

@davizinho5
Copy link

Thanks a lot @lexidliny, that was exactly the problem.

@robonrrd
Copy link

robonrrd commented Sep 5, 2024

I also had this issue, but my solution was slightly different. I am on ROS Kinetic and I had to edit the line lexidliny mentions above (load_reachability_map.cpp:39) to read "/base" instead of "/base_footprint". I don't know if this is Kinetic-specific or because the URDF model of my robot (a Baxter) was built that way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants
@robonrrd @davizinho5 @youliangtan @sjauhri @lexidliny and others