Commit Graph

23459 Commits

Author SHA1 Message Date
Dennis Mannhart 947d63fb11 mc_pos_control auto: replace min_cruise_speed with cruise_speed_90; take care of case when cruise_speed_90 is exactly in the middle of max and min 2017-09-11 02:08:22 -07:00
Dennis Mannhart 3538f028b4 mc_pos_control: use 0.5 of acceleration for auto 2017-09-11 02:08:22 -07:00
Dennis Mannhart 807d45c99c mc_pos_control slowing down close to target take over previous setpoint if low 2017-09-11 02:08:22 -07:00
Dennis Mannhart ac3321dc6c mc_pos_control: distinguish between up and down acceleration 2017-09-11 02:08:22 -07:00
Dennis Mannhart c1199d1202 mission don't apply slewrate for altitude 2017-09-11 02:08:22 -07:00
Dennis Mannhart 9ec0d72f3c mc_pos_control: make sure that passing waypoint only allowed if altitude is reached 2017-09-11 02:08:22 -07:00
Dennis Mannhart b769d1cee0 mc_pos_control auto: apply auto logic for z-direction 2017-09-11 02:08:22 -07:00
Dennis Mannhart 2655c72cea mission: remove altitude foh for rotarywing 2017-09-11 02:08:22 -07:00
Dennis Mannhart 8e99c73f49 mc_pos_control: don't divide by zero 2017-09-11 02:08:22 -07:00
Dennis Mannhart cb820a168a mc_pos_control: use original targethreshold when computing target_velocity 2017-09-11 02:08:22 -07:00
Dennis Mannhart 08d15f5402 mc_pos_control: remove target threshold from auto 2017-09-11 02:08:22 -07:00
Dennis Mannhart dbed42a720 mc_pos_control auto: ensure the order of cruise speeds during mission 2017-09-11 02:08:22 -07:00
Dennis Mannhart 3f73a56f5a mc_pos_control: accelerate faster in auto and increase speed at 90degrees angle 2017-09-11 02:08:22 -07:00
Dennis Mannhart 540c0bdafb mc_pos_control: accelerate faster 2017-09-11 02:08:22 -07:00
Dennis Mannhart 7a822c9db2 mc_pos_control: don't use slewrate in mission 2017-09-11 02:08:22 -07:00
Dennis Mannhart 267dbe9b7a mc_pos_control: when close to current and previous, ajdust target velocity 2017-09-11 02:08:22 -07:00
Dennis Mannhart 0a37d8dc42 mc_pos_control: clarify speed params 2017-09-11 02:08:22 -07:00
Dennis Mannhart 9cfc57e4a6 mc_pos_control: rebase fix 2017-09-11 02:08:22 -07:00
Dennis Mannhart 3e4ab5ed59 mc_pos_control: when close to current and previous, ajdust target velocity 2017-09-11 02:08:22 -07:00
Dennis Mannhart c4c18caed4 mc_pos_control auto: set speed at 90degrees to 1 2017-09-11 02:08:22 -07:00
Lorenz Meier 38f796f991 mc pos control: More sign checks 2017-09-11 02:08:22 -07:00
Lorenz Meier a6108cc951 mc_pos_control: Use proper boundary checking when taking the norm of a vector
The previous method made too optimistic assumptions about the resolution of 32 bit floating point numbers.
2017-09-11 02:08:22 -07:00
Dennis Mannhart 4c4ee1af14 mc_pos_contol: sub eplsion with sigma, treat current behind independently 2017-09-11 02:08:22 -07:00
Dennis Mannhart 7734279f61 mc_pos_control: smooth transition between waypoint updates 2017-09-11 02:08:22 -07:00
Dennis Mannhart 3053b24761 mc_pos_control: auto remove min dist 2017-09-11 02:08:22 -07:00
Dennis Mannhart 8c5b1d33da mc_pos_contol: add break when printing warning 2017-09-11 02:08:22 -07:00
Dennis Mannhart 13f8936cf1 mc_pos_control: warning for invalid thrust sp 2017-09-11 02:08:22 -07:00
Lorenz Meier e58766c394 MC pos controller: log exceptions but rate-limit them 2017-09-11 02:08:22 -07:00
Dennis Mannhart 11a4410500 mc_pos_control: revert protection against nan thrust sp 2017-09-11 02:08:22 -07:00
Dennis Mannhart dae1093bec mc_pos_control: auto logic description and sanity check for thrust setpoint 2017-09-11 02:08:22 -07:00
Dennis Mannhart 6e5fe947fe mc_pos_control: add clarification to auto function and auto angle computation 2017-09-11 02:08:22 -07:00
Dennis Mannhart e51e52f425 mc_pos_control: reorder auto logic and ensure that nan gets caught 2017-09-11 02:08:22 -07:00
Dennis Mannhart 5d4486c920 mc_pos_control: only follow line if longer than 0.1 2017-09-11 02:08:22 -07:00
Dennis Mannhart 50e3c4067a mc_pos_control: update _curr_pos_sp all the time 2017-09-11 02:08:22 -07:00
Dennis Mannhart 9dc5051504 mc_pos_control auto: use current velocity if smaller than velocity setpoint when slowing down 2017-09-11 02:08:22 -07:00
Dennis Mannhart a84baa1dcc mc_pos_control auto: adjust velocity only along track; use vector instead of point 2017-09-11 02:08:22 -07:00
Dennis Mannhart 2735280ffc mc_pos_control auto: treat off the track differently depending on position 2017-09-11 02:08:22 -07:00
Dennis Mannhart a7be9854d9 mc_pos_control: remove scaling in auto and remove limit_velocity function; update auto logic 2017-09-11 02:08:22 -07:00
Beat Küng c82deaf26f dataman: fix test for return value of px4_task_spawn_cmd
And destroy the semaphore if startup fails.

