Commit Graph

1237 Commits

Author SHA1 Message Date
Andrew Tridgell 18dd373ff5 Sub: use cleaned up APIs 2021-06-24 20:28:45 +10:00
Peter Barker 6f81c250be ArduSub: remove optical flow pointer from AP_AHRS
Nothing was ever using it.
2021-05-30 10:44:42 +10:00
Peter Barker 26d1e34c19 ArduSub: remove pointless init_optflow wrapper
Hiding a one-line call in a wrapper just adds size to the build
2021-05-28 13:41:50 +09:00
Randy Mackay 05d74ba50d Sub: call AC_PosControl::write_log in modes with only vertical control like AltHold 2021-05-26 18:58:31 +10:00
Hwurzburg 8a6c09c39a ArduSub: make centideg metadata incr and range consistent 2021-05-25 10:10:18 +10:00
Leonard Hall 4c3a5c0918 Sub: Fix before squash 2021-05-24 20:13:37 +10:00
Leonard Hall 266bd22df3 Sub: Use PosControl fixes 2021-05-24 20:13:37 +10:00
Leonard Hall 74d22594db Sub: integrate AC_PosControl::get_roll_cd rename 2021-05-12 17:16:00 +10:00
Josh Henderson 7e5ac5b648 ArduSub: Privatize AP_IntertialSensor Logging 2021-04-29 19:19:12 +10:00
Peter Barker cb7ac6fb54 ArduSub: tidy setting of sensor status flags 2021-04-14 18:03:27 +10:00
Peter Barker 2e23822b27 ArduSub: move handling of last-seen-SYSID_MYGCS up to GCS base class 2021-04-07 17:54:21 +10:00
Randy Mackay 224cd5a0d3 Sub: auto-yaw-correct-xtract uses target velocity instead of position error
Co-authored-by: Leonard Hall <leonardthall@gmail.com>
2021-04-03 12:07:59 +09:00
Randy Mackay afa59b9a60 Sub: integrate s-curves, remove spline support 2021-04-03 12:07:59 +09:00
Josh Henderson f7b39b19f0 ArduSub: make Location(Vector3f) require ALTFRAME 2021-03-30 08:56:35 +09:00
Randy Mackay dbecf363f3 Sub: HAL_PROXIMITY_ENABLED replaces PROXIMITY_ENABLED 2021-03-26 16:22:46 +09:00
Peter Barker 34d6094838 ArduSub: remove Log_Write_Performance which is not called anywhere 2021-03-26 16:35:08 +11:00
Siddharth Purohit f95fe1d464 ArduSub: move underscore one layer down for GPS 2021-03-12 16:32:36 +09:00
Tom Pittenger 5b684e5e2b Sub: change SRx_ docs value 1 50 2021-03-03 18:17:22 +11:00
Peter Barker 840bdbba62 Sub: show frame class as part of banner
Similar to how Copter does in its equivalent method.

