Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run the simulation,rivz has pointcloud topic,but gazebo does not have laser light #13

Open
sunnyow opened this issue Apr 15, 2023 · 2 comments

Comments

@sunnyow
Copy link

sunnyow commented Apr 15, 2023

i have correctly install livox_sdk and livox_ros_driver
图片2
图片1

@sdwyc
Copy link

sdwyc commented Jul 4, 2023

@sunnyow Hi, Excuse me! Have you solve the problem? I also encounter the similar problem.

@john-maidbot
Copy link

This happens because in the urdf, the tag has been placed under the tag, so Gazebo does not parse it properly. This is ok for the plugin, since it is handling the ray casting rather than Gazebo, but as you noticed, it breaks the Gazebo visualization.
If you want to visualize the sensor rays in gazebo, you will need to copy the block so it is under the <sensor type="ray...> block. However, this will not quite match the non-uniform pattern of the plugin. It will visualize the rays as a uniform, multiray scan.

e.g. for the mid360, you would copy this block

and paste it so it is directly under this block

<sensor type="ray" name="laser_${name}">

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants