help for installing lidar on a drone
Hi all,
(note: I posted this question on gazebo forum, but it is seems to be a ros plugin, so I post here too)
I'm trying to install a lidar on a drone (x500, model provided by PX4 repo). I found some examples, but all seems outdated.
For the plugin, an example give the name of libgazebo_ros_ray_sensor.so
, another libgazebo_ros_laser.so
. Some doc points to "https://github.com/ros-simulation/gaz..." to get the plugin, but the list of available branch is huge, and I already installed libgz-sim7-plugins on my machine (which contains libgz-sensors7-lidar.so that "does not export any plugins").
Well I'm totally lost !
Which plugin should I used ?
I'm using gazebo garden on ubuntu 22.04. Here is part of my sdf file
<sdf version="1.10">
<model name="x500_lidar">
<include><uri>model://x500</uri>[...]</include>
<!--add lidar-->
<link name="hokuyo_link">
<pose>0 0 0 0 0 0</pose>
[...]
<sensor type="gpu_ray" name="laser">
<pose>0 0 0.3 0 0 1.57</pose>
[...]
<plugin name="hokuyo_node" filename="libgz-sensors7-lidar.so">
<robotNamespace></robotNamespace>
<topicName>/spur/laser/scan</topicName>
<frameName>/hokuyo_sensor_link</frameName>
</plugin>
</sensor>
</link>