Commit Graph

27 Commits

Author SHA1 Message Date
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
Willian Galvani 385f440d90 Sub: update control_poshold to use AC_PosControlSub 2020-08-03 20:19:28 -07: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 8ba87171e6 Sub: desired-ground-idle replaces spin-when-armed 2019-01-15 11:41:44 +09:00
Peter Barker 47b5cf98ea Sub: make libraries get EKF control limits themselves 2018-10-09 10:47:38 +11:00
Michael du Breuil 27fad4489e Sub: Cope with AC_PosControl renaming 2018-09-20 15:15:45 -07:00
Leonard Hall ccb30d44ac Sub: Missing Loiter Init on accel 2018-09-19 17:29:55 +09:00
Randy Mackay defdeaed95 Sub: integrate AC_Loiter 2018-04-04 10:45:10 +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 8ebfcdec6e Sub: Remove stale commented code 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 6886952438 Sub: Remove simple mode 2017-03-22 23:39:37 -04:00
Jacob Walser 0ea0f0c941 Sub: Update POSHOLD mode 2017-03-22 16:02:00 -04: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
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 de669c1d41 Sub: Change M_PI to match Copter. 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