frame type is not used on Sub ATM
2021-02-12 08:37:20 +09:00
Willian Galvani e448910ff0 Sub: don't override default RNGFND1_TYPE
This is causing side-effects in QGC 4.1, as it reports the Range-
finder to be in bad health, which causes qgc to show "not ready to
fly" instead of "ready to fly" which might confuse users
2021-02-11 10:43:50 -08:00
Peter Barker 82edfc6237 Sub: remove unused prev_control_mode_reason 2021-02-03 19:22:25 +11:00
Patrick José Pereira 678cbdfb4f ArduSub: Add missing const in member functions
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-02-03 18:45:14 +11:00
Peter Barker 2b890eda53 ArduSub: move control_mode_reason up to AP_Vehicle 2021-02-03 18:24:52 +11:00
Randy Mackay e7c2eb1705 Sub: ahrs pre-arm skips position checks 2021-01-26 10:46:49 +11:00
Peter Barker f6f19eeeb2 ArduSub: add do_disarm_checks boolean to disarm call
this creates symmetry between arming and disarming, at least as far as
the top-level arm() and disarm() calls are concerned.
2021-01-12 08:48:44 +09:00
Josh Henderson aaa1341b75 ArduSub: privatize AHRS logging 2021-01-12 10:13:22 +11:00
Tom Pittenger d45ff51bd1 Sub: extend Stream rates param count to match MAVLINK_COMM_NUM_BUFFER 2020-12-29 07:52:09 -07:00
yaapu 2e69ba1091 ArduSub: added virtual getters for waypoint info 2020-12-10 12:39:44 +11:00
Andrew Tridgell cd2f2f96eb rename barometer parameters to BARO prefix 2020-12-08 13:22:17 +11:00
Andrew Tridgell aca46c177d ArduSub: moved init_safety to AP_Vehicle 2020-12-08 11:14:24 +11:00
Peter Barker 1c19a228ac Sub: nail GND_EXT_BUS down to bus 1 on Pixhawk1 2020-12-04 16:37:10 +11:00
Peter Barker 6e5e73ef2c Sub: initialise celsius library on configured (barometer) external bus 2020-12-04 16:37:10 +11:00
Peter Barker 64e1784cb7 Sub: use set_default_by_name for GND_EXT_BUS 2020-12-04 16:37:10 +11:00
Randy Mackay a8f4ab3d43 Sub: guided pos hold init loses redundant set-auto-yaw-mode
also use wpnav's 3d stopping point method
2020-11-27 10:52:17 +09:00
Jacob Walser c2e3520add Sub: update release notes for 4.0.2 2020-11-23 12:41:39 -05:00
Willian Galvani 4415d4ed56 Sub: update release notes for 4.0.1 2020-11-23 12:41:30 -05:00
Iampete1 d197ec4072 Sub: add airspeed sensors 2020-10-27 11:24:49 +11:00
Randy Mackay 4bf4872504 Sub: integrate ahrs::get_variances change
offset is no longer returned
2020-10-21 08:58:45 +09:00
Randy Mackay facc0ea8bb Sub: integrate ahrs.pre_arm_check 2020-10-07 11:53:07 +11:00
Peter Barker 1ea3ca768c Sub: correct compilation when logging disabled 2020-10-06 11:25:09 +11:00
Peter Barker 13e5e03a0d ArduSub: move orderly rebooting code from GCS into AP_Vehicle
Several places we reboot the vehicle we should probably do several of
the things done in this code - flushing parameters, forcing safety on
etc.
2020-09-29 18:07:59 +10:00
Peter Barker d37624ccd6 Sub: remove stale MAGNETOMETER config option from config files
This isn't used in the code any more
2020-09-29 11:17:08 +10:00
Patrick José Pereira 6a63eb65cc ArduSub: Use new AP_FWVersionDefine header
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2020-09-23 20:58:35 +10:00
Jacob Walser 6b0d146d92 Sub: Version to 4.2.0 DEV 2020-09-22 14:41:58 +01:00
Tatsuya Yamaguchi f9b7020ac3 Sub: replace message indicating that initialisation has completed 2020-09-22 09:52:52 +10:00
Andy Piper ebef358922 Sub: conditionally compile ADSB support 2020-09-22 09:33:51 +10:00
Peter Barker 3b5bd9956d Sub: remove dangling method declaration 2020-08-29 09:55:38 +09:00
Siddharth Purohit 5318175f70 Sub: move to using CANManager library 2020-08-19 17:31:09 +10:00
Willian Galvani 385f440d90 Sub: update control_poshold to use AC_PosControlSub 2020-08-03 20:19:28 -07:00
Willian Galvani 7fa8a455d7 Sub: refactor depth control of control_althold to a function 2020-08-03 20:19:28 -07:00
Andy Piper 07df203d19 Sub: make mount/gimbal inclusion configurable per-board 2020-08-04 09:18:14 +10:00
Dr.-Ing. Amilcar do Carmo Lucas 664b181d16 ArduSub: Adapt to upstream mavlink changes to the SCALED_PRESSURE* messages 2020-07-29 14:34:22 +10:00
Mirko Denecke 1db0feea59 ArduSub: update_trigger() is now called in AP_Camera update() 2020-07-15 08:37:28 +09:00
Andy Piper 5bedf44734 Sub: log harmonic notch even if FFT is disabled 2020-06-21 19:09:35 +10:00
Andy Piper 94235c5739 Sub: make sure AP_Vehicle::fast_loop() gets called 2020-05-24 07:43:34 +10:00
Peter Barker 2c16810493 ArduSub: create and use INTERNAL_ERROR macro so we get line numbers 2020-04-30 13:21:36 +10:00
Randy Mackay 137077c47b Sub: remove unnecessary EKF includes 2020-04-28 09:38:23 +09:00
Randy Mackay 36b551b75b Sub: use ahrs set-alt-measurement-noise instead of direct calls to EKF 2020-04-28 09:38:23 +09:00
Rishabh c1d5f0441c Sub: LogMessage Documentation 2020-04-24 08:24:59 +09:00
Randy Mackay b73d8b32de Sub: do not send ahrs3 mavlink message 2020-04-22 14:11:17 +09:00
Randy Mackay 6d05ed1eb3 Sub: loiter-turn obeys wpnav-rfnd-use 2020-04-16 17:30:29 +09:00
Randy Mackay 0ab4a184d4 Sub: support circle with terrain altitude 2020-04-16 17:30:29 +09:00
Peter Barker 33f00c0051 ArduSub: remove comment for already-removed in-delay-callback function
These are now attached to completely unrelated functions, which is
pretty bad.
2020-04-16 15:11:35 +09:00
Randy Mackay ac3f99d8dd Sub: add support for visual odometry 2020-04-09 19:41:08 +09:00
Rishabh 08d9553a0f Sub: Logger documentation TimeUS and typo fix 2020-04-07 18:57:01 +10:00
Peter Barker 2b18b0f480 Sub: add D16, D32, DFLT, DU16 and DU32 LogMessage documentation 2020-04-07 10:41:22 +10:00
Willian Galvani 824816ddcb Sub: send messages to GCS when toggling roll/pitch control 2020-03-30 11:19:45 -07:00
Willian Galvani ba415c99fe Sub: send Roll/Pitch Toggle flag 2020-03-30 11:19:45 -07:00
Peter Barker eda1dc2914 Sub: add CTUN log information 2020-03-21 09:34:43 +11:00
Peter Barker 18ddfbdd6e ArduSub: move AP_PARM_KEY_DUMP function up to AP_Vehicle base class
Common to all vehicles now, including Tracker
2020-03-10 11:00:14 +11:00
Peter Barker e5858555de ArduSub: move initialisation of serial and gcs to AP_Vehicle 2020-02-25 11:50:55 +11:00
Peter Barker 4d0c61970d ArduSub: log disarm method 2020-02-22 12:16:29 +11:00
Andy Piper 83b1c3a0bd ArduSub: add gyro fft logging 2020-02-22 11:15:37 +11:00
Rishabh 075ef40d95 Sub: Rename SYSID_SW_MREV to FORMAT_VERSION 2020-02-19 09:45:22 +09:00
murata f64a0a9df9 Sub: Match the column of element description 2020-02-19 09:44:57 +09:00
Peter Barker 8292e9d4a5 ArduSub: remove unused compass_init_location state 2020-02-18 10:35:49 +11:00
Peter Barker 7658c13c69 Sub: let AP_Vehicle handle loop() 2020-02-06 14:41:06 +11:00
Patrick José Pereira 885ebc41e3 Sub: Ignore MOT_THST_HOVER parameter
We should ignore this parameter since ROVs are neutral buoyancy

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2020-02-05 09:01:33 -05:00
Peter Barker e7e1cdcc45 ArduSub: move some common init_ardupilot code up to AP_Vehicle 2020-01-28 11:34:51 +11:00
Peter Barker 87b84ec196 Sub: move setup method up to AP_Vehicle base class 2020-01-28 11:34:51 +11:00
Peter Barker 6092a415a5 Sub: allow NavEKFs to be compiled out 2020-01-21 11:53:18 +11:00
Peter Barker 4ecb602def Sub: EKF objects have moved into AP_AHRS_NavEKF 2020-01-21 11:53:18 +11:00
Peter Barker e97582add0 Sub: let AP_Vehicle base class worry about scheduler delay callback 2020-01-21 11:37:28 +11:00
Peter Hall 89241d25fd Sub: set_likely_flying in vehicle 2020-01-14 22:34:37 -07:00
Andrew Tridgell 4a688e59b2 Sub: update for new SRV_Channels parameter conversion call 2020-01-14 14:23:11 +11:00
Peter Barker 354e44a51e ArduSub: move logging of armed/disarm events into AP_Arming base class 2020-01-14 11:39:36 +11:00
Tatsuya Yamaguchi 1c07609f47 Sub: allow scripts to get modes 2020-01-14 11:16:29 +11:00
Peter Barker a37df08277 Sub: correct unused expression compilation failure 2020-01-14 11:12:14 +11:00
Andrew Tridgell 5c342c3dab Sub: removed init_vehicle from separate vehicles
use common call from AP_BoardConfig
2019-12-30 13:02:04 +11:00
Andy Piper 1bd6adec23 Sub: create generic vehicle management and move runcam to it
add OSD and RCMapper to build
2019-12-30 13:02:04 +11:00
Peter Barker 12cccac361 Sub: let GCS base class handle proximity and rangefinder messages 2019-12-24 12:08:54 +11:00
Andrew Tridgell f42c4e9ce1 Sub: fixed range check for RC channel 2019-12-20 10:55:14 +11:00
Randy Mackay b1ccf5b9d5 Sub: remove unused TERRAIN_FOLLOW parameter 2019-12-17 20:02:01 +09:00
Peter Barker 526adee814 Sub: move setting of GPS SYS_STATUS bits up to base class 2019-12-05 13:02:19 +11:00
Willian Galvani acfe02dbf0 Sub: set cam mount to 0,0,0 and RC mode after initialization 2019-12-03 10:59:46 -05:00
Willian Galvani c509b1caa2 Sub: Accept position_target_global_int for depth control in ALT_HOLD 2019-12-03 10:57:47 -05:00
Willian Galvani 2e9bd43c49 Sub: rate-limit init_motor_test() calls 2019-12-03 10:50:38 -05:00
Willian Galvani 741c467f03 Sub: do not initialize rc channels 6 and higher 2019-12-03 13:13:28 +08:00
Randy Mackay 952517cb40 Sub: scripting init sends failure message 2019-12-03 12:48:32 +08:00
Peter Barker d5b970bd18 Sub: vehicle parent class now instantiates AHRS 2019-12-02 09:16:22 +11:00
Peter Barker 38a0fe4564 Sub: rename system_status as it won't be called from base class 2019-11-27 14:27:53 +11:00
Jacob Walser 95124eb73e Sub: version to 4.1.0dev 2019-11-25 22:28:45 -05:00
Marian Soban 3892c90d1f Sub: add stubs to avoid linking LTM telemetry 2019-11-26 12:14:13 +11:00
Peter Barker 5ebf27ac61 Sub: rename parameter to avoid name conflict with lock 2019-11-12 16:33:12 +11:00
Peter Barker 7e81aa8f64 Sub: add methods to avoid linking AP_Avoidance 2019-11-12 13:48:09 +11:00
Peter Barker 5a28aa9c1b Sub: move dummy methods into system.cpp 2019-11-12 13:48:09 +11:00
Peter Barker dee1cfadfd Sub: adjust for renaming of RangeFinder files 2019-11-12 07:14:37 +08:00
Peter Barker b3f1fdf182 Sub: use enum-class for RangeFinder Status 2019-11-09 08:01:53 +11:00
Peter Barker db36ef3433 Sub: use enum-class for RangeFinder type 2019-11-09 08:01:53 +11:00
Patrick José Pereira 2fae0cf5c0 Sub: Remove unnecessary includes
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2019-11-06 09:40:23 -08:00
Peter Barker e1686db7bf Sub: correct compilation when avoidance enabled 2019-11-06 16:36:35 +11:00
Peter Barker 20f904ce66 Sub: correct compilation with fence disabled 2019-11-06 16:36:35 +11:00
Peter Barker 9f719ec02e Sub: stop providing current location to mount 2019-11-05 19:55:45 +11:00
Peter Barker 795afdd259 Sub: let GCS superclass specify param float capabilitiy 2019-11-05 11:26:23 +11:00
Peter Barker 3819366a9e Sub: cope with change in namespace of LogEvent enum
Also eliminate the Log_Write_Event wrappers
2019-11-05 08:19:26 +08:00
Andrew Tridgell d307cf7d21 ArduSub: moved AC_PID dependency to core 2019-11-02 16:31:04 +11:00
Michael du Breuil 3f94f0d517 Sub: Support new AP_Vehicle::set_mode 2019-10-25 08:48:22 +08:00
Peter Barker 3cd66dbdd9 Sub: use ahrs singleton to log ATT, POS and AHRS2 2019-10-24 13:15:46 +11:00
Randy Mackay 35b993b220 Sub: minor comment change 2019-10-22 07:15:48 +08:00
Peter Barker c0052a5e71 Sub: move many members up to base class 2019-10-08 11:26:04 +11:00
Peter Barker 347c247ad0 Sub: become an AP_Vehicle 2019-10-08 11:26:04 +11:00
Peter Barker 739bc486fa Sub: remove bogus ARMING_CHECK_NONE 'bitmask value' 2019-10-08 10:31:07 +11:00
Peter Barker 3ef94a69ad Sub: call periodic fence update function 2019-09-28 07:58:48 +09:00
Peter Barker 6891225438 Sub: initialise AC_Fence library 2019-09-28 07:58:48 +09:00
Willian Galvani 9c6a63b55b sub: fixup joystick changes according to review
https://github.com/ArduPilot/ardupilot/pull/11861
2019-09-27 13:20:20 -07:00
Justin ee65aa2993 joystick: addressed issue9801. Upon engaging input hold, the controller will not read new directional inputs until input hold is disabled or the conrols are returned to their neutral position. 2019-09-27 13:20:20 -07:00
Willian Galvani adcf0d398d Sub: update calibration if reading is above water level 2019-09-27 13:17:10 -07:00
Willian Galvani 0c5753112a AP_TemperatureSensor: Update TSYS01 for Pixhawk2 2019-09-27 13:08:26 -07:00
Willian Galvani 2b0773c18b Sub: Create MOTOR_DETECT mode
This mode attempts to detect the direction of all motors and adjust parameters appropriately.
2019-09-26 09:39:50 -07:00
Peter Barker 5e6b6ee0e0 Sub: remove stale enum entries for log message types 2019-09-18 15:02:57 +10:00
Peter Barker d32a7b3a29 Sub: wrap_180_cd no longer returns floats for integer arguments 2019-09-18 12:57:02 +10:00
Peter Barker 5692f3d79e AP_Math: stop returning float for integer wrap_180/wrap_360 etc 2019-09-18 12:57:02 +10:00
Willian Galvani f86a712a14 Sub: default RNGFNDR1_TYPE to mavlink 2019-09-17 07:06:06 -07:00
Peter Barker 6deac0fa42 Sub: implement dummy afs singleton getting to avoid linking AFS 2019-09-17 09:13:43 +10:00
Willian Galvani 0e4366d540 Sub: improve motor test message 2019-09-16 13:56:32 -07:00
Willian Galvani db6beb913d Sub: force cam pan and tilt inputs to channels 7 and 8 2019-09-16 13:31:32 -07:00
Peter Barker 4ef64261a1 Sub: mount uses AP_SerialManager singleton 2019-08-28 06:55:28 +10:00
Peter Barker c5333c2765 Sub: fix format-string compilation warning
../../ArduSub/commands_logic.cpp: In member function 'void Sub::do_nav_delay(const AP_Mission::Mission_Command&)':
../../ArduSub/commands_logic.cpp:485:84: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=]
     gcs().send_text(MAV_SEVERITY_INFO, "Delaying %u sec",nav_delay_time_max_ms/1000);
                                                                                    ^
