reuleaux icon indicating copy to clipboard operation
reuleaux copied to clipboard

For frame [/base_link]: Frame [/base_link] does not exist

Open mrshahabian opened this issue 7 years ago • 7 comments

I load the reachability map and then faced with this error, For frame [/base_link]: Frame [/base_link] does not exist base_link

mrshahabian avatar Apr 09 '17 07:04 mrshahabian

hello @mrshahabian ... The problem is due to "Fixed Frame". Please make your fixed frame from "/map" to "base_link". Now you can visualize the map. In the load_reachability_map.cpp file it is mentioned that the fixed_frame is "ws.header.frame_id = "/base_link";". So otherwise if you change it to map, and make your package you can also visualized the map. Hope it is helpful. Please let me know if you can visualized the map now.

jontromanab avatar Apr 10 '17 15:04 jontromanab

hello @mrshahabian . Hope your problem is solved. Can you please close this issue? Thank you.

jontromanab avatar May 02 '17 05:05 jontromanab

Hello @jontromanab I have the same problem when I try to plot data from pixhawk IMU... I can see and plot the acceleration in rqt_plot but when I do the same in rviz, I got "For frame [/base_link]: Frame [/base_link] does not exist". Do you have any suggestions?

matteoscanavino avatar Nov 16 '18 19:11 matteoscanavino

@matteoscanavino Though your problem is not related to reuleaux, it is due to mismatch in header.frame_id of your data. try to rostopic echo it and verify and check your fixed frame in rviz. Both should be same.

jontromanab avatar Nov 16 '18 19:11 jontromanab

@jontromanab Thankyou, that solved!

matteoscanavino avatar Nov 16 '18 19:11 matteoscanavino

In case anyone has a similar problem when upgrading to ROS Noetic, apparently before it was ok to use a trailing slash "/world" and that would match to non-slash "world" but now I it only works if I set frame id to "world" without a slash

I realize this isn't the place for the comment, but this is the first google result so I thought it might help others

PeterMitrano avatar Sep 01 '20 02:09 PeterMitrano

Does it make more sense to parameterise this or use the MoveIt planning frame?

MShields1986 avatar Apr 20 '23 14:04 MShields1986