Commit Graph

121 Commits

Author SHA1 Message Date
Dennis Mannhart 5343e49d1e CmakeLists Task: add ManualSmoothingZ 2018-04-05 07:30:12 +02:00
Dennis Mannhart c4fbde395b ManualSmoothing: new class for smoothing setpoints generated from sticks 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 8bafdba4f9 FlightTaskManualStabilized: update comments 2018-04-05 07:30:12 +02:00
Dennis Mannhart 85a263c7bd vehicle local position setpoint: use array for thrust setpoint 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 716eea31cf FlightTaskManualStabalized: compute thrust setpoint from sticks 2018-04-05 07:30:12 +02:00
Dennis Mannhart 76ad00497b FlightTasks and local setpoint: add thrust setpoint 2018-04-05 07:30:12 +02:00
Dennis Mannhart 44e4c12eb5 FlightTaskManualAltitude: Comments update 2018-04-05 07:30:12 +02:00
Dennis Mannhart ad2c16c0ba FlightTaskManual: remove #include px4_defines.h 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 3b4870b2c2 FlightTaskManual: define as abstract class 2018-04-05 07:30:12 +02:00
Dennis Mannhart 46f0a14c28 FlightTaskStabilized: remove yaw prediction 2018-04-05 07:30:12 +02:00
Dennis Mannhart 5a6ca148ad CMakeListsts FlightTasks: add stabilized 2018-04-05 07:30:12 +02:00
Dennis Mannhart dcdf4d50a0 FlightTasks: add stabilized and fix switchTask for Altitude and Position 2018-04-05 07:30:12 +02:00
Dennis Mannhart 39731277ad FlightTaskSport: inherit from FlightTaskPosition; only change stickscaling 2018-04-05 07:30:12 +02:00
Dennis Mannhart 72624e14cb FlightTaskManualPosition: make position lock simpler; add underline for protected/private
methods
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 e763642a8b FlightTaskManualStabilized: this task will geerate thrust and yaw setpoints.
Thrust is not yet supported
2018-04-05 07:30:12 +02:00
Dennis Mannhart 4b856717b7 FlightTaskManual: replace hold_dz with stick_dz 2018-04-05 07:30:12 +02:00
Dennis Mannhart a9ac94dd83 Add FlightTasksManual/Altitude to position controller 2018-04-05 07:30:12 +02:00
Dennis Mannhart 98e4afaf6e FlightTaskSport: temporary inherit from FlightTaskManualPosition 2018-04-05 07:30:12 +02:00
Dennis Mannhart 3b0373afda FlightTaskManual: remove unused methods 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 e6f04ad34a FlightTaskManualPosition: fix position lock 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 cd1e01d5a0 FlightTaskManual: add px4_defines 2018-04-05 07:30:12 +02:00
Dennis Mannhart 6276d0a8ef FlightTasks CMakeLists: add FlightTaskManualPosition 2018-04-05 07:30:12 +02:00
Dennis Mannhart 26a5eae7b1 FlightTasks: add FlighttaskManualPosition 2018-04-05 07:30:12 +02:00
Dennis Mannhart 0afd0807bb FlightTaskPosition: brake depends on acceleration 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 6adc1755cc FlightTaskManualPosition: most basic implementation 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 ea61af3164 FlightTaskManualAltitude: added to lib 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
Dennis Mannhart 4dfd9ce8ed FlightTaskOrbit: replace sticks (which are now linear) with expo 2018-04-05 07:30:12 +02:00
Dennis Mannhart e076825d78 FlightTaskManual: remove everything except of stick mapping 2018-04-05 07:30:12 +02:00
Matthias Grob 2b6e356c91 FlightTaskManual: fix for the sideways oscillations in fast foward flight when using the vehicle yaw estimate 2018-04-05 07:30:12 +02:00
Matthias Grob 089ebcbfa4 FlightTaskManual: fix two very stupid mistakes in the yaw hold logic 2018-04-05 07:30:12 +02:00
Matthias Grob 37e0f91c39 FlightTaskSport: scale maximal stick input to maximal allowed velocity instead of being hardcoded for testing 2018-04-05 07:30:12 +02:00
Matthias Grob 6c0acf8e13 FlightTaskManual: enable non-carrot velocity method also for yaw 2018-04-05 07:30:12 +02:00
Matthias Grob 975ac11635 mc_pos_control: enable yawspeed execution for tasks 2018-04-05 07:30:12 +02:00
Matthias Grob a896332746 FlightTaskManual: fixed stick vector index bug and enabled basic yaw setpoint control 2018-04-05 07:30:12 +02:00