Commit Graph

460 Commits

Author SHA1 Message Date
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