-
Notifications
You must be signed in to change notification settings - Fork 42
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
Cannot add VLP-16 to Turtlebot4 Simulator #46
Comments
Hi Yazan, Can you please provide the full terminal output? (including how you are launching gazebo) |
Hi @hilary-luo, Also, the colcon workspace builds successfully. here's the full terminal output of the launch: And here is the log file from ~/.ros: |
Thanks Yazan, Notice earlier up in the terminal output, the following error:
This is likely a conflict because you have inserted two velodyne links and set the naming to the same as the default name instead of changing the second one to a unique name.
|
Thank you @hilary-luo, The first link was added by mistake and I removed it. However, Ignition still crashes during launch. Here's the output: I noticed that it cannot find the VLP-16 plugin. So I exported its location to $GAZEBO_PLUGIN_PATH. But the same output still persists. |
Are you certain that plugin works with the new Gazebo (previously referred to as Ignition) and not just Gazebo classic? I am not familiar with that repo so I can't help too much with why it can't find that plugin. I don't see anything else specifically wrong from the terminal output. Instead, I would suggest inserting a generic lidar and configuring it to the correct resolution. The URDF that we use to add the VLP-16 lidar is available here: https://github.com/clearpathrobotics/clearpath_common/blob/humble/clearpath_sensors_description/urdf/velodyne_lidar.urdf.xacro You will need |
Thank you so much Hilary. I tried doign what you said, but it kept giving the Unable to find file with URI [model://velodyne_simulator/meshes/VLP16_base_1.dae] or any of the other meshes. I realized that the meshes have to be added to IGN_GAZEBO_RESOURCE_PATH, and not added properly as a dependency to Turtlebot4 packages. Then way it worked was as follows:
I guess the issue I opened with the repo had to be integrated better with the turtlebot4 too. But the one you provided perfectly works. |
Hy @YazanRihan. Sorry to bother you, but did the Velodyne worked for you? Thanks in advance. |
Please provide the following information:
Expected behaviour
I tried adding VLP-16 to the urdf in turtlebot4_description from the repo (https://bitbucket.org/DataspeedInc/velodyne_simulator.git) which works in gazebo by itself. The resulting URDF is:
Actual behaviour
The robot does not spawn in Ignition Gazebo and here is what it shows:
Other notes
Is there anything wrong I am doing? Is there a guide on adding links to turtlebot4 simulator?
The text was updated successfully, but these errors were encountered: