Robotics StackExchange | Archived questions

RVIZ not displaying /scan frames

Hi,

RVIZ is listening to an ongoing /scan topic

yet...no frames

am I missing something ?

thanks for your help

image description

image description

Asked by phil123456 on 2023-07-28 11:20:53 UTC

Comments

Answers

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.

Asked by billy on 2023-07-28 14:06:18 UTC

Comments

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

Asked by phil123456 on 2023-07-31 15:27:39 UTC

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

Asked by phil123456 on 2023-07-31 15:41:48 UTC

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

Asked by phil123456 on 2023-07-31 15:44:12 UTC

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.

Asked by billy on 2023-07-31 21:02:57 UTC

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

Asked by phil123456 on 2023-08-01 03:47:42 UTC

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

Asked by phil123456 on 2023-08-01 03:48:51 UTC

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 ?

Asked by phil123456 on 2023-08-01 15:45:39 UTC