You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following the steps described at this issue I managed to import the model so it appears on gazebo, but the velodyne is not working: turtlebot/turtlebot4_simulator#46
This simulator works with ROS2 humble and gazebo ignition. Then my question is, this velodyne works with gazebo ignition?
If so, here is what I did:
First I get all the packages from this repo (velodyne_description, velodyne_gazebo_plugins and velodyne_simulator).
Then I copied the script of the issue, and added the following in the turtlebot xacro's file:
<!-- Path to the copied file --><xacro:includefilename="$(find turtlebot4_sim)/urdf/sensors/velodyne_lidar.urdf.xacro" /><!-- At the bottom of the file, where the sensors are imported --><xacro:velodyne_lidarname="velodyne" parent_link="shell_link"><originxyz="${velodyne_x_offset} ${velodyne_y_offset} ${velodyne_z_offset}" rpy="0 0 0" /></xacro:velodyne_lidar>
Then I added all the dependencies and paths as described at the mentioned issue.
At this point I can see the velodyne attached to the robot, but it isn't working. I don't have any topic in the ros2 topic list, and I'm pretty sure the velodyne is not running. So my second question is, does the velodyne need to be turned on? If so, how can i do it?
Digging at turtlebot4's code I found they connected the rplidar and the oak camera using gz_ros_bridge (file ros_ign_bridge.launch.py from turtlebot4 repo). Maybe I have to do something similar? I tried with this, but i didnt worked (it said that the topic was not found):
Hy.
I'm trying to implement a VLP16 from this repo in the turtlebot4 simulator avaliable here: https://github.com/turtlebot/turtlebot4_robot
Following the steps described at this issue I managed to import the model so it appears on gazebo, but the velodyne is not working: turtlebot/turtlebot4_simulator#46
This simulator works with ROS2 humble and gazebo ignition. Then my question is, this velodyne works with gazebo ignition?
If so, here is what I did:
At this point I can see the velodyne attached to the robot, but it isn't working. I don't have any topic in the
ros2 topic list
, and I'm pretty sure the velodyne is not running. So my second question is, does the velodyne need to be turned on? If so, how can i do it?Digging at turtlebot4's code I found they connected the rplidar and the oak camera using gz_ros_bridge (file ros_ign_bridge.launch.py from turtlebot4 repo). Maybe I have to do something similar? I tried with this, but i didnt worked (it said that the topic was not found):
Pd: I checked the example launcher found at "velodyne_description" and everything was working fine (at least in gazebo classic).
The text was updated successfully, but these errors were encountered: