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.
2019-04-12 15:47:36 +02:00
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.
2019-04-12 15:47:36 +02:00
Beat Küng
3135f9f0d2
sih: avoid static variable + style fixes
2019-04-12 09:25:07 +02:00
romain
65f623bd73
acceleration added when hitting the ground
2019-04-12 09:25:07 +02:00
romain
7be1cc389e
removed arguments from constructor
2019-04-12 09:25:07 +02:00
Beat Küng
744b50b478
send MAVLink GROUND_TRUTH at 25 Hz, only in SIH mode. And minor cleanup
2019-04-12 09:25:07 +02:00
romain
9adb4410bd
newline added at the end of files
2019-04-12 09:25:07 +02:00
romain
8b6480c1cf
sih.msg removed, serial port communication removed
2019-04-12 09:25:07 +02:00
romain
e8c5d85525
sih param names cleanup
2019-04-12 09:25:07 +02:00
romain
e1d9438f79
sih: remove SYS_SIH parameter and extend SYS_HITL
2019-04-12 09:25:07 +02:00
romain
a9660d9da0
white noise generator updated
2019-04-12 09:25:07 +02:00
romain
cdd7e95a92
added a call to px4_sem_destroy()
2019-04-12 09:25:07 +02:00
romain
6ff228c2ff
sih module implemented with hrt_call_every and semaphore_wait
2019-04-12 09:25:07 +02:00
Beat Küng
914a9b78b6
new airframe for sih, HIL_STATE_QUATERION sent through MAVLink
2019-04-12 09:25:07 +02:00
romain
c09e9ec97f
simulator in hardware, new module added that allows to run a simulator in the hardware autopilot, for more documentation visit https://github.com/romain-chiap/PX4_SIH_QuadX
2019-04-12 09:25:07 +02:00
Andreas Daniel Antener
95a0803b14
Adding AK09916 driver to support the Here2 GNSS emulated mag (I2C) ( #11837 )
...
* drivers, magnetometer: added ak09916 driver to support the mag driver emulated by the Here2 gps
* boards: set yaw 270 rotation for external ak09916 driver and only start it for the PH21
* drivers: only start ak09916 when icm20948 is not available on a ph21 setup
2019-04-11 12:43:50 -04:00
mcsauder
9540869c20
Alphabetize a few methods and variable orders in mavlink_receiver.h.
2019-04-11 08:31:30 +02:00
Alessandro Simovic
4127adf73c
addressing comments from #11796
2019-04-10 09:38:53 +02:00
Alessandro Simovic
482a46ab36
Standardising mavlink message strings
2019-04-10 09:38:53 +02:00
PX4 Build Bot
3549354599
Update submodule ecl to latest Tue Apr 9 12:38:37 UTC 2019
...
- ecl in PX4/Firmware (aed3d80d5982f37e8353d6d07e29c79a9260b086): https://github.com/PX4/ecl/commit/f95cd4b3584d029c35b288a39180ddf25b2dd004
- ecl current upstream: https://github.com/PX4/ecl/commit/c4492b17c1d7bb9b74011efa9890452b091421e8
- Changes: https://github.com/PX4/ecl/compare/f95cd4b3584d029c35b288a39180ddf25b2dd004...c4492b17c1d7bb9b74011efa9890452b091421e8
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
2019-04-09 17:21:28 +02:00
Julian Kent
911df49045
increase stacks in drivers identified by stackcheck builds
2019-04-09 17:20:50 +02:00
Daniel Agar
0206375de6
logger reduce default topics
2019-04-09 10:14:49 -04:00
Daniel Agar
6bb93936d1
cmake use ${PYTHON_EXECUTABLE} for mixer test
...
- needed for code coverage of python scripts
2019-04-07 16:35:31 -04:00
Daniel Agar
b9516d7e38
mixer move test_mixer_multirotor into cmake
2019-04-07 16:12:17 -04:00
Julian Oes
95ab984f4c
commander: fix toggling datalink lost and regained
...
When using QGC and/or the Dronecode SDK it was possible to get in a
state where the two mavlink instances were both publishing their last
heartbeat_time and cause commander to consistently toggle between
data link lost and regained. With this fix, we only ever look at the
very last heartbeat time and therefore seem to avoid this issue.
2019-04-05 09:25:40 -04:00
Beat Küng
0bb5225370
rcS: add airframe parameter versioning and extend SYS_AUTOCONFIG
2019-04-05 08:08:47 +02:00
Martina Rivizzigno
6f5c97f184
ObstacleAvoidance: do not check for loiter nav state twice
2019-04-04 16:41:26 +02:00
Martina Rivizzigno
0dab5d3a11
ObstacleAvoidance: enforce camel case
2019-04-04 16:41:26 +02:00
Martina Rivizzigno
c5dfcbc50e
cosmetics changes to ObstacleAvoidance library
2019-04-04 16:41:26 +02:00
Martina Rivizzigno
e5441a6565
make format
2019-04-04 16:41:26 +02:00
Martina Rivizzigno
34c0bb1723
ObstacleAvoidance: don't inject avoidance setpoint when in
...
loiter mode since it's the failsafe mode
2019-04-04 16:41:26 +02:00
Martina Rivizzigno
0e27b5cbfa
include libraries without the need for full path, make ObstacleAvoidance
...
instance protected
2019-04-04 16:41:26 +02:00
Martina Rivizzigno
4dcc77b822
ObstacleAvoidance: remove printf and remove unnecessary new lines
2019-04-04 16:41:26 +02:00
Martina Rivizzigno
c1258931da
rename updateAvoidanceWaypoints->updateAvoidanceDesiredWaypoints and
...
updateAvoidanceSetpoints->updateAvoidanceDesiredSetpoints
2019-04-04 16:41:26 +02:00
Martina Rivizzigno
b165c41737
ObstacleAvoidance: add comments
2019-04-04 16:41:26 +02:00
Martina Rivizzigno
aa1b46f85a
ObstacleAvoidance library: save current waypoint in global variable
...
to check progress
2019-04-04 16:41:26 +02:00
Martina Rivizzigno
94f73117c7
reintroduce obstacle avoidance failsafe. If OA fails, switch to loiter
2019-04-04 16:41:26 +02:00
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
2019-04-04 16:41:26 +02:00
Martina Rivizzigno
34b0f33098
move all obstacle avoidance interfaces to the ObstacleAvoidance library
2019-04-04 16:41:26 +02:00
Martina Rivizzigno
4e806d79fe
inject avoidance setpoints into AutoMapper
2019-04-04 16:41:26 +02:00
Martina Rivizzigno
320ed40806
use subscription array in ObstacleAvoidance library
2019-04-04 16:41:26 +02:00
Martina Rivizzigno
a9bab81eb8
make format
2019-04-04 16:41:26 +02:00
Martina Rivizzigno
8c24ba9255
move injection of avoidance setpoints to flight task library
2019-04-04 16:41:26 +02:00
Burak Han
d2a0c857ed
sf0x.cpp: change baudrate to 115200 for SF11/C
2019-04-04 10:17:50 +02:00
PX4 Build Bot
7a27284d75
Update submodule ecl to latest Thu Apr 4 00:38:15 UTC 2019
...
- ecl in PX4/Firmware (3a004d13dc13d81403ae3873d5109c0503a4f964): https://github.com/PX4/ecl/commit/a892ececf8490b21aa8917bc243b2bc441af6a87
- ecl current upstream: https://github.com/PX4/ecl/commit/f95cd4b3584d029c35b288a39180ddf25b2dd004
- Changes: https://github.com/PX4/ecl/compare/a892ececf8490b21aa8917bc243b2bc441af6a87...f95cd4b3584d029c35b288a39180ddf25b2dd004
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 )
2019-04-03 22:22:57 -04:00
Daniel Agar
604cdc2b60
drivers/px4fmu initialize all arrays
2019-04-03 18:50:57 -04:00
David Sidrane
1c212e3f84
M7 dcache ctrl via a parameter ( #11769 )
...
* Support for armv7-m_dcache control via parameter
The FORCE_F7_DCACHE parameter can be set to
0 - (default) if Eratta exits turn dcache off else leave it on
1 - Force it off
2 - Force it on
At boot the system will disable the d-cache if the silicon
has the 1259864 Data corruption in a sequence of Write-Through
stores and loads eratta.
Post nsh script execution the FORCE_F7_DCACHE paramater
will be used to set the d-cache to the state indicated
above.
2019-04-03 16:14:19 -04:00
Daniel Agar
6648937789
logger increase stack 3600 -> 3700 bytes
2019-04-03 14:32:45 -04:00
bresch
dec96b0a3a
revert FlightTasks: fix mission DO_CHANGE_SPEED
2019-04-03 18:08:24 +02:00
bresch
20adce5077
Add new line at the end of FlightTaskFailsafe.cpp and FlightTaskAutoLine.cpp
2019-04-03 15:38:50 +02:00