Commit Graph

198 Commits

Author SHA1 Message Date
Patrick José Pereira d3da8f2914 Sub: Add attitude control with althold via mavlink
Allow ordinary attitude positions without a gps system

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-06-12 17:27:56 -04:00
Patrick José Pereira 4de371743e Sub: Move from millis() to AP_HAL::millis()
AP_HAL::millis() is a more common style around the rest of the project

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-06-12 17:27:56 -04:00
Patrick José Pereira a856f747aa Sub: Organize descend climb_rate calc
Make it more clear to read

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-06-12 17:27:56 -04:00
Peter Barker 32b8b86019 Sub: move handling of MAV_CMD_DO_GRIPPER up 2018-06-11 19:07:39 +01:00
Michael du Breuil c642d1ed74 Sub: Rework to support override changes 2018-06-05 09:51:09 +10:00
Peter Barker 3694f085dc Sub: move try_send_message handling of EKF_STATUS_REPORT up 2018-06-01 16:12:45 +01:00
Peter Barker 1f31bd21c4 Sub: create persist_streamrates() callback to indicate persistence 2018-05-29 13:08:29 +10:00
Peter Barker 18c494b25f Sub: move sending of vfr_hud up 2018-05-29 13:00:40 +10:00
Peter Barker 420b9869f7 Sub: move sending of simstate up 2018-05-23 18:36:50 +10:00
Peter Barker 148756bc1c Sub: add type-correctness for stream messages 2018-05-22 11:21:25 +10:00
Peter Barker f0dd90b81a Sub: eliminate MSG_LIMITS_STATUS 2018-05-22 09:05:14 +09:00
Peter Barker cc899d74e2 Sub: move try_send_message of servo-output-raw up 2018-05-21 19:08:08 +01:00
Peter Barker 324be6ca0d Sub: move sending of GLOBAL_POSITION_INT up to GCS_MAVLINK 2018-05-17 15:48:06 +01:00
Peter Barker 3e7cb08804 Sub: move send_attitude up to GCS_MAVLINK 2018-05-17 18:28:43 +10:00
Peter Barker c91ba19e7f Sub: override sending of scaled_pressure3
Without this change we run the risk of sending out the same message with
vastly different data in it
2018-05-17 15:37:14 +10:00
Peter Barker 12f62a44ce Sub: move try_send_message sending of sensor offsets up 2018-05-17 15:37:14 +10:00
Peter Barker 5736aa6ef3 Sub: move try_send_message of RAW_IMU up to GCS_MAVLINK 2018-05-17 15:37:14 +10:00
Peter Barker 631e967df3 Sub: handle setting of ekf origin in GCS_MAVLink 2018-05-17 10:13:42 +10:00
Michael du Breuil 2d7f60ab59 Sub: Use named float wrappers 2018-05-17 00:59:45 +01:00
Michael du Breuil 216457a281 Sub: Move MAVLink rangefinder up to parent 2018-05-16 23:21:41 +01:00
Michael du Breuil 5393337dfa Sub: Send all distance sensors 2018-05-16 23:21:41 +01:00
Peter Barker 0a0e11ba21 Sub: correct compilation when features disabled
Gripper
Mount
2018-05-10 17:55:13 +09:00
Peter Barker 524d63522a Sub: move sending of battery data up 2018-05-09 11:40:31 -07:00
Peter Barker 5674a68457 Sub: move data stream send up 2018-05-09 16:15:38 +10:00
Peter Barker 133b9930a6 Sub: make scheduler track whether it has called the delay callback 2018-05-09 16:15:38 +10:00
Peter Barker b7cd5491e2 Sub: move try_send_message handling of RC_CHANNELS up 2018-05-08 12:33:32 +01:00
Peter Barker f075d6bd93 Sub: move try_send_message of heartbeats up to GCS_MAVLINK 2018-05-07 11:30:13 -06:00
Peter Barker 5bad067a8d Sub: move try_send_message handling of VIBRATION up 2018-05-07 11:23:28 -06:00
Jacob Walser 68da3a123c Sub: add armed check to preflight baro calibration
This check was lost in 05ee33d!
2018-04-23 15:12:35 -04:00
Jacob Walser 0223cf70ed Sub: better check and text message for baro calibration failure 2018-04-23 15:12:35 -04:00
Jacob Walser c76ff32aa1 Sub: Do not report altitude in GLOBAL_POSITION_INT if there is no depth
sensor connected

Fix bluerobotics/ardusub#145
2018-04-19 14:58:06 -04:00
Peter Barker c7327acef7 Sub: use AP_ServoRelayEvents singleton 2018-04-18 20:31:55 +09:00
Michael du Breuil 9f673c2746 Sub: Use RC_Channels instead of hal.rcin 2018-04-11 21:47:07 +01:00
Michael du Breuil e840006ff9 Sub: Check MANUAL_CONTROL target 2018-04-10 16:54:34 +01:00
Francisco Ferreira ba44d11988
Sub: fix method shadowing 2018-04-03 16:29:34 +01:00
Peter Barker fa3b3964e8 Sub: factor vehicle's mavlink send_heartbeat 2018-04-03 13:05:19 +01: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
Peter Barker fe293abf37 Sub: factor out preflight calibration function 2018-04-02 23:25:05 +01:00
Michael du Breuil 6ebe954d51 Sub: Support new battery failsafes 2018-03-27 22:12:21 +01:00
Peter Barker 4b12fab5f5 Sub: allow DataFlash to handle log sending 2018-03-26 09:22:47 +09:00
Peter Barker c9664a9923 Sub: move handling of get_home_position up 2018-03-19 10:32:37 +09:00
Peter Barker 3af4806d38 Sub: move home state into AP_AHRS 2018-03-19 10:32:37 +09:00
Peter Barker 06f6135daa Sub: use baro singleton 2018-03-08 21:20:05 -08:00
Peter Barker 15f212adc0 Sub: use AP::ahrs() for GCS_MAVLink 2018-03-07 12:34:39 +00:00
Patrick José Pereira aafede65f7 Sub: Add camera pan functionality
Fix bluerobotics/ardusub#134

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-02-21 10:52:24 -08:00
Jacob Walser 8f227201e0 Sub: move reset params to default handling to GCS base class 2018-02-20 10:49:09 +11:00
Peter Barker 980fbf6cfb Sub: move logging of PM messages to AP_Scheduler 2018-02-13 17:15:05 +11:00
Randy Mackay 81d3a3106e Sub: global-pos-int uses system time
Also takes vel directly from EKF instead of inertial nav shim
2018-02-13 08:52:48 +09:00
Peter Barker ecb805768b Sub: remove shims used in scheduler table 2018-02-12 10:37:21 -08:00