Commit Graph

32 Commits

Author SHA1 Message Date
Josh Henderson 69997626d3 Sub: modes keep controllers initialized when disarmed 2021-09-28 17:03:16 +10:00
Leonard Hall c2f7702094 Sub: Separate landing and terrain following. 2021-09-06 16:00:19 +09:00
Leonard Hall 48a99df2b3 Sub: seperate kinimatic shaping from pid limit setting 2021-07-10 20:25:05 +09:00
Leonard Hall 266bd22df3 Sub: Use PosControl fixes 2021-05-24 20:13:37 +10:00
Randy Mackay 0ab4a184d4 Sub: support circle with terrain altitude 2020-04-16 17:30:29 +09:00
Willian Galvani 4b16271b3d Sub: Remove rangefinder support of control loops
The rangefinder handling doesn't handle sonar glitches like
locking on to reflections very well. We will remove the
rangefinder as an input to the controllers until we can do a
more robust implementation.
2019-06-05 11:54:45 -04:00
Peter Barker cb88bc7f53 Sub: adjust for desired spool state renames 2019-04-14 12:18:03 +09:00
Leonard Hall d8d3522cba Sub: replace set_throttle_out_unstabilized 2019-04-08 09:42:21 +09:00
Randy Mackay aa7743e991 Sub: integrate AC_WPNav::get_speed rename to get_default_speed 2019-01-31 19:34:32 +09:00
Randy Mackay 8ba87171e6 Sub: desired-ground-idle replaces spin-when-armed 2019-01-15 11:41:44 +09:00
Michael du Breuil 27fad4489e Sub: Cope with AC_PosControl renaming 2018-09-20 15:15:45 -07:00
Randy Mackay 2154d08185 Sub: remove setting of pos-con jerk 2018-03-16 13:50:57 +09:00
Randy Mackay da17034a3d Sub: replace smoothing gain with AC_AttitudeControl::set_input_tc 2018-03-16 13:50:57 +09:00
ChrisBird 0fb679b2b2 Sub: Separate max ascent and descent speeds
This is to match a change made to Copter.

It might be relevant to sub in that users may wish to have asymmetrical descent and ascent rates.

New parameters named:
PILOT_SPEED_UP (technically renamed PILOT_VELZ_MAX)
PILOT_SPEED_DN

Removed parameter PILOT_VELZ_MAX (technically renamed to PILOT_SPEED_UP).

Modes impacted:
ALT_HOLD
CIRCLE
POSHOLD

Update a section in GUIDED mode but I don't think it is ever used but update just in case.

It will use the PILOT_SPEED_UP for ascending max velocity.  For down it will check if
it is 0, if so then it will PILOT_SPEED_UP instead, if non zero it will use PILOT_SPEED_DN.
This retains current behavior and gives the flexibility to change it if desired.

The above behavior is less of a concern for Sub but to keep it consistent its been implemented it the same way.
2017-12-28 15:16:08 -05:00
Jacob Walser f7c4810eaa Sub: Remove ignore_check argument from control mode init functions 2017-04-16 14:25:13 -04:00
Jacob Walser 84527d6e66 Sub: Remove unused auto_armed flag 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 15a7f7742f Sub: Implement circle mode 2017-03-07 09:35:41 +11:00
Jacob Walser 1990aa7829 Sub: Update stale references to Copter 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 852374ab4d Sub: Manual control failsafe 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 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
Rustom Jehangir 814605c461 Sub: Make changes to match Copter changes 2017-02-21 11:26:14 +11:00
Rustom Jehangir 26d0a922c1 Sub: Changes to match recent Copter updates. 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 6cf24c2770 Sub: Remove heli support from sub. 2017-02-21 11:26:14 +11:00
Rustom Jehangir 83ff3931b8 Sub: Refactor "Copter" to "Sub". 2017-02-21 11:26:14 +11:00
Rustom Jehangir 3da7c95e9b Sub: New vehicle type, derived from ArduCopter. 2017-02-21 11:26:14 +11:00