Commit Graph

273 Commits

Author SHA1 Message Date
Peter Barker 87d27957d9 Sub: try_send_message caller checks telemetry_delayed 2018-12-18 14:25:56 +11:00
Peter Barker d1daacd699 Sub: split SYS_STATUS and POWER_STATUS onto separate ap_messages 2018-12-18 14:05:20 +11:00
Peter Barker aab9103356 Sub: GCS_MAVLink now uses Mission singleton 2018-12-13 10:52:52 +09:00
Peter Barker e498883624 Sub: split MSG_SCALED_PRESSURE into three separate messages 2018-12-12 21:36:01 +11:00
Peter Barker 5e196525bf Sub: split MSG_RAW_IMU1 into per-IMU ap_messages 2018-12-10 12:52:41 +09:00
Peter Barker 4d21630bf0 Sub: send both SYS_STATUS or POWER_STATUS or neither 2018-12-10 12:52:41 +09:00
Peter Barker e2e17b8822 Sub: rename send_extended_status1 to send_sys_status 2018-12-10 12:52:41 +09:00
Peter Barker b31ce6ae69 Sub: adjust for new update entry points into GCS 2018-12-10 12:52:41 +09:00
Peter Barker fe6342107b Sub: add parameter stream to list-of-all-streams 2018-12-10 12:52:41 +09:00
Peter Barker 85a96195fd Sub: rename MSG_EXTENDED_STATUS2 to MSG_MEMINFO 2018-12-04 18:01:38 +11:00
Peter Barker a40937337d Sub: rename MSG_RAW_IMU2 and MSG_RAW_IMU3 to reflect what they send 2018-12-04 17:45:32 +11:00
Peter Barker 27405f9dd7 Sub: remove pointless wrappers around gcs functions 2018-11-23 10:56:17 +11:00
Peter Barker 102f06bb92 Sub: move sending of optical flow status up to base class 2018-11-13 10:40:23 +11:00
Peter Barker a487cb09ed Sub: move handling of gimbal messages up
Sub: move handling of mav_cmd_do_mount_control up

Sub: move handling of deprecated mount messages up

Sub: move handling of command_do_set_roi up

Sub: move handling of command_do_set_roi up

Sub: mount no longer takes ahrs in constructor
2018-10-30 17:19:14 +11:00
Peter Barker 753be1142f Sub: use camera singleton to get camera rather than callback 2018-08-31 15:48:56 +10:00
Peter Barker e4c0ef789b Sub: GCS_MAVLink uses compass singleton, stop implementing get_compass 2018-08-31 15:48:56 +10:00
Randy Mackay 012dd57246 Sub: rename gcs_check_input to gcs_update 2018-08-24 15:30:50 +09:00
Peter Barker 2d1ed75592 Sub: handle command_long in GCS base class 2018-07-06 09:43:09 +10:00
Peter Barker 332fcb3226 Sub: handle command_int in base class 2018-07-06 09:43:09 +10:00
Peter Barker 3cfdcb1f2c ArduSub: use ArmingMethod enumeration 2018-07-03 15:16:38 +10:00
Peter Barker e0eb3424ec Sub: move mavlink reboot code up to base class 2018-07-03 12:12:25 +10:00
Jacob Walser f4da0215d1 Sub: add motor test implementation 2018-07-02 11:31:58 -04:00
Patrick José Pereira dcd3f83539 Sub: Remove void as parameter
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-07-02 11:25:03 -04:00
Andrew Tridgell 5eab425065 Sub: added ESC_TELEMETRY to mavlink streams 2018-06-21 10:48:02 +10:00
Peter Barker c17514cf85 Sub: use AP_FWVersion singleton 2018-06-18 19:10:37 +01:00
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
Randy Mackay 6a701b2412 Sub: move pos-control pids to pos-control library 2018-01-23 12:00:43 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas 63639a0838 Sub: Guided_PosVel mode: reject destination if outside the fence
Also: log guided destination and velocity and rename a variable to pos_neu_cm to better reflect the meaning
2017-12-05 08:57:55 +09:00
Peter Barker 9040bb5f97 Sub: tighten type of result variable in handleMessage 2017-12-01 17:01:10 +00:00
Andrew Tridgell b16ae19bce Sub: use cork/push wrapper 2017-11-21 14:10:54 +11:00
Peter Barker 2fc9b3b5f4 Sub: use gps singleton for GCS functions 2017-11-15 13:43:03 +00:00
Andrew Tridgell cf7b874b42 Sub: support simple accelcal 2017-10-10 10:57:38 +11:00
Michael du Breuil 4d1e61633b Sub: Check GPS health 2017-09-27 19:29:32 +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
Randy Mackay 6a1e14fccd Sub: command-long DO_SET_HOME check first param is zero 2017-09-20 12:14:38 +09:00
Randy Mackay 2dae917c86 Sub: accept DO_SET_HOME within COMMAND_INT 2017-09-20 12:14:38 +09:00
Randy Mackay 305659c5c3 Sub: accept more mav-frame types
accept mav frames whether or not they have _INT appended
2017-09-20 12:14:38 +09:00
Peter Barker 5b7f396e23 Sub: move handling of SET_GPS_GLOBAL_ORIGIN up 2017-09-19 15:44:23 +09:00
Randy Mackay a477ef7cd6 Sub: support SET_GPS_GLOBAL_ORIGIN message 2017-09-19 10:30:15 +09:00
Peter Barker 89e3f1dbd8 Sub: move gcs_out_of_time into GCS object 2017-09-12 18:28:07 +01:00
Peter Barker 1928dcb784 Sub: move handling of do_send_banner up 2017-08-30 15:54:47 +01:00
Peter Barker 3df3b25c1f Sub: handle param_request_list in GCS_MAVLINK base class 2017-08-30 15:54:47 +01:00
Peter Barker 8216a0375d Sub: handle param_set in GCS_MAVLINK base class 2017-08-30 15:54:47 +01:00
Peter Barker 52463a5ed6 Sub: move send_autopilot_request calls up to GCS base class 2017-08-30 15:54:46 +01:00
Peter Barker ae9891d291 Sub: add constant structure holding firmware version 2017-08-30 15:54:46 +01:00
Jacob Walser 4ee6d8e980 Sub: Remove pressure constraint on preflight baro calibration 2017-08-29 08:10:05 -04:00
Jacob Walser 0bd5d6ca18 Sub: send useful information to GCS 2017-08-23 13:40:52 +01:00
Peter Barker 8c8fe4b1bb Sub: move serial_control case to base class 2017-08-17 12:42:31 +01:00
Peter Barker c7c9cb9b0f Sub: move play_tune and led_control handling to base class 2017-08-17 12:27:10 +01:00
Peter Barker 5a9af5bc28 Sub: use GCS_MAVLINK subclasses to handle set_mode 2017-08-16 13:11:07 +01:00
Michael du Breuil 6e55c9554a Sub: Support common version of MAV_CMD_DO_FLIGHT_TERMINATION 2017-08-15 15:14:56 +01:00