2019-08-27 09:41:58 +10:00
Michael du Breuil 48f52655c1 Sub: Remove APM_Config.h 2019-08-21 22:16:49 -06:00
Peter Barker 4e002b84c5 Sub: correct compilation when terrain is enabled 2019-08-21 22:05:36 +01:00
Tom Pittenger 018e766a3f Sub: NAV_Delay variable timers to be all unsigned and labeled as _ms 2019-08-19 15:24:06 -07:00
Peter Barker 45af50f8bd Sub: avoid allocate a GCS_MAVLINK per mavlink channel 2019-08-14 18:25:43 +10:00
Peter Barker 03e6065380 Sub: move automatic declination setting into AP_Compass itself 2019-08-13 10:02:13 +10:00
Peter Barker 6347febc9a Sub: pass format string through to check_failed 2019-08-05 14:18:05 +10:00
Peter Barker 157da70cf7 Sub: fix compiler warnings on has_disarm_function 2019-08-02 08:23:57 +10:00
Peter Barker 68edf6351d Sub: tighten type on mavlink_coordinate_frame_to_location_alt_frame 2019-08-01 17:45:30 +10:00
Michael du Breuil c37398f6ff Sub: Convert ARMING_CHECK 2019-07-30 10:42:16 +10:00
Michael du Breuil ce6fb75e52 Sub: Add keydump feature 2019-07-30 10:42:16 +10:00
Leonard Hall ad4b6fdeae Sub: param conversion for attitude control FF and FILT 2019-07-25 17:38:15 +09:00
Leonard Hall 157f786adf Global: rename desired to target in PID info 2019-07-25 17:38:15 +09:00
Justin f3634450d7 Sub: Enforce configuration of a disarm button 2019-07-17 12:44:41 -04:00
Pierre Kancir 147a678569 ArduSub: pass mavlink_message_t by const reference 2019-07-16 20:51:42 +10:00
Peter Barker 1f4a1cef70 Sub: correct LOIT parameter documentation prefix
Closes #11769
2019-07-16 16:15:39 +10:00
Michael du Breuil bbcb976e73 Sub: Reduce dependency on inertial nav 2019-07-16 12:11:42 +09:00
Peter Barker 11c5d7cfca Sub: RangeFinder uses AP_SerialManager singleton 2019-07-16 09:29:48 +10:00
Justin 3dfaa5f021 Sub: Changed the MAV_SEVERITY of the motor test timed out message to INFO so that it wont be read out loud everytime the user ends the motor test 2019-07-10 12:19:27 -04:00
Peter Barker 0af3ecca70 Sub: split RC_CHANNELS messages onto separate ap_message ids 2019-07-09 13:08:45 +10:00
Peter Barker 9afb334f0c Sub: stop passing relay and ahrs into camera constructor 2019-07-09 09:32:39 +10:00
Peter Barker b6efd0bea1 Sub: EKF logging moved into EKF from logger 2019-07-06 19:05:51 +10:00
Peter Barker 5444903504 Sub: ServoRelayEvents uses Relay singleton 2019-07-03 23:59:24 -07:00
Peter Barker bd2516bc89 Sub: add sanity check when fetching GCS_MAVLink instance 2019-06-27 07:54:45 +10:00
Michael du Breuil e22bda2527 Sub: Send a heartbeat on mode change 2019-06-26 12:58:18 -07:00
Peter Barker 973222c786 Sub: allow GCS MAVLink base class to handle out-of-time for sending messages 2019-06-25 10:29:40 +10:00
Peter Barker f67fd4e08c Sub: remove pointless protocol parameter to setup_uart 2019-06-25 09:47:08 +10:00
Peter Barker 1de6fed20e Sub: stop pointlessly passing serial manager around 2019-06-25 09:47:08 +10:00
Michael du Breuil ba65b163f7 Sub: Remove wrapper around MAVLink send heartbeat 2019-06-18 13:59:52 +01:00
Michael du Breuil b2743a0eb6 Sub: Enable scripting parameters 2019-06-18 00:06:32 -07:00
Peter Barker 80652dffd0 Sub: set os_sw_version to date fw was compiled
Also avoids non-trivial-designator compilation error
2019-06-18 10:54:01 +10:00
Peter Barker de5ace24fd Sub: remove duplicate EV log message definition 2019-06-12 10:05:59 +10:00
Peter Barker 4c4d37bd86 Sub: stop setting AC_Avoid in AC_WPNav; it uses singleton now 2019-06-06 11:47:22 +10:00
Willian Galvani 4b16271b3d Sub: Remove rangefinder support of control loops
The rangefinder handling doesn't handle sonar glitches like
locking on to reflections very well. We will remove the
rangefinder as an input to the controllers until we can do a
more robust implementation.
2019-06-05 11:54:45 -04:00
Peter Barker b25acb4d22 Sub: move Arming functions into AP_Arming file 2019-05-30 16:02:10 +09:00
Peter Barker 8566a17a1d Sub: move arming-related functionality into parent classes
Logging moves up
arming via mavlink moves up
arming via switch moves up

