Browse Source

Sub: Remove mode header

master
Jacob Walser 8 years ago committed by Andrew Tridgell
parent
commit
4112fd1316
  1. 2
      ArduSub/APM_Config.h
  2. 2
      ArduSub/APM_Config_mavlink_hil.h
  3. 2
      ArduSub/AP_State.cpp
  4. 2
      ArduSub/ArduSub.cpp
  5. 2
      ArduSub/Attitude.cpp
  6. 2
      ArduSub/GCS_Mavlink.cpp
  7. 2
      ArduSub/Log.cpp
  8. 2
      ArduSub/Parameters.cpp
  9. 2
      ArduSub/Parameters.h
  10. 2
      ArduSub/Sub.cpp
  11. 2
      ArduSub/Sub.h
  12. 2
      ArduSub/UserCode.cpp
  13. 2
      ArduSub/UserVariables.h
  14. 2
      ArduSub/arming_checks.cpp
  15. 2
      ArduSub/capabilities.cpp
  16. 2
      ArduSub/commands.cpp
  17. 2
      ArduSub/commands_logic.cpp
  18. 2
      ArduSub/compassmot.cpp
  19. 2
      ArduSub/config.h
  20. 1
      ArduSub/control_acro.cpp
  21. 1
      ArduSub/control_althold.cpp
  22. 2
      ArduSub/control_auto.cpp
  23. 2
      ArduSub/control_autotune.cpp
  24. 2
      ArduSub/control_circle.cpp
  25. 2
      ArduSub/control_guided.cpp
  26. 1
      ArduSub/control_manual.cpp
  27. 1
      ArduSub/control_poshold.cpp
  28. 2
      ArduSub/control_stabilize.cpp
  29. 1
      ArduSub/control_transect.cpp
  30. 1
      ArduSub/control_velhold.cpp
  31. 2
      ArduSub/crash_check.cpp
  32. 2
      ArduSub/defines.h
  33. 2
      ArduSub/ekf_check.cpp
  34. 2
      ArduSub/esc_calibration.cpp
  35. 2
      ArduSub/events.cpp
  36. 2
      ArduSub/failsafe.cpp
  37. 2
      ArduSub/fence.cpp
  38. 2
      ArduSub/flight_mode.cpp
  39. 2
      ArduSub/inertia.cpp
  40. 2
      ArduSub/joystick.cpp
  41. 2
      ArduSub/leds.cpp
  42. 2
      ArduSub/motor_test.cpp
  43. 2
      ArduSub/motors.cpp
  44. 2
      ArduSub/navigation.cpp
  45. 2
      ArduSub/perf_info.cpp
  46. 2
      ArduSub/position_vector.cpp
  47. 2
      ArduSub/radio.cpp
  48. 2
      ArduSub/sensors.cpp
  49. 2
      ArduSub/setup.cpp
  50. 1
      ArduSub/surface_bottom_detector.cpp
  51. 2
      ArduSub/switches.cpp
  52. 2
      ArduSub/system.cpp
  53. 2
      ArduSub/terrain.cpp
  54. 2
      ArduSub/test.cpp
  55. 1
      ArduSub/tuning.cpp
  56. 1
      ArduSub/turn_counter.cpp

2
ArduSub/APM_Config.h

@ -1,5 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
// User specific config file. Any items listed in config.h can be overridden here. // User specific config file. Any items listed in config.h can be overridden here.
// If you used to define your CONFIG_APM_HARDWARE setting here, it is no longer // If you used to define your CONFIG_APM_HARDWARE setting here, it is no longer

2
ArduSub/APM_Config_mavlink_hil.h

@ -1,5 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
// HIL_MODE SELECTION // HIL_MODE SELECTION
// //
// Mavlink supports // Mavlink supports

2
ArduSub/AP_State.cpp

@ -1,5 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#include "Sub.h" #include "Sub.h"
// set_home_state - update home state // set_home_state - update home state

2
ArduSub/ArduSub.cpp

