I am writing a gimbal manager to run on a companion computer connected to the telemetry port 2 of a Pixhawk and can’t get the Gimbal manager commands ( different system/target ) to be routed from telemetry 1 to telemetry 2. Gimbal Device commands are routed but manager-related commands are not.
great that this capability of the gimbal manger/gimbal device concept is being exploitet. For this to work, to have the gimbal manager not on the fc, you will also need to figure out a way to disable ArduPilot’s gimbal manager (which is currently not possible) if your gimbal is connected to the fc. If the gimbal is connected to the companian, that’s no problem though.
The gimbal is connected to the companion, but I wanted to control it from the radio telemetry channel connected to the Ardupilot FC by routing messages out a spare
telemetry port to the companion. As it’s all experimental at the moment, so in the meantime, I’ll not use any GIMBAL_MANAGER messages, I’ll just send GIMBAL_DEVICE messages.
that’s not an issue of the routing but simply a consequence of the fact that in v4.4 these gimbal manager messages are not included in the mavlink .xml files … these messages are just unknown to your ardupilot …
Ardupilot unfortunately has a somwhat strange philosophy with regards to which messages to include or exclude. You need to go to the master branch, since there they are included.