mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-18 06:38:29 -04:00
ArduSub: Comment Typo Fix
This commit is contained in:
parent
2eaad47bf8
commit
7200cdf4dd
@ -7,7 +7,7 @@ static uint32_t bottom_detector_count = 0;
|
|||||||
static uint32_t surface_detector_count = 0;
|
static uint32_t surface_detector_count = 0;
|
||||||
static float current_depth = 0;
|
static float current_depth = 0;
|
||||||
|
|
||||||
// checks if we have have hit bottom or surface and updates the ap.at_bottom and ap.at_surface flags
|
// checks if we have hit bottom or surface and updates the ap.at_bottom and ap.at_surface flags
|
||||||
// called at MAIN_LOOP_RATE
|
// called at MAIN_LOOP_RATE
|
||||||
// ToDo: doesn't need to be called this fast
|
// ToDo: doesn't need to be called this fast
|
||||||
void Sub::update_surface_and_bottom_detector()
|
void Sub::update_surface_and_bottom_detector()
|
||||||
|
@ -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 ncessary so the servo is properly initialized
|
// This step is necessary so that 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
Block a user