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
Randy Mackay
aa7743e991
Sub: integrate AC_WPNav::get_speed rename to get_default_speed
2019-01-31 19:34:32 +09:00
Peter Barker
05c9ded9fc
Sub: move sending of fence_status message up
2019-01-31 13:44:29 +09:00
Peter Barker
b47733142f
GLOBAL: rename DataFlash_Class to AP_Logger
2019-01-18 18:08:20 +11:00
Peter Barker
d92f34c3d0
Sub: adjust for location flags being moved out of union
2019-01-16 11:45:29 +11:00
Michael du Breuil
b4c5041aad
Sub: Remove unneeded GCS rally override
2019-01-08 10:39:50 +11:00
Peter Barker
8a44bf50a8
Sub: split SIMSTATE, AHRS2 and AHRS3 onto their own ap_message ids
2018-12-19 13:19:23 +11:00
Peter Barker
0e1957328e
Sub: split DISTANCE_SENSOR onto its own ap_message id
2018-12-19 07:24:37 +11:00
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
Peter Barker
b15d72ddce
Sub: send gps messages as separate queued messages
2017-08-09 16:18:22 +01:00
Peter Barker
b14d99dc2c
Sub: move sending of gps_raw up
2017-08-09 16:18:22 +01:00
Peter Barker
14bfccace4
Sub: move sending of system_time up
2017-08-09 16:18:22 +01:00
Peter Barker
e94ae13cfd
Sub: move sending of camera_feedback up
2017-08-09 16:18:22 +01:00
Peter Barker
8692bb4619
Sub: move sending of meminfo up
2017-08-09 16:18:22 +01:00
Peter Barker
7839132b1d
Sub: use new retry_deferred method
2017-08-05 23:14:41 +01:00
Peter Barker
e0879c6fce
Sub: stop sending MSG_SERVO_OUT messages
...
This didn't ever result in a message being sent on Sub
2017-08-03 14:34:33 +01:00
Peter Barker
1fcab08bd0
Sub: move try_send_message queued_param_send up
2017-08-03 14:34:33 +01:00
Peter Barker
7c5ed54ffc
Sub: move try_send_message send_hwstatus up
2017-08-03 14:33:37 +01:00
Peter Barker
7a72c3b1fb
Sub: move try_send_message mission handling up
2017-08-03 14:24:47 +01:00
Peter Barker
dce947b54f
Sub: move try_send_message compass message handling up
2017-08-03 14:24:46 +01:00
Peter Barker
4865aef9e4
Sub: base SYS_STATUS load average on variable loop rate
2017-08-01 19:39:27 +01:00
Peter Barker
077f577e5c
Sub: move common mavlink camera handling up
2017-07-28 14:32:58 +01:00
Peter Barker
b299772a75
Sub: camera is responsible for taking distance-based-images and logging
2017-07-28 14:27:53 +01:00
Peter Barker
d6d12a8cb1
Sub: handle GPS_INPUT in base GCS_MAVLINK class
2017-07-27 16:23:15 +01:00
Peter Barker
f272c7b6bf
Sub: move gps inject handling up to GCS_MAVLINK
2017-07-27 12:03:25 +01:00
Peter Barker
2aaaba8397
Sub: handle common GPS messages in base GCS_MAVLINK class
2017-07-25 14:00:45 +01:00
dheideman
199485beae
Sub: Acknowledge reboot before rebooting
2017-07-22 09:54:05 +09:00
dheideman
22578bd7f0
Sub: fix absolute pressure sensor present flag
2017-07-21 14:26:38 -04:00
Peter Barker
d2c57860fd
Sub: remove MSG_STATUSTEXT entirely
2017-07-18 16:12:59 +01:00
Peter Barker
979f6a1980
Sub: move handling of PREFLIGHT_SET_SENSOR_OFFSETS up
2017-07-17 14:17:19 +01:00
Peter Barker
c430b3affe
Sub: move handling of MAG_CAL command longs up
2017-07-17 14:17:19 +01:00
Peter Barker
4723194a01
Sub: move mavlink support for servo/relay up
2017-07-16 23:56:00 +01:00
Peter Barker
f2d75cbbe9
Sub: add common handling of mavlink command messages
2017-07-16 23:56:00 +01:00
Peter Barker
20937e755e
Sub: move rally-point handling up
2017-07-14 01:28:05 +01:00
Peter Barker
187b4ef349
Sub: remove unneeded telemetry_delayed parameter
2017-07-12 17:01:36 +01:00
Peter Barker
68bcf4632c
Sub: move handling of incoming statutext messages up
2017-07-12 16:52:24 +01:00
Peter Barker
2fde428890
Sub: remove global static send_statustext_chan
2017-07-11 23:53:53 +01:00
Peter Barker
48f2fcfebc
Sub: move common mission handling up to GCS_MAVLINK
2017-07-11 23:45:17 +01:00
Peter Barker
9f73d2f9d8
Sub: eliminate gcs_send_mission_item_reached wrapper
2017-07-11 23:45:16 +01:00
Peter Barker
f82fa22833
Sub: eliminate gcs_end_message wrapper
2017-07-11 23:45:16 +01:00
Peter Barker
279072cf25
Sub: use send_text method on the GCS singleton
2017-07-09 17:17:29 -04: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
WickedShell
6615aee0b1
Sub: fix wrong GCS_MAVLink fallthrough
...
Coverity CID 142270
2017-07-05 12:52:36 +01:00
Peter Barker
f3a717f3c0
Sub: handle knowledge of in_log_download in DataFlash
2017-06-27 03:10:43 +01:00