Commit Graph

139 Commits

Author SHA1 Message Date
Michael du Breuil e8401671e3 Sub: Allow scripting to run 2019-03-05 08:45:54 +11:00
Peter Barker 7b80f56a80 Sub: GCS_MAVLink takes care of mavlink capabilities 2019-02-19 13:14:52 +11: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
Peter Barker b4c65dde92 Sub: adjust for Location_Class and Location unification 2019-01-16 11:45:29 +11:00
Peter Barker bbf1c434c6 Sub: DataFlash uses AP_Mission singleton 2018-12-13 14:45:30 +09:00
Peter Barker 85f579021e Sub: GCS_MAVLink uses dataflash singleton 2018-12-11 08:43:47 +09:00
Michael du Breuil 68d713b971 Sub: Make capability init consistent 2018-11-05 14:04:36 +11:00
Michael du Breuil 7fd8211253 Sub: Remove unneeded ServoRelayEvent mask set 2018-08-20 21:31:06 -07:00
Peter Barker 1ba0901e51 Sub: minimal support for inheritting from RC_Channel 2018-08-01 12:11:30 +09:00
Michael du Breuil ad185edd48 Sub: Update notify initilization 2018-08-01 09:22:09 +10:00
Patrick José Pereira 90601c80e9 Sub: Simplify some returns
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-06-29 15:51:30 -04:00
Peter Barker c17514cf85 Sub: use AP_FWVersion singleton 2018-06-18 19:10:37 +01:00
Peter Barker 31c6d7aaa0 Sub: Location gets ahrs from singleton 2018-06-01 16:18:33 +01:00
Peter Barker 0a0e11ba21 Sub: correct compilation when features disabled
Gripper
Mount
2018-05-10 17:55:13 +09:00
Peter Barker fdd410f105 Sub: Baro does its own dataflash logging 2018-04-12 19:12:12 +01:00
Randy Mackay defdeaed95 Sub: integrate AC_Loiter 2018-04-04 10:45:10 +09:00
Peter Barker 05ee33d037 Sub: tidy handling of barometer calibrations 2018-04-02 23:25:05 +01:00
Peter Barker 5536a321ed Sub: move common calibration functions up 2018-04-02 23:25:05 +01:00
Andrew Tridgell c1504dadab Sub: use AP_FEATURE_BOARD_DETECT 2018-01-15 11:46:02 +11:00
Jacob Walser bc0827ffd7 Sub: force GND_EXT_BUS at boot for Pixhawk 1 and 2 2017-10-25 21:07:09 +11:00
Patrick José Pereira 1598a97734 Sub: Solve some typos
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2017-10-19 06:27:32 -07:00
Lucas De Marchi f5c2ffffb9 global: remove DataFlash from AP_Mount::init() 2017-09-26 03:01:21 +01:00
Lucas De Marchi 11e47fb145 ArduSub: do not include version.h/ap_version.h
The interface provided by each vehicle should be used to get the
version.
2017-09-23 21:37:45 -07:00
Peter Barker ae9891d291 Sub: add constant structure holding firmware version 2017-08-30 15:54:46 +01:00
Jacob Walser a2002180ee Sub: Set default external baro bus correctly for Pixhawk 2 2017-08-29 08:10:05 -04:00
Peter Barker 342d95ad2f Sub: move starting of new logs into DataFlash 2017-07-19 16:37:28 +01:00
Peter Barker fadff24674 Sub: create GCS subclass, use inheritted methods
This also adds a patch to set up gcs channel 0 early to make
BoardConfig happy
2017-07-07 16:18:37 +01:00
Eugene Shamaev 7314b515c0 ArduSub: move of CAN parameters into separate group 2017-07-03 11:44:32 +01:00
Peter Barker f8d1ac47c7 Sub: check dataflash to see if we should log backend gps messages 2017-06-29 15:43:38 +01:00
Peter Barker 7cd794201e Sub: use DataFlash should_log to determine raw IMU logging 2017-06-29 15:26:27 +01:00
Peter Barker 4913fc2f2a Sub: move should_log check of log bitmask into DataFlash 2017-06-29 15:26:27 +01:00
Peter Barker 75a89dbfeb Sub: stop using in_mavlink_delay as a proxy for disabling logging 2017-06-16 17:07:48 +01:00
Peter Barker e0e78d83e5 Sub: call dataflash should_log method 2017-06-16 17:07:48 +01:00
Peter Barker c1583da7d5 Sub: StartUnstartedLogging replaces logging_started/start_logging 2017-06-11 20:34:12 +01:00
Peter Barker 2f7325a0bc Sub: simplify should_log 2017-06-11 20:34:12 +01:00
Tom Pittenger 51fa76d971 Sub: fixed startup order of setting mavlink system ID
Set sysid from param before you init the serial port so you always output the intended sysid. Ported the same fix as c01a7718c1
2017-06-08 20:43:07 -07:00
Jacob Walser 131e1bdef5 Sub: Bugfix for external baro failsafe handling when no baro is
connected at boot
2017-05-03 18:13:31 -04:00
Peter Barker 652292e5c0 Sub: move init of DataFlash references into vehicle init
It is possible to start a log before the existing codepath is crossed.
2017-05-01 15:04:34 +01:00
Andrew Tridgell 36a633bc7a Sub: call BoardConfig.init_safety() at end of startup
this fixes a bug where motors can start on soft reboot
2017-04-30 21:47:04 +10:00
Jacob Walser 287f2e3c56 Sub: Rework log opening/closing logic
We were trying to open logs at >400Hz when logging wasn't available
2017-04-17 10:55:18 -04:00
Jacob Walser 3a501a42fb Sub: Set default param value instead of forcing at boot 2017-04-16 14:25:13 -04:00
Jacob Walser 8c6fa6f651 Sub: Remove unused ap.usb_connected flag 2017-04-16 14:25:13 -04:00
Jacob Walser c093e1c37e Sub: Add failsafe mechanisms for depth sensor error 2017-04-16 14:25:13 -04:00
Jacob Walser 8b3c414ca7 Sub: Remove cliSerial alias for hal.console 2017-04-14 13:26:37 -04:00
Jacob Walser 84527d6e66 Sub: Remove unused auto_armed flag 2017-04-14 13:26:37 -04:00
Jacob Walser 854275459d Sub: Fix compile-time OPTFLOW enabling switch 2017-04-14 13:26:37 -04:00
Jacob Walser 563402c41d Sub: Don't wait for an XBee at boot 2017-04-07 14:47:48 -04:00
Jacob Walser 23c18335a3 Sub: failsafe_xxx -> mainloop_failsafe_xxx 2017-04-06 17:58:26 -04:00
Jacob Walser ea8dbbf96c Sub: Remove HIL_MODE stuff 2017-04-06 14:11:12 -04:00
Jacob Walser 3b1827ca21 Sub: Remove throttle-zero flag
Doesn't help us like in Copter
2017-04-06 14:11:12 -04:00
Jacob Walser 69c9dbc286 Sub: Remove deprecated/unused CLI and AP_Menu 2017-04-05 13:29:06 -04:00
Jacob Walser 7c552d3545 Sub: Remove unsused aux switch code 2017-03-10 15:46:30 +11:00
Jacob Walser ec0b073fbc Sub: Check for BARO_TYPE_WATER before assigning depth sensor 2017-02-21 11:26:14 +11:00
Jacob Walser 68a7534f2c Sub: Use AHRS_VEHICLE_SUBMARINE as AHRS vehicle class 2017-02-21 11:26:14 +11:00
Peter Barker ee07a06fa2 Sub: support for a GCS singleton 2017-02-21 11:26:14 +11:00
Peter Barker 6fb2a6814f Sub: rename gcs[] to gcs_chan[]
Wish to use gcs() to return the gcs singleton
2017-02-21 11:26:14 +11:00
Jacob Walser 65cd28cc6c Sub: Only save baro calibration parameters when user zeros 2017-02-21 11:26:14 +11:00
Jacob Walser 942d6450d2 Sub: AP_Baro library takes care of baro type 2017-02-21 11:26:14 +11:00
Jacob Walser 2d29698df8 Sub: Use AP_Baro::baro_type_t 2017-02-21 11:26:14 +11:00
Jacob Walser 4112fd1316 Sub: Remove mode header 2017-02-21 11:26:14 +11:00
Jacob Walser 5233b25910 Sub: Format all C++ with Tools/CodeStyle/astylerc 2017-02-21 11:26:14 +11:00
Jacob Walser ed87bd9e59 Sub: fixes from rebase on ArduPilot master 2017-02-21 11:26:14 +11:00
Jacob Walser 852374ab4d Sub: Manual control failsafe 2017-02-21 11:26:14 +11:00
Jacob Walser 098a716d41 Sub: Add TSYS01 'celsius' object 2017-02-21 11:26:14 +11:00
Jacob Walser 45de3b1163 Sub: Disable Avoidance and Proximity by default 2017-02-21 11:26:14 +11:00
Jacob Walser ee8670e73d Sub: Disable RPM 2017-02-21 11:26:14 +11:00
Jacob Walser 9c5b304626 Sub: Remove RSSI 2017-02-21 11:26:14 +11:00
Jacob Walser 8aebeac6d7 Sub: Remove precision landing 2017-02-21 11:26:14 +11:00
Jacob Walser d75919eadc Sub: Remove deprecated parameters 2017-02-21 11:26:14 +11:00
Jacob Walser 6682e93bf3 Sub: Refactor delay()
We don't need a dedicated file only to define a delay function.
This will also provide a preventitive measure for people trying to use
delay() without an understanding of the implications
2017-02-21 11:26:14 +11:00
Jacob Walser cbddc7d814 Sub: Remove control_switch_state struct and reset_control_switch() 2017-02-21 11:26:14 +11:00
Jacob Walser 5cc1d3293d Sub: Add gain parameters 2017-02-21 11:26:14 +11:00
Jacob Walser 456f5e2e93 Sub: Update Sub to match relevant Copter and Library developments 2017-02-21 11:26:14 +11:00
Jacob Walser 579f58e9f2 Sub: hold absolute heading in depth hold and poshold 2017-02-21 11:26:14 +11:00
Jacob Walser 9426849b8d Sub: Change default ATC_ACCEL_Y_MAX to 110k cd/ss 2017-02-21 11:26:14 +11:00
Rustom Jehangir 814605c461 Sub: Make changes to match Copter changes 2017-02-21 11:26:14 +11:00
Rustom Jehangir 9198b8cb29 Sub: Changes to match recent Copter updates. 2017-02-21 11:26:14 +11:00
Rustom Jehangir 26d0a922c1 Sub: Changes to match recent Copter updates. 2017-02-21 11:26:14 +11:00
Rustom Jehangir 617b439d0e Sub: Match Copter changes 2017-02-21 11:26:14 +11:00
Rustom Jehangir 684bc249b6 Sub: Update to match upstream, part 1 2017-02-21 11:26:14 +11:00
Rustom Jehangir d159320ac0 Sub: Add throw mode to match Copter.
This is probably never going to be used for Sub unless there is some crazy situation I can't think of. However, we are continuing to maintain Copter changes for now to minimize divergence of the code and make maintenance easy.
2017-02-21 11:26:14 +11:00
Rustom Jehangir 3869ce55e8 Sub: Changes to match Copter updates. 2017-02-21 11:26:14 +11:00
Rustom Jehangir 6cf24c2770 Sub: Remove heli support from sub. 2017-02-21 11:26:14 +11:00
Rustom Jehangir 077b0283f3 Sub: Update camera mount for changes. 2017-02-21 11:26:14 +11:00
jaxxzer a299528194 Sub: Some more tweaks for water pressure. Change throttle_zero to mid stick. 2017-02-21 11:26:14 +11:00
jaxxzer 3af1dc8c93 Sub: Add support for external pressure sensor in ROV context. 2017-02-21 11:26:14 +11:00
Rustom Jehangir 83ff3931b8 Sub: Refactor "Copter" to "Sub". 2017-02-21 11:26:14 +11:00
Rustom Jehangir 3da7c95e9b Sub: New vehicle type, derived from ArduCopter. 2017-02-21 11:26:14 +11:00