ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Interactive markers not showing in RViz

asked 2022-07-10 07:46:22 -0500

ijnek gravatar image

I'm trying to display a cube interactive marker using the interactive_marker_tutorials (have to build from source). Running the cube example:

ros2 run interactive_marker_tutorials cube

Then, running rviz:

rviz2

Add an interactive marker display with namespace set to cube, and RViz spams the following and the interactive marker doesn't show:

[INFO] [1657456819.061519998] [rviz]: Sending request for interactive markers
[INFO] [1657456819.093636879] [rviz]: Service response received for initialization
[INFO] [1657456819.124743724] [rviz]: Sending request for interactive markers
[INFO] [1657456819.158057054] [rviz]: Service response received for initialization
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-07-10 07:50:25 -0500

ijnek gravatar image

The issue is due to no TF data to transform the interactive marker's in the base_link frame to the map frame RViz is trying to display.

Simply change the Fixed Frame to base_link in RViz:

image description

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2022-07-10 07:46:22 -0500

Seen: 433 times

Last updated: Jul 10 '22