arming switch may be forced off using BRD parameter
2019-05-30 07:37:30 +09:00
Peter Barker 6774bab363 Sub: stop passing references to AC_Avoid constructor 2019-05-22 07:48:02 -06:00
Tom Pittenger 5519527874 Sub: move heartbeat sending to gcs instead of by vehicles 2019-05-14 10:54:45 -06:00
Peter Barker aae9dc55e3 Sub: move responsibility for logging into library 2019-04-23 10:06:17 +10:00
Peter Barker c6a9130d84 Sub: call compass cal routine directly from sched table 2019-04-23 10:06:17 +10:00
Peter Barker f66f36287e Sub: move setting of compass sys_status bits up 2019-04-16 09:48:23 +10:00
Peter Barker cb88bc7f53 Sub: adjust for desired spool state renames 2019-04-14 12:18:03 +09:00
Michael du Breuil 75e5efc16e Sub: Check all EKF cores are healthy before arming 2019-04-09 10:53:25 +10:00
Pierre Kancir 8425a58585 ArduSub: move check_latlng to Location 2019-04-08 12:56:01 -07:00
Jacob Walser 3c58fba030 sub: version to 3.7.0-dev 2019-04-08 15:07:29 -04:00
Leonard Hall d8d3522cba Sub: replace set_throttle_out_unstabilized 2019-04-08 09:42:21 +09:00
Michael du Breuil 698e4e440e Sub: Fix rangefinder init 2019-04-06 09:15:22 +11:00
Jacob Walser 5ac19bc5a3 sub: update release notes for 3.5.4 2019-04-05 11:56:37 -04:00
Michael du Breuil 3017a762f0 Sub: include FWversion 2019-04-05 20:12:53 +11:00
Peter Barker 8b34852147 Sub: add param conversion from MAG_ENABLE to COMPASS_ENABLED 2019-04-02 10:24:49 +11:00
Peter Barker b1c4a5ade7 Sub: move enabled parameter into compass library 2019-04-02 10:24:49 +11:00
Tom Pittenger 2dc766556d Sub: rename dataflash to logger 2019-03-28 16:40:57 +11:00
Peter Barker e3561f7204 Sub: add log entry if depth sensor failure is resolved 2019-03-27 12:02:53 -04:00
Peter Barker 706a75ad03 Sub: move Log_Write_Error into library 2019-03-27 12:36:40 +11:00
Patrick José Pereira d2052cdd35 Sub: Use new reset_i in relax_alt_hold_controllers
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2019-03-26 13:37:18 -04:00
Patrick José Pereira 33768cd79c Sub: Fix overshoot from joystick input
This approach waits for a zero derivative point and to set the new actual position
Such method is necessary since the inertia of the ROV underwater is bigger than aerial vehicles
resulting in a big overshoot

