Skip to content

Getting Status Error When Trying to Visualize Lidar Point Cloud in RViz. #3932

@ubeydullahsu

Description

@ubeydullahsu

Hi everyone,
I am trying to visualize lidar point cloud in RViz. I edited airsim_ros_wrapper.cpp as indicated in #2808. But i get this error in RViz:

image

In my settings.json I declared lidar like this:

"Lidar1": {
"SensorType": 6,
"Enabled": true,
"NumberOfChannels": 16,
"PointsPerSecond": 10000,
"DrawDebugPoints": false,
"DataFrame": "VehicleInertialFrame" }

I can get data from Lidar sensor, but I cannot visualize it in RViz. When I check data using "rostopic echo", I get this:

image

The frame_id is 1, as seen in the image above. I reviewed "airsim_ros_wrapper.cpp". But I did not see something like Frame 1.

Can you help me to solve this problem, please?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions