I want to control the gimbal mounted on the hexacopter Typhoon H480 in gazebo px4 sitl using a ros node. I have already looked in this documentation for gimbal but it doesn’t tell about controlling using a ros node. I need this for tracking a moving object with the camera on the gimbal. Any help will be appreciated.
@Jaeyoung-Lim I went through the example and it is wonderful. I am able to control a single vehicle Typhoon H480 hexacopter’s mounts using the given topic.
I wanted to use the gimbal mechanism on a custom multirotor design and use the gimbal from Typhoon H480’s sdf file following the previous discussion linked below:
Hi, I am also working with adding a gimbal to a custom vehicle. According to the example of typhoon_h480, I created a copy of 1030_plane and and a copy of 6011_typhoon.post in /Firmware/ROMFS/px4fmu_common/init.d-posix. Then I created a copy of plane directroy in /Firmware/Tools/sitl_gazebo/models with adding H480’s gimbal parts(link and plugins) to the plane’s sdf document. I can control the gimbal on H480 with ros message /mavros/mount_control/command but it doesn’t work on my own vehicle. Is there something I missed?