26685 Commits

Author SHA1 Message Date
Dennis Mannhart
7d7a2dffbf Smoothing-classes: initialize to parameters 2018-07-20 09:26:18 +02:00
Dennis Mannhart
5ef2a61be5 ManualSmoothingXY: ensure that maximum speed is correctly propagated to the smoothing class 2018-07-20 09:26:18 +02:00
Dennis Mannhart
9df337e243 FlightTaskManualPosition: adjust scale based on vehicle maximum allowed speed sent by estimator 2018-07-20 09:26:18 +02:00
Dennis Mannhart
66d5f2ffd2 FlightTaskAuto: reference update only if refence altitude has not bee set. 2018-07-20 09:26:18 +02:00
Dennis Mannhart
45810ec2b4 PositionControl: replace constraint structure with new constraint message structure 2018-07-20 09:26:18 +02:00
Dennis Mannhart
9e740f1aff FlightTaskManualAlt/Position/Sport: replace limits with constraint member structure 2018-07-20 09:26:18 +02:00
Dennis Mannhart
6f704bd1e4 FlightTaskManualStabilized: replace limit with new member constraints structure 2018-07-20 09:26:18 +02:00
Dennis Mannhart
dbb222e6ed FlightTaskAutoLine: set landing constraints and reset constraints 2018-07-20 09:26:18 +02:00
Dennis Mannhart
4d6539b076 FlightTaskAuto: override default constraints 2018-07-20 09:26:18 +02:00
Dennis Mannhart
962c2eff61 FlightTask: rename mehtod and add default parameter for constraints 2018-07-20 09:26:18 +02:00
Dennis Mannhart
edb2e3256f FlightTask: getConstraints method and member 2018-07-20 09:26:18 +02:00
Dennis Mannhart
9f11f1afcf vehicle constraint message: fix range comment 2018-07-20 09:26:18 +02:00
Dennis Mannhart
0f4be12646 msg: first draft of vehicle_constraints message 2018-07-20 09:26:18 +02:00
Dennis Mannhart
51d4c1f305 FlightTasks: add getter method for constraints 2018-07-20 09:26:18 +02:00
Dennis Mannhart
63871bb4a5 FlightTaskManualAltitude: update comments 2018-07-20 09:26:18 +02:00
Dennis Mannhart
19bd7a9163 FlightTaskManualAltitude: terrain following 2018-07-20 09:26:18 +02:00
Dennis Mannhart
ccd0be82ba FlightTaskManualAltitude: if flow is on, ensure minimum altitude 2018-07-20 09:26:18 +02:00
Dennis Mannhart
93ebb60b84 FlightTaskAutoLine: distance to bottom depending on the mode 2018-07-20 09:26:18 +02:00
Dennis Mannhart
e1bc7a8e0a FlightTask.cpp resetSetpoints if subsctiption fails 2018-07-20 09:26:18 +02:00
Dennis Mannhart
5a4701c7de Flighttask: update comments 2018-07-20 09:26:18 +02:00
Dennis Mannhart
97be84b0e4 FlightTask: introduce method for limits and adjust accordingly for all the tasks 2018-07-20 09:26:18 +02:00
Dennis Mannhart
73b4f452cc FlightTask: add distance to bottom 2018-07-20 09:26:18 +02:00
Dennis Mannhart
1759e181dc FlightTaskAutoLine: legacy support velocity ramp at low altitude 2018-07-20 09:26:18 +02:00
Dennis Mannhart
7d30db1395 FlightTaskAuto: subscribe to home position 2018-07-20 09:26:18 +02:00
Dennis Mannhart
24e6e4041f PositionControl: format clean up 2018-07-20 09:26:18 +02:00
Dennis Mannhart
89c0259b2a PositionControl: replace overwrite with ModuleParams updateParams method 2018-07-20 09:26:18 +02:00
Dennis Mannhart
6d716f2d26 px4_module_params: make updateParams virtual 2018-07-20 09:26:18 +02:00
Dennis Mannhart
4c1fcca294 PositionControl.cpp: replace all params with ModuleParams type. Add method that overwrites
parameter values
2018-07-20 09:26:18 +02:00
Dennis Mannhart
7dbc368779 PositionControl.hpp: inherit from ModuleParams and replace params with ModuleParams type 2018-07-20 09:26:18 +02:00
Dennis Mannhart
aef6b9216e FlightTasksAuto/Line: replace BlockParams with module params 2018-07-20 09:26:18 +02:00
Dennis Mannhart
6cfb89a8e8 test_controlmath rebase fix: EPS to FLT_EPSILON 2018-07-20 09:26:18 +02:00
Dennis Mannhart
caa773008a PositionControl: degrees to radians 2018-07-20 09:26:18 +02:00
Dennis Mannhart
4a9e5941b6 mc_pos_control and FlightTaskAuto rebase fix 2018-07-20 09:26:18 +02:00
Dennis Mannhart
4761f0a344 PositionControl: bug fix Pv replacement with Pp 2018-07-20 09:26:18 +02:00
Dennis Mannhart
83f6398e93 ControlMath: comments refactor 2018-07-20 09:26:18 +02:00
Dennis Mannhart
19743bcaec FlightTaskAuto: comments refactor 2018-07-20 09:26:18 +02:00
Dennis Mannhart
c01fab089a PositionControl parameter renaming. Use the the name as stored in the metadata 2018-07-20 09:26:18 +02:00
Dennis Mannhart
cf59c2a2ac PositionControl/mc_pos_control: update comments 2018-07-20 09:26:18 +02:00
Dennis Mannhart
673945f28b PositionControl: check if constraints are below global maximum 2018-07-20 09:26:18 +02:00
Dennis Mannhart
1cde38f82f FlightTaskAuto: always update yaw 2018-07-20 09:26:18 +02:00
Dennis Mannhart
29391acbca FlightTaskAutoLine: fix greater sign 2018-07-20 09:26:18 +02:00
Dennis Mannhart
60a9b45c88 Positioncontrol: limit velocity upwards during smooth takeoff 2018-07-20 09:26:18 +02:00
Dennis Mannhart
0f4eb8e766 PositionControl: add integral reset methods 2018-07-20 09:26:18 +02:00
Dennis Mannhart
65a9cd171f PositionControl: variable replacement 2018-07-20 09:26:18 +02:00
Dennis Mannhart
e2ac12ef2c FlightTask: comment fixes 2018-07-20 09:26:18 +02:00
Dennis Mannhart
c6b5731086 test_controlmath: add first few tests for constrain function in xy 2018-07-20 09:26:18 +02:00
Dennis Mannhart
c60481614e ControlMath constrainxy: fix one of the condition 2018-07-20 09:26:18 +02:00
Dennis Mannhart
386b70dc58 ControlMath: add derivation and simplify computation 2018-07-20 09:26:18 +02:00
Dennis Mannhart
99de97a528 FlightTaskAuto: fix global reference update 2018-07-20 09:26:18 +02:00
Dennis Mannhart
b7f729e432 FlightTask: split _evalutateVehiclePosition into _evaluateVehicleLocalPosition
and _evaluateVehicleGlobalPosition
2018-07-20 09:26:18 +02:00