Fix #9797

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2019-03-26 13:37:18 -04:00
Peter Barker 173611e819 Sub: move various sensor status flag updates up 2019-03-26 11:03:21 +11:00
Jacob Walser ad67511f46 Sub: bugfix fail condition in motor test initialization 2019-03-25 09:00:26 +11:00
Peter Barker 513a635ff7 Sub: remove definition of Devo constructor 2019-03-23 11:25:21 +11:00
Peter Barker b3f76e39ec Sub: move command-long DO_SET_HOME up 2019-03-19 19:56:13 +11:00
Peter Barker f4cafe4ffa Sub: add dummy methods to avoid linking DevoTelem 2019-03-19 14:39:14 +11:00
Peter Barker fabf0a10d5 Sub: move vehicle_initialised to be on GCS not GCS_MAVLink 2019-03-19 14:39:14 +11:00
Peter Barker 1ce531b921 Sub: move base_mode and frame_type into GCS from GCS_MAVLink 2019-03-19 14:39:14 +11:00
Peter Barker 5b618fb582 Sub: fill Notify flag for flying 2019-03-19 14:39:14 +11:00
Peter Barker eb7cf9843e Sub: use enum class for AltFrame enumeration 2019-03-19 10:31:18 +11:00
Peter Barker b1c789f73d Sub: move sending of RPM message up 2019-03-16 10:33:01 +09:00
Peter Barker 069a2d0e35 Sub: compass init never fails 2019-03-13 13:06:50 +11:00
Peter Barker c48042424b Sub: use enum class for ArmingMethod and ArmingRequired 2019-03-12 19:48:14 +11:00
Peter Barker d7735a316a Sub: remove unused calculation of longitude scale 2019-03-12 10:11:12 +11:00
Peter Barker b04d084a50 Sub: move sending of send_pid_tuning up 2019-03-05 10:41:56 +11:00
Michael du Breuil e8401671e3 Sub: Allow scripting to run 2019-03-05 08:45:54 +11:00
Dr.-Ing. Amilcar do Carmo Lucas 3fd5e05601 Sub: replace location_offset() and get_distance() function calls with Location object member function calls
This allows removing duplicated code
2019-02-28 11:44:09 +11:00
Peter Barker 97792d1774 Sub: AHRS set_orientation renamed to update_orientation 2019-02-26 10:28:09 +11:00
Peter Barker 285fe4c79c Sub: explicitly type constant
This makes clang happier
2019-02-20 19:23:54 +11:00
Peter Barker 1ce80e1f17 Sub: remove stale STREAM_RAW_CONTROLLER_msgs variable 2019-02-20 19:23:54 +11:00
Peter Barker e75dccfc71 Sub: Rally no longer takes ahrs in constructor 2019-02-20 18:03:38 +11:00
Peter Barker 57e8528a96 Sub: move update_sensor_flags to GCS_Sub.cpp 2019-02-20 11:57:00 +11:00
Peter Barker cb95bf7814 Sub: move update_sensor_status_flags into GCS subclasses 2019-02-19 14:09:59 +11:00
Peter Barker bb706305d0 Sub: move sensor flags to be a GCS thing rather than a GCS_MAVLINK thing 2019-02-19 14:09:59 +11:00
Peter Barker 7b80f56a80 Sub: GCS_MAVLink takes care of mavlink capabilities 2019-02-19 13:14:52 +11:00
Peter Barker 57e5991fde Sub: move try_send_message of nav_controller_output up 2019-02-19 10:08:00 +11:00
Peter Barker db362eaa13 Sub: remove redundant home-setting sanity checks 2019-02-15 08:28:45 +11:00
Peter Barker 8937ef3190 Sub: make setting of home boolean in preparation for sanity checks 2019-02-15 08:28:45 +11:00
Peter Barker dc0ad11f7a Sub: use altitude frame mapping function
Remove checking for coordinate frames