Credits for finding this go to @jeonghwan-lee
2017-09-11 02:04:27 -07:00
David Sidrane 694de32740 ROMFS::Removed ardrone_interface from PX4 only used PX4v1
Removed that driver was only referenced from the now depricated
      px4fmuv-1
2017-09-10 13:37:23 -04:00
David Sidrane ca9e323b13 ardrone_interface:Removed ardrone_interface from PX4 only used PX4v1
Removed that driver was only referenced from the now depricated
  px4fmuv-1
2017-09-10 13:37:23 -04:00
David Sidrane 1e0489f48b PX4 System gpio_led:Code cleanup
Use PX4 log and module documantation
   Fixed memory leaks
2017-09-10 13:37:23 -04:00
David Sidrane bcb89f54e2 px4iofirmware:Removed FMUv1 and px4io-v1
Removed FMUv1 and px4io-v1, defaulting to px4io-v2
   were appicable.
2017-09-10 13:37:23 -04:00
David Sidrane e07cb71a11 px4io:Removed FMUv1 hardware dependancies
Removed conditional compilation for FMUv1 and defaulted to
   FMUv2.
2017-09-10 13:37:23 -04:00
David Sidrane 5782e5c5fd uavcan:Removed PX4FMUv1 support 2017-09-10 13:37:23 -04:00
David Sidrane 34cd7563fb commander:Removed PX4FMUv1 LED support 2017-09-10 13:37:23 -04:00
David Sidrane acb51aeda3 rgbled:Updated comment, removing reference to PX4FMUv1
Comment expressly referenced PX4FMUv1, but the EEPROM,
  could be used on any board.
2017-09-10 13:37:23 -04:00
David Sidrane f5e9ae6682 px4fmu:Removed FMUv1 only modes 2017-09-10 13:37:23 -04:00
David Sidrane 60ac35b0ac pwm_out_sim:Removed FMUv1 only modes 2017-09-10 13:37:23 -04:00
David Sidrane 8c8ea0754a PX4 System gpio_led:Removed FMUv1 2017-09-10 13:37:23 -04:00