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

RVIZ not displaying /scan frames

asked 2023-07-28 11:20:53 -0500

phil123456 gravatar image

updated 2023-07-28 11:21:32 -0500

Hi,

RVIZ is listening to an ongoing /scan topic

yet...no frames

am I missing something ?

thanks for your help

image description

image description

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-07-28 14:06:18 -0500

billy gravatar image

Make sure set the gblobal frame in RVIZ2 to scan and see if it then appears. I'm pretty sure it's undr 'Global Options". That will at least confirm the scan data is there. If it is then, you are probably lacking the TFs needed transform the scan frame up to whatever frame was being used as the RVIZ2 global frame. Adding the TFs should get you there.

You tagged RVIS but this is actually RVIZ2 and there is a big difference.

edit flag offensive delete link more

Comments

tf is definitely there, that's the first issue I had

phil123456 gravatar image phil123456  ( 2023-07-31 15:27:39 -0500 )edit

global options/fixed frame is set to 'laser_frame' after running

ros2 run tf2_ros static_transform_publisher 0 0 0 0 0 0 world laser_frame

cannot paste image for some reason

phil123456 gravatar image phil123456  ( 2023-07-31 15:41:48 -0500 )edit

still no /scan data frames, while I can echo tons of data being generated on /scan topic

seems RVIZ2 is just broken, in ROS it was working without any additional steps

I am gonna scratch my sd-card with my working ROS1 system. I wasted enough time like that

thanks for your help anyway

phil123456 gravatar image phil123456  ( 2023-07-31 15:44:12 -0500 )edit

Then other idea I have is to look at QOS settings. I've not had issues with laser and QOS with RVIZ2 but I had a lot of trouble getting a map to display in RVIZ2 that I eventually traced back to QOS issues.

billy gravatar image billy  ( 2023-07-31 21:02:57 -0500 )edit

all I found is this, but I am not sure what/how to check https://design.ros2.org/articles/qos....

phil123456 gravatar image phil123456  ( 2023-08-01 03:47:42 -0500 )edit

what I dont understand is that there is a :scan topic, and data are there, RVIZ should at least display data frames or at leas an error if the data format is incorrect

phil123456 gravatar image phil123456  ( 2023-08-01 03:48:51 -0500 )edit

ok in the terminal I see an error saying Sensitivity is not supported, this used to work in ROS1 it says supported modes are Standard,Express,Boost how do I setup these modes in RVIZ ?

phil123456 gravatar image phil123456  ( 2023-08-01 15:45:39 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2023-07-28 11:20:53 -0500

Seen: 211 times

Last updated: Jul 28 '23