This is very much NFC.  This change uncovers previous dead code in the
case that we are not ignoring yaw.
2019-02-13 10:06:49 +11:00
Peter Barker 44b7763caf Sub: move handling of command-int MAV_CMD_DO_SET_HOME up 2019-02-13 09:42:26 +11:00
Peter Barker 0c8f0377ca Sub: move handling of fence point handling up 2019-02-08 11:47:59 +09:00
Peter Barker 5002fa2081 Sub: move handling of MAV_CMD_DO_SET_FENCE_ENABLED up 2019-02-08 11:47:59 +09:00
Peter Barker 17e4981785 Sub: move handling of RC_CHANNELS_OVERRIDE up 2019-02-05 13:59:21 +11:00
Peter Barker fc19ce03b6 Sub: move sending of sys_status message up 2019-02-05 11:07:39 +11:00
Peter Barker 1690f78f4c Sub: move handling Write_Event into AP_Logger 2019-02-04 09:30:07 +09:00
Peter Barker 3521d98b52 Copter: move handling Write_Event into AP_Logger 2019-02-04 09:30:07 +09:00
Randy Mackay aa7743e991 Sub: integrate AC_WPNav::get_speed rename to get_default_speed 2019-01-31 19:34:32 +09:00
Peter Barker 66624c46a6 Sub: AC_Fence is included for all vehicles 2019-01-31 13:44:29 +09:00
Peter Barker 05c9ded9fc Sub: move sending of fence_status message up 2019-01-31 13:44:29 +09:00
Peter Barker 79eb0ac75f Sub: fence no longer takes reference to ahrs in constructor 2019-01-31 11:25:38 +09:00
Peter Barker 6fc76a32af GLOBAL: use AP::logger() and strip redundant Log_ from methods 2019-01-18 18:08:20 +11:00
Peter Barker b47733142f GLOBAL: rename DataFlash_Class to AP_Logger 2019-01-18 18:08:20 +11:00
Francisco Ferreira 8850ab73a6
Sub: add KDECAN to included libraries 2019-01-18 00:57:33 +00:00
Peter Barker 9783bf730f Sub: log_terrain_data no longer takes a DataFlash argument 2019-01-18 11:17:40 +11:00
Peter Barker 696c8e3fb9 Sub: Log_Write_SIMSTATE no longer takes dataflash pointer 2019-01-18 11:16:54 +11:00
Peter Barker 9e8d2d7f7d Sub: remove PX4 FWVersion info 2019-01-16 11:47:55 +11:00
Peter Barker d8e90ded90 Sub: adjust for Location_Class and Location unification 2019-01-16 11:45:29 +11:00
Peter Barker b4c65dde92 Sub: adjust for Location_Class and Location unification 2019-01-16 11:45:29 +11:00
Peter Barker d92f34c3d0 Sub: adjust for location flags being moved out of union 2019-01-16 11:45:29 +11:00
Randy Mackay 8ba87171e6 Sub: desired-ground-idle replaces spin-when-armed 2019-01-15 11:41:44 +09:00
Pierre Kancir 2c895599e1 Sub: correct rc_checks_copter_sub call 2019-01-11 08:38:53 +09:00
Peter Barker 23ab90c596 Sub: Terrain uses rally singleton 2019-01-09 10:14:16 +11:00
Randy Mackay 8830e8d4e5 Sub: remove unused error code 2019-01-08 19:42:32 +09:00
Michael du Breuil b4c5041aad Sub: Remove unneeded GCS rally override 2019-01-08 10:39:50 +11:00
Michael du Breuil 58895b5a82 Sub: Reset all storage when format version is incorrect 2019-01-08 10:35:37 +11:00
murata 90f2f38fb2 Sub: Delete NuttX version processing 2019-01-08 10:06:20 +11:00
Andrew Tridgell 088442880e build: removed makefile build system 2018-12-22 11:06:59 +11:00
Andrew Tridgell 25c659822a Sub: changed Log_Write_Rate to use AHRS_View 2018-12-21 22:17:52 +11:00