Martina
3fe2646d80
FlightTaskAuto: add comments and fix variable naming convention
2018-08-02 09:23:17 +02:00
Martina
f379035a3b
FlightTaskAuto: move generation of the the internal waypoints to FlightTaskAuto such that they are available to all derived classes.
...
Change logic to update the internal triplets only when the navigator triplets have changed or when the vehicle state has changed.
2018-08-02 09:23:17 +02:00
Dennis Mannhart
83cc2b0e72
FlightTaskAuto: reset lock position to NAN
2018-07-20 09:26:18 +02:00
Dennis Mannhart
c12dcb4eed
FlightTaskAuto: take care of case when triplet.lat/lon are invalid, which corresponds
...
to position lock.
2018-07-20 09:26:18 +02:00
Dennis Mannhart
ee7d5c3f38
FlightTaskAuto: remove unused member variable
2018-07-20 09:26:18 +02:00
Dennis Mannhart
bd2de0e585
FlightTaskAuto: valid target is required and valid reference
2018-07-20 09:26:18 +02:00
Dennis Mannhart
dca378fbfd
FollowMe: legacy implementation. NOTE: FOLLOW-ME is already broken on legacy code.
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
4d6539b076
FlightTaskAuto: override default constraints
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
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
aef6b9216e
FlightTasksAuto/Line: replace BlockParams with module params
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
19743bcaec
FlightTaskAuto: comments refactor
2018-07-20 09:26:18 +02:00
Dennis Mannhart
e2ac12ef2c
FlightTask: comment fixes
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
Dennis Mannhart
913932ff9e
FlightTask: move geo-lib include to FlightTaskAuto where it is required
...
for conversion from global to local
2018-07-20 09:26:18 +02:00
Dennis Mannhart
a401778038
FlightTask: remove global to local map
2018-07-20 09:26:18 +02:00
Dennis Mannhart
0efbbdc227
FlightTaskAutoLine: replace xy/z setpoints with FlightTask base setpoints
2018-07-20 09:26:18 +02:00
Dennis Mannhart
338130a9b4
FlightTaskAuto: simplify logic by just updating waypoints if anything has changed
2018-07-20 09:26:18 +02:00
Dennis Mannhart
171c19c3ca
FlightTaskAutoLine: override _reset method
2018-07-20 09:26:18 +02:00
Dennis Mannhart
69ea4df45c
FlightTaskAuto: pure virtual reset method
2018-07-20 09:26:18 +02:00
Dennis Mannhart
6e62beb560
FlightTaskAuto: abstract class for mapping triplets to quadruple
...
FlightTaskAuto: add type that corresponds to triplet type
FligthTaskAuto: set all setpoints if invalid in xy
FlightTaskAuto: cast triplet type to WaypointType
FlightTaskAutoLine: class for px4 legacy auto
FlightTaskAutoLine: methods prototype
FlightTaskAuto: change sp to wp (=Waypoint)
add params
FlightTaskAutoLine: follow waypoints along line based on flight state
2018-07-20 09:26:18 +02:00