From 7200cdf4dd5cdc05b6eabc5037a96217472f1bba Mon Sep 17 00:00:00 2001 From: Jeevan K Date: Sun, 18 Jun 2023 18:29:21 +0530 Subject: [PATCH] ArduSub: Comment Typo Fix --- ArduSub/surface_bottom_detector.cpp | 2 +- ArduSub/system.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ArduSub/surface_bottom_detector.cpp b/ArduSub/surface_bottom_detector.cpp index 4a1b4cd215..0338e77c99 100644 --- a/ArduSub/surface_bottom_detector.cpp +++ b/ArduSub/surface_bottom_detector.cpp @@ -7,7 +7,7 @@ static uint32_t bottom_detector_count = 0; static uint32_t surface_detector_count = 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 // ToDo: doesn't need to be called this fast void Sub::update_surface_and_bottom_detector() diff --git a/ArduSub/system.cpp b/ArduSub/system.cpp index 7ac209a87f..851532681e 100644 --- a/ArduSub/system.cpp +++ b/ArduSub/system.cpp @@ -97,7 +97,7 @@ void Sub::init_ardupilot() #if HAL_MOUNT_ENABLED // initialise camera mount 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); // for some reason the call to set_angle_targets changes the mode to mavlink targeting! camera_mount.set_mode(MAV_MOUNT_MODE_RC_TARGETING);