Skip to content

Commit

Permalink
SITL: forward gimbal messages
Browse files Browse the repository at this point in the history
A gimbal user needs to be able to receive gimbal device messages such as
GIMBAL_DEVICE_INFORMATION. Therefore, we need to forward this MAVLink
instance.
  • Loading branch information
julianoes authored and bkueng committed Oct 30, 2024
1 parent c0c4125 commit e320593
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ROMFS/px4fmu_common/init.d-posix/px4-rc.mavlink
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ mavlink start -x -u $udp_offboard_port_local -r 4000000 -f -m onboard -o $udp_of
mavlink start -x -u $udp_onboard_payload_port_local -r 4000 -f -m onboard -o $udp_onboard_payload_port_remote

# Onboard link to gimbal
mavlink start -x -u $udp_onboard_gimbal_port_local -r 400000 -m gimbal -o $udp_onboard_gimbal_port_remote
mavlink start -x -u $udp_onboard_gimbal_port_local -r 400000 -f -m gimbal -o $udp_onboard_gimbal_port_remote

# To display for SIH sitl
if [ "$PX4_SIMULATOR" = "sihsim" ]; then
Expand Down

0 comments on commit e320593

Please sign in to comment.