Commit Graph

  • 5a6ca148ad CMakeListsts FlightTasks: add stabilized Dennis Mannhart 2017-12-29 10:09:32 +01:00
  • dcdf4d50a0 FlightTasks: add stabilized and fix switchTask for Altitude and Position Dennis Mannhart 2017-12-29 10:09:05 +01:00
  • 39731277ad FlightTaskSport: inherit from FlightTaskPosition; only change stickscaling Dennis Mannhart 2017-12-29 10:07:41 +01:00
  • 72624e14cb FlightTaskManualPosition: make position lock simpler; add underline for protected/private methods Dennis Mannhart 2017-12-29 10:05:56 +01:00
  • 24b5d30a0a FlightTaskManualAltitude: remove everything related to yaw, which is now handled by FlightTaskManualStabilized. Make altitude lock more simple Dennis Mannhart 2017-12-29 10:04:47 +01:00
  • e763642a8b FlightTaskManualStabilized: this task will geerate thrust and yaw setpoints. Thrust is not yet supported Dennis Mannhart 2017-12-29 10:02:55 +01:00
  • 4b856717b7 FlightTaskManual: replace hold_dz with stick_dz Dennis Mannhart 2017-12-29 10:01:53 +01:00
  • a9ac94dd83 Add FlightTasksManual/Altitude to position controller Dennis Mannhart 2017-12-28 21:06:28 +01:00
  • 98e4afaf6e FlightTaskSport: temporary inherit from FlightTaskManualPosition Dennis Mannhart 2017-12-28 20:51:30 +01:00
  • 3b0373afda FlightTaskManual: remove unused methods Dennis Mannhart 2017-12-28 20:50:50 +01:00
  • 7a4796a6e3 rename TranslationControl to PositionControl Dennis Mannhart 2017-12-28 16:19:54 +01:00
  • b4d56ed51a mc_pos_control: publish yaw_move_rate Dennis Mannhart 2017-12-28 15:09:29 +01:00
  • 1cad36efb9 ControlMath: use sign for direction Dennis Mannhart 2017-12-28 09:57:29 +01:00
  • b0b72e63e7 TranslationControl: remove throttle Dennis Mannhart 2017-12-28 09:47:32 +01:00
  • 6a4e3bb94e TranslationControl: update comments Dennis Mannhart 2017-12-24 16:20:51 +01:00
  • 720271332d FlightTaskManual/Alt/Position: update comments Dennis Mannhart 2017-12-24 16:02:50 +01:00
  • 55b6f19367 FlightTaskManual: remove stick_deadzone because base class already has it. Remove deadzone check for vel in xy/z because expo already contains deadzone Dennis Mannhart 2017-12-22 21:01:06 +01:00
  • 8da2ff4d77 mc_pos_control: set local position setpoint message for idle; for logging purpose, always send local position setpoint when in air Dennis Mannhart 2017-12-22 20:45:50 +01:00
  • e6f04ad34a FlightTaskManualPosition: fix position lock Dennis Mannhart 2017-12-22 20:43:58 +01:00
  • 46c7b1c26c FlightTaskManualAltitude: fix position lock; use default constructor for initialization Dennis Mannhart 2017-12-22 20:43:37 +01:00
  • ac4379d13f TranslationControl: initialize with default constructor Dennis Mannhart 2017-12-22 17:55:55 +01:00
  • e1ab31a5fc TranslationControl: replace matrix::Vector3f with Data Dennis Mannhart 2017-12-22 17:55:25 +01:00
  • f1b3010c70 FlightTaskManualAlt/Pos: add deadzone fox xy/z Dennis Mannhart 2017-12-22 17:54:51 +01:00
  • ec4089cebf FlightTaskManualAltitude: add deadzone for yaw Dennis Mannhart 2017-12-22 17:53:00 +01:00
  • cd1e01d5a0 FlightTaskManual: add px4_defines Dennis Mannhart 2017-12-22 09:41:31 +01:00
  • 6276d0a8ef FlightTasks CMakeLists: add FlightTaskManualPosition Dennis Mannhart 2017-12-22 09:41:16 +01:00
  • 26a5eae7b1 FlightTasks: add FlighttaskManualPosition Dennis Mannhart 2017-12-22 09:40:47 +01:00
  • ddecb4d3a4 teest_controlmath: incomplete set of thrust to attitude tests Dennis Mannhart 2017-12-22 09:40:18 +01:00
  • 0afd0807bb FlightTaskPosition: brake depends on acceleration Dennis Mannhart 2017-12-22 09:38:55 +01:00
  • bcbd3dc527 ControlMath: thrust to attitude method (legacy method) Dennis Mannhart 2017-12-22 09:38:03 +01:00
  • adcb2b9ca8 TranslationControl: index fix Dennis Mannhart 2017-12-22 09:37:30 +01:00
  • 840247251d ControlMath: sign fix Dennis Mannhart 2017-12-22 09:37:09 +01:00
  • deac27ee52 FlightTaskManualAltitude: brake depends on acceleration; description clean up Dennis Mannhart 2017-12-22 09:36:46 +01:00
  • 09bf73945a ControlMath: rename namespace to file name Dennis Mannhart 2017-12-22 09:28:14 +01:00
  • 10a50dd97e FlightTaskManual: switch to camel case Dennis Mannhart 2017-12-21 09:57:57 +01:00
  • 3b8c718971 TranslationControl: rename variable Dennis Mannhart 2017-12-21 09:51:32 +01:00
  • 2a544cee43 TranslationControl: use reference insteady of by value Dennis Mannhart 2017-12-20 20:06:34 +01:00
  • ded8675dae ControlMath: change description name Dennis Mannhart 2017-12-20 17:57:12 +01:00
  • 5fbee9fce9 ControlMath tests Dennis Mannhart 2017-12-20 17:32:37 +01:00
  • 03c81a8948 ControlMath: never saturate in xy when vector is below minimum Dennis Mannhart 2017-12-20 17:31:18 +01:00
  • 6daf78494a TranslationControl: adjust direction based on constrainPIDu inputs Dennis Mannhart 2017-12-20 17:30:15 +01:00
  • 75b6af77de ControlMath: fix index and don't adjust sign with method but rather function caller needs to adjust for sign Dennis Mannhart 2017-12-20 16:36:57 +01:00
  • 19d50f9511 ControlMath: index fix and scaling fix Dennis Mannhart 2017-12-20 15:41:13 +01:00
  • c9cd920642 rename VectorMath to ControlMath Dennis Mannhart 2017-12-20 14:33:36 +01:00
  • 820d6e866f TransitionControl: replace thrust constraints with VectorMath functions; temporary: remove thrust projection onto body frame Dennis Mannhart 2017-12-20 14:13:58 +01:00
  • 41a5ea6daa Multicoper position control: function file for controller specific functions Dennis Mannhart 2017-12-20 14:12:50 +01:00
  • 6ffa7a96ba mc_pos_control: method for publishing attitude and local_pos_sp Dennis Mannhart 2017-12-19 11:15:40 +01:00
  • 6e63ddacd2 yaw setpoint: add math::radians Dennis Mannhart 2017-12-19 11:13:36 +01:00
  • f0f84d300b TranslationControl: move mc_pos_control related logic into TranslationControl Dennis Mannhart 2017-12-19 08:48:35 +01:00
  • 9ac32a764f TranslationControl added to CmakeLists.txt Dennis Mannhart 2017-12-13 18:39:18 +01:00
  • 85c1627c74 TranslationControl: new class that generates thrust vector from state and setpoints Dennis Mannhart 2017-12-13 18:37:29 +01:00
  • 6adc1755cc FlightTaskManualPosition: most basic implementation Dennis Mannhart 2017-12-09 13:36:59 +01:00
  • b5c19f6483 FligtTaskManualAltitude: split functionality such that scale_stick values and the update_setpoints can be overwritten Dennis Mannhart 2017-12-09 13:36:03 +01:00
  • ea61af3164 FlightTaskManualAltitude: added to lib Dennis Mannhart 2017-12-08 19:45:18 +01:00
  • 4f5fa33e74 FlightTaskManualAltitude: scale stick z to velocity Dennis Mannhart 2017-12-08 19:44:27 +01:00
  • 4dfd9ce8ed FlightTaskOrbit: replace sticks (which are now linear) with expo Dennis Mannhart 2017-12-08 19:42:16 +01:00
  • e076825d78 FlightTaskManual: remove everything except of stick mapping Dennis Mannhart 2017-12-08 19:41:07 +01:00
  • 2b6e356c91 FlightTaskManual: fix for the sideways oscillations in fast foward flight when using the vehicle yaw estimate Matthias Grob 2018-01-10 11:41:13 +01:00
  • 089ebcbfa4 FlightTaskManual: fix two very stupid mistakes in the yaw hold logic Matthias Grob 2017-12-18 08:27:51 +01:00
  • 37e0f91c39 FlightTaskSport: scale maximal stick input to maximal allowed velocity instead of being hardcoded for testing Matthias Grob 2017-12-18 06:40:50 +01:00
  • 6c0acf8e13 FlightTaskManual: enable non-carrot velocity method also for yaw Matthias Grob 2017-12-16 09:30:37 +01:00
  • 975ac11635 mc_pos_control: enable yawspeed execution for tasks Matthias Grob 2017-12-16 07:59:52 +01:00
  • a896332746 FlightTaskManual: fixed stick vector index bug and enabled basic yaw setpoint control Matthias Grob 2017-12-16 04:38:35 +01:00
  • a00c3e4024 FlightTaskSport: created a simple child class of FlightTaskManual that can scale the velocity to a much higher value Matthias Grob 2017-12-15 08:07:28 +01:00
  • de872ca047 FlightTaskManual: remove the smoothing from the task to add it later in a child class also separated the velocity scaling to enable sport mode Matthias Grob 2017-12-15 08:06:14 +01:00
  • 6070d72308 FlightTasks: Various review refactoring Matthias Grob 2017-12-29 09:30:04 +01:00
  • 4d0dca5dd5 FlightTask: make applyCommandParameters getting called recursively & pass command by reference Matthias Grob 2017-12-16 10:14:15 +01:00
  • 4bb3692020 FlightTask: remove unused declaration of old position evaluation method Matthias Grob 2017-12-16 10:01:49 +01:00
  • fd93e55527 FlightTaks: prevent running a new task with default parameters because they got rejected Matthias Grob 2017-12-15 13:10:43 +01:00
  • d9c7e6321f FlightTasks: Introduce the empty setpoint to reset the setpoint for every loop iteration and return it in case of no task running Matthias Grob 2017-12-15 01:59:55 +01:00
  • c500221894 FlightTasks: move methods of the class header into the cpp Matthias Grob 2017-12-14 08:40:16 +01:00
  • efd240904f FlightTasks: added possibility to apply task parameters from the vehicle command Matthias Grob 2017-12-14 07:51:39 +01:00
  • b1f24da05e FlightTasks: enable mavlink command handling for switching tasks including acknowledgement Matthias Grob 2017-12-05 18:10:47 +01:00
  • 6ec9ff64d1 FlightTaskManual/Orbit: make sure we are not required stick input data during orbit Matthias Grob 2017-11-29 15:42:04 +01:00
  • e5d237088c FlightTasks: refactoring for CamelCase naming convention, small comment and declaration order renicements Matthias Grob 2017-11-28 21:59:31 +01:00
  • 888a63c001 FlightTasks: bool return values for clarity & introduce updateInitialize() to have input data fetching separated from the update() Matthias Grob 2017-11-28 22:00:46 +01:00
  • e44733a03c FlightTasks: small refactor for review comments Matthias Grob 2017-11-28 18:17:39 +01:00
  • 1906b5b635 FlightTasks: remove all remaining unnecessary semicolons Matthias Grob 2017-11-28 11:04:52 +01:00
  • 5efb298ed9 FlightTasks: use forced update just after initialization Matthias Grob 2017-11-28 10:59:56 +01:00
  • 737f7df6b8 Subscription & SubscriptionArray: add forcedUpdate() methods Beat Küng 2017-11-28 08:33:38 +01:00
  • 071b09c65d FlightTasks: initialize task state based on subscriptions after the SubscriptionArray was initialized Matthias Grob 2017-11-27 21:31:47 +01:00
  • b0fdbf5136 FlightTask: inherit from Block instead of SuperBlock Beat Küng 2017-11-20 17:05:38 +01:00
  • 9b571abb47 FlightTasks: add SubscriptionArray class that contains all subscriptions Beat Küng 2017-11-20 21:55:28 +01:00
  • b5ecf9824d flight tasks: use placement new to reduce memory overhead and the need for dynamic allocations Beat Küng 2017-11-20 21:27:32 +01:00
  • 99eb051c0f FlightTasks: adapt POSIX convention to return negative values on error Matthias Grob 2017-11-20 16:58:45 +01:00
  • 8a4d51c630 FlightTasks: replaced all hrt_elapsed() calls and unneeded hrt_ calls to safe performance Matthias Grob 2017-11-20 14:27:56 +01:00
  • 9fdb3ace0c FlightTask: added setter for yawspeed and removed newlines in comments Matthias Grob 2017-11-20 14:01:49 +01:00
  • dd53d1df5f FlightTask: use copyToRaw matrix method in setpoint setters Matthias Grob 2017-11-20 11:21:38 +01:00
  • 919d0d6483 msg: vehicle_local_position_setpoint: add yawspeed as a state you can control Matthias Grob 2017-11-16 18:32:14 +01:00
  • 2dd61f71d1 FlightTask: fix doxygen comment /**< instead of /*< Matthias Grob 2017-11-16 05:29:22 +01:00
  • c1056d307c FlightTask: move setter back into header and switched argument to reference to have them inlined by the compiler Matthias Grob 2017-11-16 05:12:52 +01:00
  • e597a9c0a1 FlightTasks: fix review comments Matthias Grob 2017-11-08 21:54:11 +01:00
  • e193240e98 FlightTask: fix CI: static field requiring definition in cpp file, errors with clang linker (CI) but not with GCC Matthias Grob 2017-11-08 22:31:14 +01:00
  • 23fe822955 FlightTasks: private variables follow underscore name convention, member description comments doxygen style Matthias Grob 2017-11-08 18:30:16 +01:00
  • 6488acf8cd msg: vehicle_local_position_setpoint comment about usage of NaN Matthias Grob 2017-11-08 15:43:02 +01:00
  • 92acbfde3e FlightTasks: FlightTask definition to cpp, fix include chain, fix cmake Matthias Grob 2017-11-08 10:57:56 +01:00
  • c211c807ad FlightTasks: move method definitions of existing tasks into cpp files, it's not a header library Matthias Grob 2017-11-07 19:36:35 +01:00
  • 3450ccb2b2 FlightTaskOrbit: Fix zero vector resulting in NaN output and ignored setpoint Matthias Grob 2017-11-06 18:05:30 +01:00
  • a570390dfb FlightTasks: enable usage of yaw setpoint through position controller Matthias Grob 2017-11-05 22:09:50 +01:00
  • e49f80eaa8 FlightTasks: switched output setpoint to reference getter, FlightTask holds it's data Matthias Grob 2017-11-05 19:48:20 +01:00