bresch
b9cf4dfb6c
VelocitySmoothing - Get rid of math.h, math.cpp and px4_defines dependencies
2019-03-18 08:33:11 +01:00
bresch
ddab0ccdf1
VelocitySmoothing - Protect against division by zero and sqrt of a negative number
2019-03-18 08:33:11 +01:00
Daniel Agar
b35d048566
cmake enable -Wcast-align and disable per module
2019-03-16 11:47:15 -04:00
bresch
c5706f6283
FlightTaskAuto - Recover position control after local position reset ( #11636 )
...
* FlightTaskAuto - Explicitly check is _triplet_target is finite to decide if the target has to be updated or not. If the _target is NAN, always try to update it to get a valid setpoint.
2019-03-15 00:42:24 -04:00
baumanta
d42b9205f9
Rename parameter MPC_OBS_AVOID to COM_OBS_AVOID and change the location to commander.
2019-03-12 11:24:33 +01:00
Matthias Grob
f794ee0c8a
FlightTaskManualAltitude: add slow upwards start
...
when still close to ground
2019-03-11 20:09:45 +01:00
Matthias Grob
63a6ab34f7
FlightTaskManualAltitude: slow down when landing manually
2019-03-11 20:09:45 +01:00
BazookaJoe1900
8947cb5841
FlightTaskAuto: removed non used _getMaxCruiseSpeed
2019-03-10 11:17:21 -04:00
bresch
f229444722
ManualSmoothVel - Split position lock condition and flag action
2019-02-25 21:41:04 +01:00
bresch
8f584a1496
smooth takeoff - Support smooth takeoff triggered by jerk setpoint
2019-02-25 08:07:33 +01:00
Daniel Agar
0d170a0eaf
FlightTasks VelocitySmoothing initialize member
...
- fixes Coverity CID 328485
2019-02-24 17:10:15 -05:00
Daniel Agar
7eca2769a7
FlightTasks AutoLineSmoothVel initialize member
...
- fixes Coverity CID 328492
2019-02-24 17:10:15 -05:00
Daniel Agar
b2739d946c
FlightTasks ManualPositionSmoothVel initialize member
...
- fixes Coverity CID 332544
2019-02-24 17:10:15 -05:00
bresch
70ddb8049a
Traj Smoothing - make format
2019-02-13 20:56:57 +01:00
bresch
4cace1bbe9
Manual vel smooth - use speed_up and speed_down constraints to limit velocity target of the trajectory generator
2019-02-13 20:56:57 +01:00
bresch
b7c2464cce
Manual vel smooth - Use MPC_JERK_MAX only
2019-02-13 20:56:57 +01:00
bresch
1730cd3a69
Velocity Smoothing - Various improvements, cleanup and corner cases fixes
2019-02-13 20:56:57 +01:00
bresch
f1262cbe84
Manual Traj - Avoid velocity jumps due to a modification of the constraints
2019-02-13 20:56:57 +01:00
bresch
57eef6b170
Manual Trajectory - Add Z position lock logic and log complete trajectory
2019-02-13 20:56:57 +01:00
Matthias Grob
6a53a398e0
FlightTask: decline unimplemented callbacks, improve comments
2019-01-31 17:43:35 +01:00
bresch
df58e161d1
Trajectory auto - Handle EKF xy reset
2019-01-22 17:23:16 +01:00
bresch
a2d5485c7f
Trajectory manual - Handle EKF xy reset
2019-01-22 17:23:16 +01:00
bresch
a2e9d9ffce
AutoSmoothVel - Handle NAN in velocity and position properly
2019-01-17 17:55:37 +01:00
Matthias Grob
3d42c495aa
FlightTaskOrbit: clip radius to range
2018-12-19 18:22:08 +01:00
Matthias Grob
25de837c23
FlightTaskOrbit: fix rotation direction in telemetry
2018-12-18 14:40:07 +01:00
Matthias Grob
8b419efa2c
FlightTaskOrbit: fix rotation direction from command
2018-12-18 14:40:07 +01:00
Matthias Grob
25aa2b9c8c
orbit: fix telemetry message content
2018-12-18 14:40:07 +01:00
Alessandro Simovic
f11465bb26
orbit: publish uorb message
2018-12-18 14:40:07 +01:00
Beat Küng
c659d2bcc2
mixer: minor refactoring to reduce header include dependencies
...
- avoid including <px4_defines.h> from the math headers
- avoid driver include <drivers/drv_mixer.h> from the mixer
2018-12-13 09:50:07 +01:00
Simone Guscetti
2c06cb71c8
FlightTask: use convetion for definition of the landing gear default value
2018-12-10 16:17:23 +01:00
Simone Guscetti
9ee3d79a96
FlightTask Manual: Gear react only on switch changes and not states
2018-12-10 16:17:23 +01:00
Simone Guscetti
f4fc0cd291
FlightTAsk AutoMapper: Adapt to new message
2018-12-10 16:17:23 +01:00
Simone Guscetti
be7416c823
FlightTask Auto: Adapt to new message and rename variable
2018-12-10 16:17:23 +01:00
Simone Guscetti
1412e0494c
FlightTask AutoMapper: Use deploy gear information
2018-12-10 16:17:23 +01:00
Simone Guscetti
66f85ff9ae
FlightTask Auto: Save deploy gear information
2018-12-10 16:17:23 +01:00
Simone Guscetti
aaddb845c4
FlightTask: Add initialisation of the landing gear
2018-12-10 16:17:23 +01:00
Simone Guscetti
de185726b3
vehicle constraints: remove landing gear
...
- landing_gear: refactor state name
- Add the keep state to the landing gear message
- Adapt FlightTaskManual, FlightTaskAutoMapper, mc_pos_control,
to review message definition
2018-12-10 16:17:23 +01:00
Simone Guscetti
6dbed6636d
FlightTasks: Add interface for landing gear
2018-12-10 16:17:23 +01:00
Simone Guscetti
bf9a18a200
FlightTask: Add interface for landing gear
2018-12-10 16:17:23 +01:00
Matthias Grob
94d4f0391a
FlightTaskAuto: fix newline at end of file
2018-11-30 09:30:00 -05:00
Dennis Mannhart
be4900f61d
FlightTaskAutoMapper2: remove speed_at_target
2018-11-30 09:30:00 -05:00
Dennis Mannhart
b3cde5ac44
FlightTaskAutoLine: replace NAV_ACC_RAD with _target_acceptance_radius
2018-11-30 09:30:00 -05:00
Dennis Mannhart
c97b2a3071
FlightTaskAuto: move method getVelocityFromAngle to FlightTaskAutoLine
2018-11-30 09:30:00 -05:00
Dennis Mannhart
370371767f
FlightTaskAutoLine: ensure that desired speed along track does not exceed maximum speed at threshold to target
2018-11-29 12:32:56 +01:00
baumanta
053494c535
use only one parameter and enable parameter change in flight. clean up code
2018-11-20 14:11:33 +01:00
baumanta
dd45fa6541
change feature name from CollisionAvoidance to CollisionPrevention
2018-11-20 14:11:33 +01:00
Matthias Grob
81ec6c5b1e
ColisionAvoidance: move instantiation to FlightTask
2018-11-20 14:11:33 +01:00
baumanta
db514fe441
Add a collision avoidance library which uses range data
2018-11-20 14:11:33 +01:00
Beat Küng
330941c1fc
FlightTaskManualAltitude: initialze yaw setpoint with NAN
...
Also update some comments.
In case we activate the task and don't have a locked yaw, we should
initialize the yaw setpoint with NAN to avoid any abrupt changes.
2018-11-13 09:30:18 +01:00
Beat Küng
2b7d3bd088
flight tasks: move weather vane yaw handler from Altitude to Position task
2018-11-13 09:30:18 +01:00