Dennis Mannhart
ccd0be82ba
FlightTaskManualAltitude: if flow is on, ensure minimum altitude
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
Beat Küng
0eaa6222a2
flight tasks: refactor BlockParam -> Param and handle param updates
2018-04-11 07:47:06 +02:00
Matthias Grob
eaf4f99e38
FlightTasks: adapt tasks to member setpoints
...
The FlightTaskManual... tasks already had their internal
setpoint member variables. I switched them to use the
architecture with setpoint member variables as it was
implemented the commit before. They simplify a lot.
2018-04-05 07:30:12 +02:00
Dennis Mannhart
421aeb69d8
FlightTaskManual: transformation into heading frame use vehicle yaw or yaw_sp based
...
on vehicle rotation in yaw
2018-04-05 07:30:12 +02:00
Dennis Mannhart
017576262c
FlightTaskManual: replace yaw with yaw_sp for rotation
2018-04-05 07:30:12 +02:00
Dennis Mannhart
c15b114cad
FlightTaskManualAltitude: remove member setpoints and update method
2018-04-05 07:30:12 +02:00
Matthias Grob
d22af4679d
FlightTaskManualAltitude/Position: renamed and recommented velocity hold threshold
2018-04-05 07:30:12 +02:00
Matthias Grob
6fb9ca3b0c
FlightTasks: corrected comment and sorted out unnecessary includes
2018-04-05 07:30:12 +02:00
Dennis Mannhart
153b012df6
FlighTaskManual lock condition: rename boolean
2018-04-05 07:30:12 +02:00
Dennis Mannhart
efc2721add
FlightTaskManualAltitude: rename method from updateZsetpoints to updateAltitudeLock
2018-04-05 07:30:12 +02:00
Dennis Mannhart
3d591f4f8c
FlightTaskManualAltitude: thrust along xy depends on thrust along z direction
2018-04-05 07:30:12 +02:00
Dennis Mannhart
157814b710
FlightTaskManualAltitude/Position/Stabilized: activate with 0 velocity and hover thrust
2018-04-05 07:30:12 +02:00
Dennis Mannhart
a74c1116ee
mc_pos_control/PositionControl: enable thrust setpoint
2018-04-05 07:30:12 +02:00
Dennis Mannhart
d7c48ea5f2
FlightTaskManualAltitude/Position: set thrust setpoint to NAN (only temporary)
2018-04-05 07:30:12 +02:00
Dennis Mannhart
44e4c12eb5
FlightTaskManualAltitude: Comments update
2018-04-05 07:30:12 +02:00
Dennis Mannhart
25ff03445e
FlightTasks: remove description from cpp files
2018-04-05 07:30:12 +02:00
Dennis Mannhart
24b5d30a0a
FlightTaskManualAltitude: remove everything related to yaw, which is now
...
handled by FlightTaskManualStabilized. Make altitude lock more simple
2018-04-05 07:30:12 +02:00
Dennis Mannhart
720271332d
FlightTaskManual/Alt/Position: update comments
2018-04-05 07:30:12 +02:00
Dennis Mannhart
55b6f19367
FlightTaskManual: remove stick_deadzone because base class already has it.
...
Remove deadzone check for vel in xy/z because expo already contains deadzone
2018-04-05 07:30:12 +02:00
Dennis Mannhart
46c7b1c26c
FlightTaskManualAltitude: fix position lock; use default constructor for initialization
2018-04-05 07:30:12 +02:00
Dennis Mannhart
f1b3010c70
FlightTaskManualAlt/Pos: add deadzone fox xy/z
2018-04-05 07:30:12 +02:00
Dennis Mannhart
ec4089cebf
FlightTaskManualAltitude: add deadzone for yaw
2018-04-05 07:30:12 +02:00
Dennis Mannhart
deac27ee52
FlightTaskManualAltitude: brake depends on acceleration; description clean up
2018-04-05 07:30:12 +02:00
Dennis Mannhart
10a50dd97e
FlightTaskManual: switch to camel case
2018-04-05 07:30:12 +02:00
Dennis Mannhart
6e63ddacd2
yaw setpoint: add math::radians
2018-04-05 07:30:12 +02:00
Dennis Mannhart
b5c19f6483
FligtTaskManualAltitude: split functionality such that scale_stick values and the update_setpoints can be overwritten
2018-04-05 07:30:12 +02:00
Dennis Mannhart
4f5fa33e74
FlightTaskManualAltitude: scale stick z to velocity
2018-04-05 07:30:12 +02:00