Commit Graph

669 Commits

Author SHA1 Message Date
Peter Barker 2fde428890 Sub: remove global static send_statustext_chan 2017-07-11 23:53:53 +01:00
Peter Barker 819054418b Sub: eliminate GCS_MAVLINK::send_statustext_all 2017-07-11 23:53:53 +01:00
Peter Barker e9845fd593 Sub: eliminate global static GCS_MAVLINK::send_home_all 2017-07-11 23:48:39 +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
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 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
Peter Barker e0e78d83e5 Sub: call dataflash should_log method 2017-06-16 17:07:48 +01:00
Peter Barker 5a0cb40c47 Sub: simplify dataflash initialisation 2017-06-14 12:20:29 +01:00
Peter Barker 6f7954298c Sub: do not reset LOG_BITMASK when no CardInserted
This really just confuses everyone
2017-06-14 12:20:29 +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
Peter Barker 32d02b1f18 Sub: eliminate calls to manipulate _writes_enabled 2017-06-11 20:34:12 +01:00
Peter Barker 19a9690102 Sub: simplify start_logging 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
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 5936fc1ff8 Sub: compass set-initial-location uses ahrs location
Previously it could attempt to use a gps location even if gps was not being used
Also compass-accumulate moved to sensors.cpp
2017-06-07 13:01:38 +09: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
Dr.-Ing. Amilcar Do Carmo Lucas 47514e275d Sub: Improve the PWM parameters descriptions 2017-06-06 11:06:26 +10: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
Jacob Walser eb35b25b41 Sub: Freshen comments 2017-05-22 20:14:10 -04:00
Jacob Walser 79d5a2960f Sub: Remove unused #defines 2017-05-22 20:07:12 -04:00
Dr.-Ing. Amilcar Do Carmo Lucas b996bb4a5d Sub: Use SI units conventions in parameter units
Follow the rules from:
http://physics.nist.gov/cuu/Units/units.html
http://physics.nist.gov/cuu/Units/outside.html
and
http://physics.nist.gov/cuu/Units/checklist.html
one further constrain is that only printable (7bit) ASCII characters are allowed
2017-05-17 18:07:25 +10:00
Jacob Walser 888cd8e31c Sub: Fix fs_pilot_timeout parameter metadata 2017-05-12 17:16:18 -04:00
Jacob Walser d58a056444 Sub: Fix ekf failsafe parameter metadata 2017-05-12 16:15:58 -04:00
Jacob Walser f870508b06 Sub: Update release notes for 3.5.0 2017-05-09 15:10:34 -04:00
Jacob Walser a124987a45 Sub: Update release notes for 3.5-rc2 2017-05-04 15:23:52 -04:00
Jacob Walser 094079039b Sub: Update release notes for 3.4.1 2017-05-04 14:47:21 -04: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 b3ce03bfb0 Sub: stop appending lf to PERF message 2017-05-01 16:21:55 +01: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 58861eb51c Sub: use common send_queued_parameters() 2017-05-01 14:36:10 +10: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
Peter Barker b7fe410b52 Sub: log GPS detection state to DF on log startup 2017-04-23 21:04:17 +01:00
Jacob Walser 2c22a17f85 Sub: version to 3.6-dev 2017-04-19 11:58:38 -04:00
Andrew Tridgell 0cfc6f8e0f Sub: ignore MSG_AOA_SSA 2017-04-19 20:48:42 +10:00
Jacob Walser 5ee98879f3 Sub: Update ReleaseNotes.txt for 3.5-rc1 2017-04-17 21:30:19 -04:00
Jacob Walser 004a7aceb7 Sub: Ignore mission commands with unsupported altitude values 2017-04-17 11:25:41 -04: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 7737c3445c Sub: Default CAM_SLEW_LIMIT to 30 deg per second 2017-04-16 21:24:55 -04:00
Jacob Walser e24fef70f6 Sub: Workaround for more graceful servo mount initialization 2017-04-16 20:14:23 -04:00
Jacob Walser e92dbad358 Sub: Fixup rcin initialization 2017-04-16 18:22:08 -04:00
Jacob Walser 05b19cbb7d Sub: Correct default flight mode button functions to match suggested
setup
2017-04-16 15:48:35 -04:00
Jacob Walser 4c7f744863 Sub: Setup throttle channel default trim parameter value 2017-04-16 14:56:18 -04: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 d0171395b8 Sub: Remove baro_alt and baro_climbrate members
We can get this from baro object directly
2017-04-16 14:25:13 -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 8d93af112f Sub: Remove motors.set_air_density_ratio
Unused in AP_Motors6DOF
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 785f774887 Sub: Rework pilot input failsafe, add enable and timeout params 2017-04-16 14:25:13 -04:00
Jacob Walser 1ff656df2d Sub: Add arming check for ahrs health 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 8d1b6ef8a1 Sub: Don't set notify leak status if leak failsafe is disabled 2017-04-16 14:25:13 -04:00
Jacob Walser f7c4810eaa Sub: Remove ignore_check argument from control mode init functions 2017-04-16 14:25:13 -04:00
Jacob Walser 0ff8dcf58a Sub: Reword stale comment 2017-04-16 14:25:13 -04:00
Jacob Walser 7a6318434f Sub: Fix throttle value in some calls to
pos_control.relax_alt_hold_controllers
2017-04-16 14:25:13 -04:00
Jacob Walser a83e1ad971 Sub: Refactor notify update after flight mode change 2017-04-16 14:25:13 -04:00
Jacob Walser b28c3584d4 Sub: Add ekf failsafe check 2017-04-16 14:25:13 -04:00
Jacob Walser 0b1a2c3959 Sub: Remove ekf_check.cpp and unused ekf failsafe methods 2017-04-16 14:25:13 -04:00
Jacob Walser 01e01d1df9 Sub: Fix logging bug where only one log was created after first arm 2017-04-14 13:43:35 -04:00
Jacob Walser 8b3c414ca7 Sub: Remove cliSerial alias for hal.console 2017-04-14 13:26:37 -04:00
Jacob Walser 6008689aa3 Sub: Implement spline waypoints 2017-04-14 13:26:37 -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
Jacob Walser 8ebfcdec6e Sub: Remove stale commented code 2017-04-14 13:26:37 -04:00
Jacob Walser eb36153752 Sub: Reorganize #includes 2017-04-14 13:26:37 -04:00
Jacob Walser c599ba8c97 Sub: Disable Camera object by default and rework guards
Camera object hasn't been tested on Sub yet
2017-04-14 13:26:37 -04:00
Jacob Walser 9a35b4d7a4 Sub: Dont include AC_Rally if it's not enabled 2017-04-14 13:26:37 -04:00
Jacob Walser 4fb5a90446 Sub: Remove unused AP_Airspeed library dependency 2017-04-14 13:26:37 -04:00
Jacob Walser 6806989d86 Sub: Remove unused AP_ADC library dependency 2017-04-14 13:26:37 -04:00
Jacob Walser 5110c9cb40 Sub: Remove unused Buffer library dependency 2017-04-14 13:26:37 -04:00
Jacob Walser d3927e34e4 Sub: Remove unused InputManager library dependency 2017-04-14 13:26:37 -04:00
Jacob Walser af8514f1a3 Sub: Don't declare gripper functions if it's not enabled 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 b3beb5e1c4 Sub: Remove undefined methods from Sub.h 2017-04-14 13:26:37 -04:00
Jacob Walser c16046aadf Sub: Remove unused motor emergency stop and interlock 2017-04-14 13:26:37 -04:00
Jacob Walser 2fac49a163 Sub: Remove unused pre_arm_check()
This is performed by AP_Arming now
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 1ee1c01e43 Sub: Remove two unused functions 2017-04-07 14:47:48 -04:00
Jacob Walser 563402c41d Sub: Don't wait for an XBee at boot 2017-04-07 14:47:48 -04:00
Jacob Walser 3e471e808a Sub: Refactor methods in navigation.cpp 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 6a80fe3c22 Sub: Remove DISALLOW_GCS_MODE_CHANGE_DURING_RC_FAILSAFE 2017-04-06 17:48:39 -04:00
Jacob Walser 1bd6480a41 Sub: Gripper is disabled by default 2017-04-06 17:46:31 -04:00
Jacob Walser 875fb3946b Sub: Remove remaining references to simple mode 2017-04-06 17:31:40 -04:00
Jacob Walser d05454ec36 Sub: Remove ambiguous #define MAGNETOMETER 2017-04-06 17:28:58 -04:00
Jacob Walser c2556dfe2e Sub: Remove helicopter log message 2017-04-06 16:14:21 -04:00
Jacob Walser 88ef426e22 Sub: Remove some dead lines 2017-04-06 15:38:27 -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 fc9eb797be Sub: Fix redundant call 2017-04-06 14:11:12 -04:00
Jacob Walser 4349eaba32 Sub: Clean up radio.cpp 2017-04-06 14:11:12 -04:00
Jacob Walser 1d3d6c064e Sub: Don't initialize ch5 mode switch
Missed this when phasing out ch5 mode switch
2017-04-06 14:11:12 -04:00
Jacob Walser 8634fb47ea Sub: re-arrange fast_loop for minimum latency
match Copter changes @72923277
2017-04-06 14:11:12 -04:00
Jacob Walser 3df1aa09e8 Sub: Remove dead save_trim() 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 d794bf88cb Sub: Remove old/unused motor test code and motor_test.cpp 2017-04-06 14:11:12 -04:00
Jacob Walser 6a837ca318 Sub: Correct mismatched log structure format 2017-04-05 13:29:06 -04:00
Jacob Walser f2d9f1585e Sub: Shift forward/lateral input channels up one to remove old ch5 gap 2017-04-05 13:29:06 -04:00
Jacob Walser d629d4ba9e Sub: Change mode button function implementation 2017-04-05 13:29:06 -04:00
Jacob Walser 69c9dbc286 Sub: Remove deprecated/unused CLI and AP_Menu 2017-04-05 13:29:06 -04:00
Jacob Walser 0e180f88ad Sub: Remove unused parameter enum values 2017-04-05 13:29:06 -04:00
Jacob Walser fab139ecce Sub: Remove unused WP_NAVALT_MIN parameter 2017-04-05 13:29:06 -04:00
Jacob Walser e3d6d4bcbe Sub: Implement JSButton function to toggle between forward/lateral input
and roll/pitch input
2017-03-28 16:05:08 -04:00
Jacob Walser 5f82984d7e Sub: Implement servo min/max button functions 2017-03-28 14:54:23 -04:00
Jacob Walser 030af45b34 Sub: Implement servo control button functions 2017-03-28 14:54:23 -04:00
Andrew Tridgell 5d642f98f5 Sub: add available memory to PM message 2017-03-27 14:35:21 +09:00
Jacob Walser b32b552d1e Sub: Implement crash failsafe check/action 2017-03-24 16:31:09 -04:00
Jacob Walser 9d4b24c354 Sub: Move crash check logic under failsafe.cpp 2017-03-24 16:31:09 -04:00
Jacob Walser bc5d9b1a19 Sub: Remove unused lost_vehicle_check 2017-03-24 16:31:09 -04:00
Jacob Walser 1a68fce2d0 Sub: Remove auto_disarm_check
There isn't a good set of conditions to determine if we should
automatically disarm
2017-03-24 16:31:09 -04:00
Jacob Walser 4465d4ba69 Sub: Add some comments to describe failsafe functions 2017-03-24 16:31:09 -04:00
Jacob Walser 45328f220c Sub: set_leak_status() -> failsafe_leak_check() 2017-03-24 16:31:09 -04:00
Jacob Walser 7859f6426e Sub: Implement battery failsafe 2017-03-24 16:31:09 -04:00
Jacob Walser 6bd05e4bac Sub: failsafe_battery_event() -> failsafe_battery_check() 2017-03-24 16:31:09 -04:00
Jacob Walser 16fedbb9c9 Sub: Consolidate failsafe settings in defines.h 2017-03-24 16:31:09 -04:00
Jacob Walser bb2215bb9f Sub: Move failsafe functions into failsafe.cpp 2017-03-23 15:06:46 -04:00
Jacob Walser 0c4e426ddb Sub: Remove unused #defines from config.h 2017-03-23 14:59:17 -04:00
Jacob Walser 0b080c78d8 Sub: Remove unused gps_hdop_good parameter 2017-03-23 14:16:41 -04:00
Jacob Walser 65ad8ff7f1 Sub: Remove unused defines from old experiments 2017-03-23 14:16:40 -04:00
Jacob Walser 3934281b43 Sub: Remove esc calibration 2017-03-23 11:59:30 -04:00
Jacob Walser b0e5a93099 Sub: Remove VELHOLD mode
Obsolete since GUIDED implemented
2017-03-23 01:36:17 -04:00
Jacob Walser 5b4ec88f11 Sub: Remove one layer of abstraction for ServoRelayEvents.update_events
call
2017-03-23 01:36:17 -04:00
Jacob Walser cb38c66479 Sub: Move Notify update to ArduSub.cpp
No need for a separate file
2017-03-23 01:36:17 -04:00
Jacob Walser 2fa9d31787 Sub: Remove auto-trim
Sub vehicles usually have some static stability
2017-03-23 01:36:17 -04:00
Jacob Walser 15a117dfb4 Sub: Remove ch6 tuning 2017-03-23 01:36:17 -04:00
Jacob Walser 6886952438 Sub: Remove simple mode 2017-03-22 23:39:37 -04:00
Jacob Walser ea8b870067 Sub: Increase timeout for MANUAL_CONTROL failsafe 2017-03-22 16:02:16 -04:00
Jacob Walser 0ea0f0c941 Sub: Update POSHOLD mode 2017-03-22 16:02:00 -04:00
Jacob Walser 4233ebd005 Sub: Improve depth hold behavior 2017-03-22 15:53:38 -04:00
Jacob Walser fae6c084ac Sub: Add camera slew rate parameter 2017-03-22 15:53:38 -04:00
Jacob Walser 0966dcb665 Sub: Implement MAV_CMD_NAV_RETURN_TO_LAUNCH 2017-03-22 15:53:38 -04:00
Andrew Tridgell ed66190ca2 Sub: log home and origin on logging start 2017-03-14 10:51:15 +11:00
Jacob Walser 13b2b76cfe Sub: Enable circle nav parameters, and set default circle rate 2017-03-10 15:46:30 +11:00
Jacob Walser 7c552d3545 Sub: Remove unsused aux switch code 2017-03-10 15:46:30 +11:00
Jacob Walser c1959952b3 Sub: Bug fix for camera_tilt_smooth() conflict with RC_CHANNELS_OVERRIDE 2017-03-10 15:46:30 +11:00
Jacob Walser 0ce2896e22 Sub: Remove rc receiver code 2017-03-10 15:46:30 +11:00
Jacob Walser 5acfc164df Sub: Implement crash check 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 9f5605ff57 Sub: Implement DO_NAV_LAND commands.
Auto return to surface in analagous manner to Copter's auto land.
2017-03-10 15:46:30 +11:00
Jacob Walser fb9499fc6d Sub: Clean out defines.h 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 8dc09440d8 Sub: Implement guided mode 2017-03-08 15:58:28 -05:00
Jacob Walser 4a3917a349 Sub: Run rate controllers before AHRS/EKF update 2017-03-07 09:35:41 +11:00
Jacob Walser 8a24b074f7 Sub: Disable external baro check for SITL 2017-03-07 09:35:41 +11:00
Jacob Walser 15a7f7742f Sub: Implement circle mode 2017-03-07 09:35:41 +11:00
Jacob Walser 97396e65d1 Sub: Disable manual control failsafe for SITL 2017-03-07 09:35:41 +11:00
jaxxzer 1ec592a2c5 Sub: Implement NAV_CMD_LOITER_TURNS 2017-03-07 09:35:41 +11:00
Jacob Walser ca38a344f8 Sub: Remove unsupported autotune 2017-03-07 09:35:41 +11:00
Jacob Walser dacdd542b7 Sub: Remove unsupported compassmot 2017-03-07 09:35:41 +11:00
Jacob Walser 1bc1e3faeb Sub: Update Notify pre_arm_gps_flag 2017-03-02 15:12:31 -05: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
Jacob Walser a62d728933 Sub: Move arming checks under AP_Arming_Sub 2017-03-01 10:57:27 -05:00
Jacob Walser d21cd513cd Sub: Add AP_Arming_Sub class 2017-03-01 10:57:27 -05:00
Jacob Walser 262f3213e7 Sub: Ditch relative include path 2017-02-28 16:55:00 -05:00
Jacob Walser 8afb7fc96a Sub: Remove call to set_esc_scaling
This is now performed in motors library
2017-02-28 13:24:49 -05:00
Randy Mackay 6798162a98 Sub: use only downward facing rangefinder 2017-02-27 15:18:34 +09:00
Jacob Walser 81935f6b7c Sub: Handle RC input for SITL autotest 2017-02-25 17:50:18 +11:00
Andrew Tridgell 053f0b4ce7 Sub: fixed AHRS_View update 2017-02-24 15:51:11 -05:00
Jacob Walser 83b75db6b0 Sub: Increase interval between failsafe warnings 2017-02-22 16:41:41 -05:00
Jacob Walser 8495384031 Sub: Don't send battery percent remaining estimate 2017-02-22 16:41:41 -05:00
Jacob Walser b4be9682df Sub: Add explicit cast to supress warnings 2017-02-22 11:25:18 -08:00
Jacob Walser 8c67c16664 Sub: Implement relay joystick button functions 2017-02-22 14:42:23 +00:00
Jacob Walser ec0b073fbc Sub: Check for BARO_TYPE_WATER before assigning depth sensor 2017-02-21 11:26:14 +11:00
Jacob Walser 84c3c0d234 Sub: Add support for AP_AHRS_View 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
Jacob Walser 88b3e7e11d Sub: Use default StorageManager layout instead of copter layout 2017-02-21 11:26:14 +11:00
Jacob Walser 840521ac8c Sub: Remove transect mode
This experimental mode is no longer relevant
2017-02-21 11:26:14 +11:00
Jacob Walser 7b214a0088 Sub: Clean up parameter conversion code 2017-02-21 11:26:14 +11:00
Jacob Walser dcafb2c894 Sub: Default FS_LEAK_ENABLE to FS_LEAK_WARN_ONLY 2017-02-21 11:26:14 +11:00
Jacob Walser 36096550b8 Sub: Set frame type flag for AP_Param 2017-02-21 11:26:14 +11:00
Jacob Walser 279b11e392 Sub: Set GND_EXT_BUS to 1 by default 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 942d6450d2 Sub: AP_Baro library takes care of baro type 2017-02-21 11:26:14 +11:00
Jacob Walser fb8a61df22 Sub: Fix RC and SERVO parameter paths 2017-02-21 11:26:14 +11:00
Jacob Walser 3f38b99585 Sub: Set BRD_SAFETYENABLE to disabled by default 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 2d29698df8 Sub: Use AP_Baro::baro_type_t 2017-02-21 11:26:14 +11:00
Jacob Walser cb0cf2035d Sub: Refactor to fence.get_safe_alt_min() and fence.get_safe_alt_max() 2017-02-21 11:26:14 +11:00
Jacob Walser 9c0ddf2808 Sub: Remove stale comments and devlist from ArduSub.cpp 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 8d60a34474 Sub: Switch to AC_PosControl_Sub 2017-02-21 11:26:14 +11:00
Jacob Walser 565afc23ad Sub: Switch to AC_AttitudeControl_Sub 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 ea05804a94 Sub: fix frame report and -Wundef warning 2017-02-21 11:26:14 +11:00
Jacob Walser e0cd1d0679 Sub: Remove frame-specific waf targets 2017-02-21 11:26:14 +11:00
Jacob Walser 16d27c05ea Sub: add version.h (missed in rebase on ardupilot master) 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 3e97cc5b46 Sub: Log manual control failsafe occurances 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 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 c54e464e8c Sub: Update release notes for v3.4 release 2017-02-21 11:26:14 +11:00
Jacob Walser 6bc84a0e9a Sub: Finalize frame definitions and frame config metadata 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 7c849f1e52 Sub: Fixup parameter metadata 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 d237887d08 Sub: Require initial contact with GCS before entering failsafe. 2017-02-21 11:26:14 +11:00
Jacob Walser 48d5bf7cff Sub: Change default depth hold pids 2017-02-21 11:26:14 +11:00
Jacob Walser 10ff379938 Sub: Change software type to 40 to identify as Sub instead of copter 2017-02-21 11:26:14 +11:00
Jacob Walser bb3e32d391 Sub: Make checks stricter on flight mode init
Also return fail mode init for unimplemented modes
2017-02-21 11:26:14 +11:00
Jacob Walser 3ddb714e20 Sub: Change default depth control parameters 2017-02-21 11:26:14 +11:00
Jacob Walser 21b5309e5d Sub: Configure default flight modes 2017-02-21 11:26:14 +11:00
Jacob Walser b7e419cf9c Sub: Configure default joystick buttons 2017-02-21 11:26:14 +11:00
Jacob Walser 9ec79ab654 Sub: Remove RC radio failsafe 2017-02-21 11:26:14 +11:00
Jacob Walser 23122f4b90 Sub: Add camera tilt servo center parameter 2017-02-21 11:26:14 +11:00
Jacob Walser 6562e14634 Sub: Change default GCS failsafe to disarm 2017-02-21 11:26:14 +11:00
Jacob Walser 5bd2af6b77 Sub: Add throttle channel gain scalar parameter 2017-02-21 11:26:14 +11:00
Jacob Walser e61bf46882 Sub: Implement mode_toggle joystick button function 2017-02-21 11:26:14 +11:00
Jacob Walser b108620742 Sub: Change default pwm frequency to 200Hz 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 7b1347da79 Sub: Initialize control mode to flightmode 1 2017-02-21 11:26:14 +11:00
Jacob Walser 544ea2ecd4 Sub: Fix parameter metadata 2017-02-21 11:26:14 +11:00
Jacob Walser 4278ae8a64 Sub: Fix surface/bottom detector logic 2017-02-21 11:26:14 +11:00
Jacob Walser fdf9e5fde0 Sub: Fix unused variables in acro and stabilize 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 d11b07bd4f Sub: Remove PILOT_THR_BEHAVIOR parameter and disable auto_disarm_check() 2017-02-21 11:26:14 +11:00
Jacob Walser cfc94b65f5 Sub: add AP_Beacon to wscript 2017-02-21 11:26:14 +11:00
Jacob Walser 8d2203b437 Sub: Remove use of throttle-hover 2017-02-21 11:26:14 +11:00
Jacob Walser d83898db8c Sub: Change EEPROM format version to 1
This will cause eeprom to be wiped, and defaults loaded when flashing
firmware from earlier versions.
2017-02-21 11:26:14 +11:00
Jacob Walser 538e3f9c8f Sub: Reorganize parameters
Parameter enum indices reordered
Also removed unused input_manager
2017-02-21 11:26:14 +11:00
Jacob Walser e66ba2ad74 Sub: Hide Circle Nav parameters from user 2017-02-21 11:26:14 +11:00
Jacob Walser 0d575681de Sub: Remove RTL 2017-02-21 11:26:14 +11:00
Jacob Walser 23e460d71d Sub: Disable Rally and Terrain by default 2017-02-21 11:26:14 +11:00
Jacob Walser bb762092e8 Sub: Disable optical flow by default 2017-02-21 11:26:14 +11:00
Jacob Walser 3010114adb Sub: Disable CH6 Tuning 2017-02-21 11:26:14 +11:00
Jacob Walser 69d89c5871 Sub: Remove LAND parameters 2017-02-21 11:26:14 +11:00
Jacob Walser 19afd7a3dd Sub: Remove simple mode parameters, and disable simple modes 2017-02-21 11:26:14 +11:00
Jacob Walser 9aa05e1195 Sub: Remove (unused) PHLD parameters 2017-02-21 11:26:14 +11:00