@ -1,5 +1,3 @@
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
/* /*
This program is free software: you can redistribute it and/or modify This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by

2
ArduSub/Attitude.cpp

@ -1,5 +1,3 @@
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#include "Sub.h" #include "Sub.h"
// get_smoothing_gain - returns smoothing gain to be passed into attitude_control.input_euler_angle_roll_pitch_euler_rate_yaw // get_smoothing_gain - returns smoothing gain to be passed into attitude_control.input_euler_angle_roll_pitch_euler_rate_yaw

2
ArduSub/GCS_Mavlink.cpp

@ -1,5 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#include "Sub.h" #include "Sub.h"
#include "version.h" #include "version.h"

2
ArduSub/Log.cpp

@ -1,5 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#include "Sub.h" #include "Sub.h"
#include "version.h" #include "version.h"

2
ArduSub/Parameters.cpp

@ -1,5 +1,3 @@
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#include "Sub.h" #include "Sub.h"
/* /*

2
ArduSub/Parameters.h

@ -1,5 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#pragma once #pragma once
#include <AP_Common/AP_Common.h> #include <AP_Common/AP_Common.h>

2
ArduSub/Sub.cpp

@ -1,5 +1,3 @@
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
/* /*
This program is free software: you can redistribute it and/or modify This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by

2
ArduSub/Sub.h

@ -1,5 +1,3 @@
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
/* /*
This program is free software: you can redistribute it and/or modify This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by

2
ArduSub/UserCode.cpp

@ -1,5 +1,3 @@
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#include "Sub.h" #include "Sub.h"
#ifdef USERHOOK_INIT #ifdef USERHOOK_INIT

2
ArduSub/UserVariables.h

@ -1,5 +1,3 @@
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
// user defined variables // user defined variables
// example variables used in Wii camera testing - replace with your own // example variables used in Wii camera testing - replace with your own

2
ArduSub/arming_checks.cpp

@ -1,5 +1,3 @@
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#include "Sub.h" #include "Sub.h"
// performs pre-arm checks. expects to be called at 1hz. // performs pre-arm checks. expects to be called at 1hz.

2
ArduSub/capabilities.cpp

@ -1,5 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#include "Sub.h" #include "Sub.h"
void Sub::init_capabilities(void) void Sub::init_capabilities(void)

2
ArduSub/commands.cpp

@ -1,5 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#include "Sub.h" #include "Sub.h"
/* /*

2
ArduSub/commands_logic.cpp

@ -1,5 +1,3 @@
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#include "Sub.h" #include "Sub.h"
// start_command - this function will be called when the ap_mission lib wishes to start a new command // start_command - this function will be called when the ap_mission lib wishes to start a new command

2
ArduSub/compassmot.cpp

@ -1,5 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#include "Sub.h" #include "Sub.h"
/* /*

2
ArduSub/config.h

@ -1,5 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
//
#pragma once #pragma once
////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////

1
ArduSub/control_acro.cpp

@ -1,4 +1,3 @@
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#include "Sub.h" #include "Sub.h"

1
ArduSub/control_althold.cpp

@ -1,4 +1,3 @@
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#include "Sub.h" #include "Sub.h"

2
ArduSub/control_auto.cpp

@ -1,5 +1,3 @@
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#include "Sub.h" #include "Sub.h"
/* /*

2
ArduSub/control_autotune.cpp

@ -1,5 +1,3 @@
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#include "Sub.h" #include "Sub.h"
#if AUTOTUNE_ENABLED == ENABLED #if AUTOTUNE_ENABLED == ENABLED

2
ArduSub/control_circle.cpp

@ -1,5 +1,3 @@
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#include "Sub.h" #include "Sub.h"
/* /*

2
ArduSub/control_guided.cpp

@ -1,5 +1,3 @@
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#include "Sub.h" #include "Sub.h"
/* /*

1
ArduSub/control_manual.cpp

@ -1,4 +1,3 @@
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#include "Sub.h" #include "Sub.h"
// manual_init - initialise manual controller // manual_init - initialise manual controller

1
ArduSub/control_poshold.cpp

@ -1,4 +1,3 @@
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
// ArduSub position hold flight mode // ArduSub position hold flight mode
// GPS required // GPS required
// Jacob Walser August 2016 // Jacob Walser August 2016

2
ArduSub/control_stabilize.cpp

@ -1,5 +1,3 @@
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#include "Sub.h" #include "Sub.h"
// stabilize_init - initialise stabilize controller // stabilize_init - initialise stabilize controller

1
ArduSub/control_transect.cpp

@ -1,4 +1,3 @@
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
// ArduSub transect flight mode // ArduSub transect flight mode
// Sub follows a line according to current crosstrack error supplied by XTE NMEA sentence // Sub follows a line according to current crosstrack error supplied by XTE NMEA sentence
// Requires GPS providing crosstrack error // Requires GPS providing crosstrack error

1
ArduSub/control_velhold.cpp

@ -1,4 +1,3 @@
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
// ArduSub velocity hold flight mode // ArduSub velocity hold flight mode
// Pilot adjusts desired forward and lateral body-frame velocities // Pilot adjusts desired forward and lateral body-frame velocities
// Position controller maintains desired velocities // Position controller maintains desired velocities

2
ArduSub/crash_check.cpp

@ -1,5 +1,3 @@
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#include "Sub.h" #include "Sub.h"
// Code to detect a crash main ArduCopter code // Code to detect a crash main ArduCopter code

2
ArduSub/defines.h

@ -1,5 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#pragma once #pragma once
#include <AP_HAL/AP_HAL_Boards.h> #include <AP_HAL/AP_HAL_Boards.h>

2
ArduSub/ekf_check.cpp

@ -1,5 +1,3 @@
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#include "Sub.h" #include "Sub.h"
/** /**

2
ArduSub/esc_calibration.cpp

@ -1,5 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#include "Sub.h" #include "Sub.h"
/***************************************************************************** /*****************************************************************************

2
ArduSub/events.cpp

@ -1,5 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#include "Sub.h" #include "Sub.h"
void Sub::failsafe_battery_event(void) void Sub::failsafe_battery_event(void)

2
ArduSub/failsafe.cpp

@ -1,5 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#include "Sub.h" #include "Sub.h"
// //

2
ArduSub/fence.cpp

@ -1,5 +1,3 @@
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#include "Sub.h" #include "Sub.h"
// Code to integrate AC_Fence library with main ArduCopter code // Code to integrate AC_Fence library with main ArduCopter code

2
ArduSub/flight_mode.cpp

@ -1,5 +1,3 @@
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#include "Sub.h" #include "Sub.h"
/* /*

2
ArduSub/inertia.cpp

@ -1,5 +1,3 @@
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#include "Sub.h" #include "Sub.h"
// read_inertia - read inertia in from accelerometers // read_inertia - read inertia in from accelerometers

2
ArduSub/joystick.cpp

@ -1,5 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#include "Sub.h" #include "Sub.h"
// Functions that will handle joystick/gamepad input // Functions that will handle joystick/gamepad input

2
ArduSub/leds.cpp

@ -1,5 +1,3 @@
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#include "Sub.h" #include "Sub.h"

2
ArduSub/motor_test.cpp

@ -1,5 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#include "Sub.h" #include "Sub.h"
/* /*

2
ArduSub/motors.cpp

@ -1,5 +1,3 @@
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#include "Sub.h" #include "Sub.h"
#define ARM_DELAY 20 // called at 10hz so 2 seconds #define ARM_DELAY 20 // called at 10hz so 2 seconds

2
ArduSub/navigation.cpp

@ -1,5 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#include "Sub.h" #include "Sub.h"
// run_nav_updates - top level call for the autopilot // run_nav_updates - top level call for the autopilot

2
ArduSub/perf_info.cpp

@ -1,5 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#include "Sub.h" #include "Sub.h"
// //

2
ArduSub/position_vector.cpp

@ -1,5 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#include "Sub.h" #include "Sub.h"
// position_vector.pde related utility functions // position_vector.pde related utility functions

2
ArduSub/radio.cpp

@ -1,5 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#include "Sub.h" #include "Sub.h"

2
ArduSub/sensors.cpp

@ -1,5 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#include "Sub.h" #include "Sub.h"
void Sub::init_barometer(bool full_calibration) void Sub::init_barometer(bool full_calibration)

2
ArduSub/setup.cpp

@ -1,5 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#include "Sub.h" #include "Sub.h"
#if CLI_ENABLED == ENABLED #if CLI_ENABLED == ENABLED

1
ArduSub/surface_bottom_detector.cpp

@ -1,4 +1,3 @@
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
// Jacob Walser: jacob@bluerobotics.com // Jacob Walser: jacob@bluerobotics.com
#include "Sub.h" #include "Sub.h"

2
ArduSub/switches.cpp

@ -1,5 +1,3 @@
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#include "Sub.h" #include "Sub.h"
#define CONTROL_SWITCH_DEBOUNCE_TIME_MS 200 #define CONTROL_SWITCH_DEBOUNCE_TIME_MS 200

2
ArduSub/system.cpp

@ -1,5 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#include "Sub.h" #include "Sub.h"
#include "version.h" #include "version.h"

2
ArduSub/terrain.cpp

@ -1,5 +1,3 @@
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#include "Sub.h" #include "Sub.h"
// update terrain data // update terrain data

2
ArduSub/test.cpp

@ -1,5 +1,3 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#include "Sub.h" #include "Sub.h"
#if CLI_ENABLED == ENABLED #if CLI_ENABLED == ENABLED

1
ArduSub/tuning.cpp

@ -1,4 +1,3 @@
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#include "Sub.h" #include "Sub.h"
#if CH6_TUNE_ENABLED == ENABLED #if CH6_TUNE_ENABLED == ENABLED

1
ArduSub/turn_counter.cpp

@ -1,4 +1,3 @@
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
// Code by Rustom Jehangir: rusty@bluerobotics.com // Code by Rustom Jehangir: rusty@bluerobotics.com
#include "Sub.h" #include "Sub.h"

Loading…
Cancel
Save