mirror of https://github.com/ArduPilot/ardupilot
ArduSub: Updated comment
This commit is contained in:
parent
7200cdf4dd
commit
078e1e0e89
|
@ -97,7 +97,7 @@ void Sub::init_ardupilot()
|
||||||
#if HAL_MOUNT_ENABLED
|
#if HAL_MOUNT_ENABLED
|
||||||
// initialise camera mount
|
// initialise camera mount
|
||||||
camera_mount.init();
|
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);
|
camera_mount.set_angle_target(0, 0, 0, false);
|
||||||
// for some reason the call to set_angle_targets changes the mode to mavlink targeting!
|
// for some reason the call to set_angle_targets changes the mode to mavlink targeting!
|
||||||
camera_mount.set_mode(MAV_MOUNT_MODE_RC_TARGETING);
|
camera_mount.set_mode(MAV_MOUNT_MODE_RC_TARGETING);
|
||||||
|
|
Loading…
Reference in New Issue