1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-10 18:24:11 +01:00
Commit Graph

80 Commits

Author SHA1 Message Date
Jan NIJS
18f5e76f3a LP-598 Fix auto-takeoff velocity
Velocity setpoint with the wrong sign, causing the uav to remain on the ground during the first autotakeoff.
2018-05-01 19:58:56 +02:00
Lalanne Laurent
66bbc2b47b Merged in f5soh/librepilot/LP-576_Default_Yaw_stabilization_automomous_modes (pull request #492)
LP-576 Made AxisLock as default for Yaw stabilization in all autonomous modes.

Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
2018-04-29 17:28:47 +00:00
Laurent Lalanne
938bd7e6fd LP-576 Made AxisLock as default for Yaw stabilization in all autonomous modes. 2018-02-06 19:41:16 +01:00
Laurent Lalanne
5be3aad67b LP-569 Ignore YawControl while using PosHold, AutoTakeOff and AutoCruize 2017-12-17 18:53:40 +01:00
Vladimir Zidar
0b317f8208 LP-173 Remove explicit calls to remaining settings objects: EKFConfiguration, HomeLocation, RevoCalibration and TakeOffLocation 2017-10-17 13:39:22 +02:00
Vladimir Zidar
b2f548b2ed LP-173 Add settings initcall type. Add SETTINGS_INITIALISE_ALL to board files. Remove all manual settings objects initializations. 2017-10-17 13:25:25 +02:00
paul Jewell
dcb3d760db LP-289 Updated copyright notices 2017-03-09 19:43:24 +01:00
paul Jewell
ebc4b16d9a LP-289 Clean up comments and uncrustify 2017-03-09 19:43:24 +01:00
paul Jewell
a19bd40259 LP-289 cleaned up PIDControlNE::UpdateParameters() 2017-03-09 19:43:23 +01:00
Philippe Renon
1c222bdf09 LP-402 remove unused taskinfo and callbackinfo includes 2017-01-16 09:04:37 +01:00
Corvus Corax
e1394febb0 LP-295 fixed file headers for all touched files 2016-04-25 18:45:35 +02:00
Corvus Corax
bf80ede401 LP-295: fixed comments and formatting 2016-04-25 18:12:31 +02:00
Corvus Corax
47d2746fba LP-295: uncrustify 2016-04-25 17:37:06 +02:00
Corvus Corax
5285689541 Merge branch 'next' into corvuscorax/OP-1900_fixedwingautotakeoff_rebaserc6 2016-04-23 02:08:13 +02:00
Alessio Morale
d20d1ab295 LP-89 - Port OP_15.05.01 fixes. Release notes:
--- RELEASE-15.05.01 HOTFIX --- Banana Split ---
This release fixes an important bug.  All Revolution hardware running 15.05 should upgrade to 15.05.01. Note that this is a hotfix; it can
simply be flashed without an erase settings. Furthermore, please review your vtolpathfollowersettings:HorizontalVelMax; a value of around 4m/s would be more appropriate for preliminary trialing of a new release and will be changed in future.

Release Notes - OP Next Generation - Version OP15.05.01

** Bug
    * [NG-55] - 15.05 PositionHold exhibits fly-away behaviour at the vtolpathfollowersettings maxRollPitch and HorizontalVelMax values.
---
 WHATSNEW.txt                                      | 13 ++++++++++-
 flight/libraries/pid/pidcontroldown.cpp           | 26 ++++++++++-----------
 flight/libraries/plans.c                          | 28 +++++++++++++++++++----
 flight/modules/PathFollower/inc/pidcontrolne.h    |  1 -
 flight/modules/PathFollower/pidcontrolne.cpp      | 23 +++++++++++++++----
 flight/modules/PathFollower/vtolflycontroller.cpp | 16 ++++++++-----
 6 files changed, 77 insertions(+), 30 deletions(-)
2015-09-19 16:05:49 +02:00
Corvus Corax
cc3b10060f OP-1900 have path_progress updated correctly for leg_remaining and error_below end conditions to work in fixedwingautotakeoff 2015-06-04 12:51:48 +02:00
Corvus Corax
23dab7e0b6 OP-1900 added deceleration check to autotakeoff failsafe 2015-06-04 12:51:48 +02:00
Corvus Corax
23f9f4d9c9 OP-1900 add failsafe to FW pathfollower to fly safely without valid airspeed estimate 2015-06-04 12:51:47 +02:00
Corvus Corax
ccfe39633e OP-1900 Put Sequencing state machine for vixed wing autotakeoff out of plan.c and into vtolautotakeoffcontroller, removed all special casing for autotakeoff and land from outside of pathfollower itself and code in plans.c - especially cleaned up pathplanner.c and made mode agnostic (which it should be) - added optional rewinding for pathplans 2015-06-04 12:51:47 +02:00
Corvus Corax
4b7edee534 OP-1900 Fixed Constructor calling chain 2015-06-04 12:51:47 +02:00
Corvus Corax
fe01c6c69e give me an I! 2015-06-04 12:51:47 +02:00
Corvus Corax
d7f0490522 OP-1900 fixed header file name references 2015-06-04 12:51:46 +02:00
Corvus Corax
9a6cf9d21b OP-1900 OP-1054 added emergency thrust cutoff feature to main fixed wing autopilot on loss of control 2015-06-04 12:51:46 +02:00
Corvus Corax
aac9159e87 OP-1900 OP-1054 Autotakeoff and Land controllers for fixed wing 2015-06-04 12:51:46 +02:00
abeck70
0ffd9e764d REVONANO fix compile error in vtolbrakefsm 2015-05-29 09:04:59 +10:00
abeck70
78b56b29e0 REVONANO Tuning of altvario and braking 2015-05-28 08:47:26 +10:00
abeck70
4a78602da2 REVONANO Guidance alarm clearing on change of mode 2015-05-25 22:26:06 +10:00
abeck70
bddb9377a4 REVONANO Land and Takeoff uav changes removing abort state. 2015-05-25 22:25:07 +10:00
abeck70
cdf1b88cc0 REVONANO VelocityRoam fixes
1. New VelocityRoamHorizontalVelPID to allow tuning of VR independent of pathfollower nav modes
2015-05-25 22:24:06 +10:00
abeck70
c5715b26af REVONANO Landing fixes
1. Forced disarm via guidance alarm critical on disarm state
2. Continue to zero stabi including yaw during disarm state just in case it doesn't actually disarm.
2015-05-25 22:21:53 +10:00
abeck70
7d66a075de REVONANO Fixes to AutoTakeoff
1. Fix autoyaw to 0 attitude on takeoff post launch.
2. An error condition abort now properly disarms and continues to contrain thrust and stabi during disarmed state.
3. Increase thrustdown time from 2 to 5 seconds on an error condition (e.g. if 3 m deviation from takeoff position on NE).
2015-05-25 22:19:01 +10:00
abeck70
50d60649aa REVONANO Fix BrakeController to use vtol VerticalVelPID instead of LandVerticalVelPID 2015-05-25 22:13:13 +10:00
abeck70
89b40f3173 REVONANO: Landing and disarming fixes
Also prevent stabi control in land's disarm state
2015-05-25 08:50:33 +10:00
abeck70
d8f6a7827e REVONANO fix velocity mode use of altvario 2015-05-24 20:38:35 +10:00
abeck70
553728ffd8 REVONANO Trial Rate on Yaw during braking instead of AxisLock 2015-05-24 20:36:44 +10:00
abeck70
064a5e831b OP-1898 VelocityRoam gets its own MaxRollPitch
This allows smoother velocityroam flight
2015-05-22 21:23:10 +10:00
abeck70
7d603bc6cb OP-1847 gpsassist fix
Set assisted control state to HOLD when Brake controller transitions to HOLD.  This impacts throttle stick behavior as it is different during braking and on brake completion in the hold state.
Also cleanuped and removed unused/old code that triggered HOLD in plans.c
2015-05-16 20:33:03 +10:00
abeck70
43ec464737 OP-1848 altvario improvements
1. Avoid neutral thrust calcs in altvario typically used in forward flight
2. Capture stick state for debugging into altitudeholdstatus
2015-05-10 19:05:36 +10:00
abeck70
0ef6779701 OP-1848 altvario tidyup of NE controllers in pathfollower
Change ILimit variable name to Beta in multiple PID loops that now use pid2 implementation.
Change velocity controller yaw from axislock to rate.
2015-05-09 23:03:53 +10:00
abeck70
a9ad3c5ec1 Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1848r-altvario 2015-05-04 08:42:54 +10:00
Philippe Renon
9a312ef115 uncrustified 2015-05-02 16:46:35 +02:00
Philippe Renon
b4b93bee93 Merge remote-tracking branch 'origin/rvonlehe/OP-1740_UAV0_GetSetFunctionsTakeEnum' into next 2015-05-02 16:34:15 +02:00
abeck70
21c54c3a37 Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1848r-altvario 2015-05-01 22:59:36 +10:00
abeck70
210b15db4d OP-1858 autotakeoff in pathplanner
1. Allowing arming in pathplanner
2. Takeoff activation requires throttle to be above 30%
3. Takeoff occurs at the current/actual position and rises vertical to the settings altititude.
4. The details of the takeoff waypoint are effectively ignored - this is a simplicifcation to avoid having to have pathplanner inject a flyvector command from the current location to the waypoint
5. We hard code the condition check for autotakeoff as only one mode is supported.
2015-04-27 23:01:47 +10:00
Richard von Lehe
d22b96d24b OP-1740: Force latest Pathfollower changes to use uavobj enums. 2015-04-26 17:46:49 -05:00
Richard von Lehe
f3611591e0 Merge branch 'next' into rvonlehe/OP-1740_UAV0_GetSetFunctionsTakeEnum
Conflicts:
	flight/modules/PathFollower/inc/vtollandcontroller.h
	flight/modules/PathFollower/vtollandcontroller.cpp
	flight/modules/PathFollower/vtollandfsm.cpp
2015-04-26 17:45:36 -05:00
abeck70
d469a754bf OP-1848 ready for review
AltVario:
1. Uses new PID scheme
2. Runs at the outer loop rate to save CPU cycles
2015-04-23 15:51:09 +10:00
abeck70
955f314541 OP-1848 altvario rewrite - initial checkin
TODO: 1) update uavos 2) check dT
2015-04-23 15:46:47 +10:00
abeck70
d943f5a0ce OP-1760 autotakeoff
On landing stausvtolland state of DISARMED, armhandler  now detects this and disarms by force equivalent to a pathplanner alarm trigger.

To re-arm, one must leave the land flight mode.
2015-04-20 08:43:57 +10:00
abeck70
3a0c36f7d7 OP-1760 autotakeoff
Add sanity checks to protect from waypoint looping inpath planner.

If takeoff initiated and thrust > vtol_min, enter position hold, reflect copletion in pathstatus, and pathplanner will move to next waypoint in a very short period of time.
2015-04-19 18:46:40 +10:00