5
0
mirror of https://github.com/ArduPilot/ardupilot synced 2025-01-06 16:08:28 -04:00

ArduSub: Updated comment

This commit is contained in:
Jeevan K 2023-06-19 06:49:18 +05:30 committed by Peter Barker
parent 7200cdf4dd
commit 078e1e0e89

View File

@ -97,7 +97,7 @@ void Sub::init_ardupilot()
#if HAL_MOUNT_ENABLED
// initialise camera mount
camera_mount.init();
// This step is necessary so that servo is properly initialized
// This step is necessary so that the servo is properly initialized
camera_mount.set_angle_target(0, 0, 0, false);
// for some reason the call to set_angle_targets changes the mode to mavlink targeting!
camera_mount.set_mode(MAV_MOUNT_MODE_RC_TARGETING);