UnitySensors
UnitySensors copied to clipboard
unable to visualize pointcloud data
[ WARN] [1642414105.183307373]: MessageFilter [target=map ]: Dropped 100.00% of messages so far. Please turn the [ros.velodyne_pointcloud.message_filter] rosconsole logger to DEBUG for more information. [ WARN] [1642414105.183512721]: MessageFilter [target=map ]: The majority of dropped messages were due to messages growing older than the TF cache time. The last message's timestamp was: 686.699280, and the last frame_id was: velodyne
This is the warning I'm getting while launch velodyne_pointcloud. And in rviz pointcloud2 data is empty.
This error occurs from ROS side problem. The problem comes from following reason.
- You do not set
use_sim_time
parameter astrue
. To do that, you just runrosparam set use_sim_time true
after the roscore started. - You mistakenly set target frame on rviz to
map
. To fix that, you need to setvelodyne
to the target frame.
I created #20 related to this issue.