bresch
b726d8df0d
Add jerk parameter for auto mode MPC_JERK_AUTO. Specify when a parameter is only used in a certain manual or auto mode
6 years ago
Beat Küng
011aef5464
px4_poll posix: fix wrap-around for large timeouts
...
timeout is an int, so it wraps when the poll timeout is >2147ms.
This happened in logger, resulting in poll never returning.
6 years ago
Julian Oes
9d8015d029
modules/lib: ignore address-of-packed-member
...
For now we need to ignore this warning which GCC 9 shows for the MAVLink
headers.
6 years ago
Daniel Agar
d4b7441d12
Update submodule ecl to latest Wed May 8 12:38:58 UTC 2019 ( #11972 )
...
- ecl in PX4/Firmware (fa1fbed24633aef7985a128ebd4d19a7f6a4d108): c4492b17c1
- ecl current upstream: a27a43eafa
- Changes: c4492b17c1...a27a43eafa
a27a43e
2019-05-01 Hamish Willee - Fix up link to EKF docs
3f69189
2019-04-04 Mohammed Kabir - EKF: control: stop vision yaw fusion on timeout
6 years ago
Daniel Agar
f032d0d9fc
SYS_MC_EST_GROUP mark LPE unsupported and update airframes ( #11925 )
6 years ago
Matthias Grob
21194239c7
FlightTaskAuto: revisit yaw rate limit
...
There were multiple comments not addressed in pr #11904 .
See commit 4bcb37f9bc9ef20b521ebcf33e7a0ed08fa86ccd
6 years ago
bresch
89bc68e12b
Auto - Rename MC_YAWRAUTO_MAX -> MPC_YAWRAUTO_MAX
6 years ago
bresch
581d25f77f
Auto mode traj - limit yaw setpoint rate of change when generated in the flight task instead of clamping the yaw rate in the controller
...
Move yaw setpoint slew rate from AutoLineSmoothVel to Auto. The slew rate is now applied consistently to all the auto FlightTasks
6 years ago
Martina Rivizzigno
eba0bb389a
ObstacleAvoidance: fix comment, update failsafe position if one axis is NAN
6 years ago
Martina Rivizzigno
e037edd2cc
ObstacleAvoidance: once the commadand loiter has been sent, keep using
...
the first position when the oa fails as setpoint to avoid jumps
6 years ago
baumanta
c0a1f5b72f
Collision prevention improvements ( #11866 )
...
* match max vel in col-prev to regular pos ctrl
* change warning criterium to avoid float error
* disable push back from obstacles
* use floats consistently
6 years ago
bresch
93d52581ef
Auto - Fix cruise speed. Tested with and without SDK. Before that commit, the drone files at max speed instead of cruise speed if not precised by the SDK
6 years ago
Julian Oes
e88f1b33b2
FlightTasks: fix mission DO_CHANGE_SPEED
...
This fixes the issue where the DO_CHANGE_SPEED command was ignored and
the drone always travelled at the MPC_XY_CRUISE velocity.
6 years ago
Matthias Grob
1454694bdd
FlightTaskAuto: separate default speed and limit
...
It wasn't possible to fly faster than cruise speed even if planned
in the mission.
Limiting the planned cruise speed is necessary because
the smoothed trajectory mission plans to the _mc_cruise_speed and
if that's higher than the maximum it gets capped for safety by the
position controller and the result is a jerky flight.
6 years ago
romain
e1d9438f79
sih: remove SYS_SIH parameter and extend SYS_HITL
6 years ago
Beat Küng
914a9b78b6
new airframe for sih, HIL_STATE_QUATERION sent through MAVLink
6 years ago
PX4 Build Bot
3549354599
Update submodule ecl to latest Tue Apr 9 12:38:37 UTC 2019
...
- ecl in PX4/Firmware (aed3d80d5982f37e8353d6d07e29c79a9260b086): f95cd4b358
- ecl current upstream: c4492b17c1
- Changes: f95cd4b358...c4492b17c1
c4492b1
2019-04-09 Martina - do not reset yaw if vehicle on ground
14227ea
2019-04-08 Julian Oes - CMakeLists.txt: fix cmake warning
f97f0b6
2019-03-30 Paul Riseborough - EKF: Remove unnecessary code
43b5e26
2019-03-02 Paul Riseborough - EKF: Fix bug causing continual yaw reset when EKF2_MAG_TYPE = 2
6 years ago
Daniel Agar
6bb93936d1
cmake use ${PYTHON_EXECUTABLE} for mixer test
...
- needed for code coverage of python scripts
6 years ago
Daniel Agar
b9516d7e38
mixer move test_mixer_multirotor into cmake
6 years ago
Beat Küng
0bb5225370
rcS: add airframe parameter versioning and extend SYS_AUTOCONFIG
6 years ago
Martina Rivizzigno
6f5c97f184
ObstacleAvoidance: do not check for loiter nav state twice
6 years ago
Martina Rivizzigno
0dab5d3a11
ObstacleAvoidance: enforce camel case
6 years ago
Martina Rivizzigno
c5dfcbc50e
cosmetics changes to ObstacleAvoidance library
6 years ago
Martina Rivizzigno
e5441a6565
make format
6 years ago
Martina Rivizzigno
34c0bb1723
ObstacleAvoidance: don't inject avoidance setpoint when in
...
loiter mode since it's the failsafe mode
6 years ago
Martina Rivizzigno
0e27b5cbfa
include libraries without the need for full path, make ObstacleAvoidance
...
instance protected
6 years ago
Martina Rivizzigno
4dcc77b822
ObstacleAvoidance: remove printf and remove unnecessary new lines
6 years ago
Martina Rivizzigno
c1258931da
rename updateAvoidanceWaypoints->updateAvoidanceDesiredWaypoints and
...
updateAvoidanceSetpoints->updateAvoidanceDesiredSetpoints
6 years ago
Martina Rivizzigno
b165c41737
ObstacleAvoidance: add comments
6 years ago
Martina Rivizzigno
aa1b46f85a
ObstacleAvoidance library: save current waypoint in global variable
...
to check progress
6 years ago
Martina Rivizzigno
94f73117c7
reintroduce obstacle avoidance failsafe. If OA fails, switch to loiter
6 years ago
Martina Rivizzigno
e464502d2d
remove empty_trajectory_waypoint and getter method for avoidance
...
waypoints in FlightTasks. In obstacle avoidace library reset desired
avoidance waypoints after publication
6 years ago
Martina Rivizzigno
34b0f33098
move all obstacle avoidance interfaces to the ObstacleAvoidance library
6 years ago
Martina Rivizzigno
4e806d79fe
inject avoidance setpoints into AutoMapper
6 years ago
Martina Rivizzigno
320ed40806
use subscription array in ObstacleAvoidance library
6 years ago
Martina Rivizzigno
a9bab81eb8
make format
6 years ago
Martina Rivizzigno
8c24ba9255
move injection of avoidance setpoints to flight task library
6 years ago
PX4 Build Bot
7a27284d75
Update submodule ecl to latest Thu Apr 4 00:38:15 UTC 2019
...
- ecl in PX4/Firmware (3a004d13dc13d81403ae3873d5109c0503a4f964): a892ececf8
- ecl current upstream: f95cd4b358
- Changes: a892ececf8...f95cd4b358
f95cd4b
2019-01-22 Roman - ground effect: removed dependency on local position
7845ff4
2019-01-23 CarlOlsson - EKF: increase wind process noise scaler to 0.5
32ca6f7
2018-10-24 CarlOlsson - ekf: scale wind process noise with low pass filtered height rate
938c8ad
2019-02-04 CarlOlsson - EKF: use hagl estimate if valid for when to trigger yaw reset on takeoff
8b4ae48
2019-03-05 Hamish Willee - README: Fix link to EKF/ECL tuning guide
f0889c1
2019-03-18 Carl Olsson - EKF: fixed some comment typos
6e77b19
2019-03-14 Todd Stellanova - Add DataValidatorGroup tests, add more DataValidator tests (#592 )
6 years ago
bresch
dec96b0a3a
revert FlightTasks: fix mission DO_CHANGE_SPEED
6 years ago
bresch
20adce5077
Add new line at the end of FlightTaskFailsafe.cpp and FlightTaskAutoLine.cpp
6 years ago
bresch
b14446f0e5
Parameter update - Rename variables in lib
...
using paramter_update.py script
6 years ago
Julian Oes
a21242b0e3
FlightTasks: fix mission DO_CHANGE_SPEED
...
This fixes the issue where the DO_CHANGE_SPEED command was ignored and
the drone always travelled at the MPC_XY_CRUISE velocity.
6 years ago
bresch
99fb88ce83
AltitudeSmoothVel - Create new altitude flight task that uses the
...
velocity smoothing library to create a jerk-limited trajectory along the
Z axis. This FlightTask is used when MPC_POS_MODE = 3.
6 years ago
Alessandro Simovic
3d668d871b
tunes: don't let tune interrupt itself
6 years ago
Daniel Agar
3d271245a1
PX4Gyroscope apply sensor rotation before scaling
...
- prevents loss of numerical precision
6 years ago
Daniel Agar
5a841761ce
PX4Accelerometer apply sensor rotation before scaling
...
- prevents loss of numerical precision
- fixes #11695
6 years ago
Martina Rivizzigno
8cdc2d9ae9
update matrix library submodule
6 years ago
bresch
a08b1682e3
[Position|AutoLine]SmoothVel - Update position and velocity states of the trajectories in case of EKF reset. Until now, only the position reset on XY axis was properly handled. Now, xy, vxy, z and vz are handled
6 years ago
bresch
0813f30723
AutoLineSmoothVel - change function contrain_one_side(..) from snake_case to camelCase
6 years ago
bresch
aecf8fce58
ManualPositionSmoothVel - Force velocity and acceleration setpoints to zero if the velocity setpoint is smaller than 1mm/s and that the acceleration setpoint is null
6 years ago