Thank you @Jaeyoung-Lim, very interesting work.
Correct me if I’m wrong, but as far as i’ve seen I have to add, from the typhoon_h480 model, the following set of lines:
- L152-205 (gimbal link),
- L330-463 (camera link + plugin),
- L1492-1522 (gimbal’s mavlink channels), and
- L1574-1618 (gimbal controller)
to the Iris model, but using the gazebo_ros_camera
as it says that the gstreamer version requieres more CPU power. The only issue I’m facing is that one file is in sdf format and the other is xacro, so I have to do the conversion (or should I try with the sdfs from the repo? I don’t see much parametrization in the sdf, for example, the camera fov is fixed, but seems easier and aligned with px4 actual code).
I have not worked with SDF nor URDF formats, nor with modifying the gazebo models, except to add a camera to the iris, that was pretty simple.
I’m sorry I’m not showing the result of these lines, but I can’t test it right now (as soon as I have it, I’ll post it here for future reference). I think your tips point in the right direction.
I don’t have those plugins, most probably because of an older version of mavros
and mavros_extras
. Nonetheless, I might update to have those, after some testing of versions compatibility. I understand you have created a plugin that simulates the gimbal attached to and controlled by the autopilot, what is exactly I was looking for (different from controlling the gazebo object directly).
Thank you!