Commit Graph

263 Commits

Author SHA1 Message Date
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
Peter Barker e1335a6029 Sub: move send-logs-via-mavlink code into DataFlash 2017-06-27 03:10:43 +01:00
Michael du Breuil df15a82f88 Sub: Handle NAV_CONTROLLER_OUTPUT.wp_dist overflowing 2017-06-20 15:41:50 +01:00
Peter Barker 06209a13d2 Sub: move MAVLINK_MSG_ID_REMOTE_LOG_BLOCK_STATUS handling up 2017-06-17 15:07:48 +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
Pierre Kancir d5cc1e64ed GCS_Common: rename send_rangefinder to send_rangefinder_downward 2017-06-08 01:32:04 +01:00
Pierre Kancir 57ef598c07 ArduSub: change rangefinder msg for common one 2017-06-08 01:31:58 +01:00
Pierre Kancir e124cddeeb ArduSub: add support for DISTANCE_SENSOR 2017-06-08 01:31:57 +01:00
Randy Mackay 7bae493138 Sub: consolidate set_home functions
added lock argument instead of having twice as many functions
no functional change
2017-06-07 13:01:38 +09:00
Paulo Neves 66b4c821c9 Sub: Add MAV_CMD_DO_SET_CAM_TRIGG_DIST support. 2017-05-27 20:47:05 -04:00
Michael du Breuil 07fb0d541d Sub: Ingore landing message 2017-05-24 15:22:27 -07:00
Andrew Tridgell 58861eb51c Sub: use common send_queued_parameters() 2017-05-01 14:36:10 +10:00
Andrew Tridgell 0cfc6f8e0f Sub: ignore MSG_AOA_SSA 2017-04-19 20:48:42 +10:00
Jacob Walser d2629a13ee Sub: Remove handling of unsupported mavlink messages 2017-04-16 14:43:56 -04:00
Jacob Walser 697b095e99 Sub: Remove unused command_ack_counter 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 b7de1eb88a Sub: failsafe.manual_control -> failsafe.pilot_input
reset pilot input failsafe timer when RC_CHANNELS_OVERRIDE is received
2017-04-16 14:25:13 -04:00
Jacob Walser 6a443fcce4 Sub: Fix redundant check in MAV_CMD_MISSION_START 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
Michael du Breuil 3a8994b2ce Sub: Send BATTERY_STATUS 2017-04-12 10:21:49 +09:00
Jacob Walser 3e471e808a Sub: Refactor methods in navigation.cpp 2017-04-07 14:47:48 -04:00
Jacob Walser 6a80fe3c22 Sub: Remove DISALLOW_GCS_MODE_CHANGE_DURING_RC_FAILSAFE 2017-04-06 17:48:39 -04:00
Jacob Walser 61d77c72fb Sub: Clean up stream rate var_info 2017-04-06 15:11:43 -04:00
Jacob Walser ea8dbbf96c Sub: Remove HIL_MODE stuff 2017-04-06 14:11:12 -04:00
Jacob Walser d794bf88cb Sub: Remove old/unused motor test code and motor_test.cpp 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 b0e5a93099 Sub: Remove VELHOLD mode
Obsolete since GUIDED implemented
2017-03-23 01:36:17 -04:00
Jacob Walser 0ce2896e22 Sub: Remove rc receiver code 2017-03-10 15:46:30 +11:00
Jacob Walser 93c6f64a91 Sub: Clean out/remove references to old landing code 2017-03-10 15:46:30 +11:00
Jacob Walser 40a27814e0 Sub: Remove unused flight modes 2017-03-10 15:46:30 +11:00
Jacob Walser 0803371956 Sub: Default mavlink message handling to GCS_Common 2017-03-01 22:32:33 -05:00
Jacob Walser e2a41c0a6c Sub: Implement reset all params via MAV_CMD_PREFLIGHT_STORAGE 2017-03-01 22:32:27 -05:00
Randy Mackay 6798162a98 Sub: use only downward facing rangefinder 2017-02-27 15:18:34 +09:00
Jacob Walser 8495384031 Sub: Don't send battery percent remaining estimate 2017-02-22 16:41:41 -05:00
Jacob Walser 840521ac8c Sub: Remove transect mode
This experimental mode is no longer relevant
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 1990aa7829 Sub: Update stale references to Copter 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 93e422ad53 Sub: Refactor MSG_RADIO_OUT to MSG_SERVO_OUTPUT_RAW 2017-02-21 11:26:14 +11:00
Jacob Walser 3031aab15b Sub: Remove reference to gps.crosstrack_error 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 029cf3b388 Sub: Update to library changes 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 6b3610ea70 Sub: Set frame configuration with parameter instead of make target
Now only one firmware is required for ArduSub
2017-02-21 11:26:14 +11:00
Jacob Walser 173ee85ac7 Sub: Send invalid PWM to servo rail before rebooting
This corrects a previous attempt at doing the same
2017-02-21 11:26:14 +11:00
Jacob Walser 2bb3286faa Sub: Return MAV_RESULT_UNSUPPORTED for compassmot calibration 2017-02-21 11:26:14 +11:00
Jacob Walser 0d575681de Sub: Remove RTL 2017-02-21 11:26:14 +11:00
Jacob Walser ee8670e73d Sub: Disable RPM 2017-02-21 11:26:14 +11:00
Jacob Walser 7b5d209aba Sub: Remove parachute 2017-02-21 11:26:14 +11:00
Jacob Walser a430f5a7ae Sub: Remove land/landed code 2017-02-21 11:26:14 +11:00
Jacob Walser b6d76912cf Sub: Remove takeoff code 2017-02-21 11:26:14 +11:00
Jacob Walser bc4084931f Sub: Remove Brake mode 2017-02-21 11:26:14 +11:00
Jacob Walser 974af85f42 Sub: Check if depth sensor is present for sensor reporting 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 8f6b3900a3 Sub: stop pwm output before reboot 2017-02-21 11:26:14 +11:00
Jacob Walser 0085cc8a27 Sub: rename modes loiter->velhold, sport->transect 2017-02-21 11:26:14 +11:00
Jacob Walser e844e28a77 Sub: Replace sport mode with transect mode 2017-02-21 11:26:14 +11:00
Jacob Walser e2a7ba5b0c Sub: replace land with surface mode 2017-02-21 11:26:14 +11:00
Rustom Jehangir 5adcb2cbef Sub: Changes based on diff with Copter. 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 e857f20784 Sub: Changes to match Copter 2017-02-21 11:26:14 +11:00
Rustom Jehangir d628b0d022 Sub: Add 'SimpleROV' frame configuration for 3/4-dof ROVs 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 37118920ed Sub: Add upstream Copter changes. 2017-02-21 11:26:14 +11:00
Rustom Jehangir ca1ac03ecf Sub: Change to MAV_TYPE_SUBMARINE for GCS plugin 2017-02-21 11:26:14 +11:00
Rustom Jehangir 3c6b6ba8e9 Sub: Fix handling of SET_HOME_POSITION 2017-02-21 11:26:14 +11:00
Rustom Jehangir c1f05b9e25 Sub: Match copter mode change stuff 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 e0d3eba5a4 Sub: Match Copter changes 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
David Ingraham 473016b41d Sub: Add support for Vectored 6DOF ROV
Sub: Various defines for vectored-6dof configuration

Sub: fix compile errors for vector6dof rov

More fixes
2017-02-21 11:26:14 +11:00
Rustom Jehangir 105eae0e86 Sub: Remove ADSB support 2017-02-21 11:26:14 +11:00