Lorenz Meier
7fd06ee913
MAVLLink simulator interface: Simulate minimum airspeed noise
2017-01-16 08:26:37 -08:00
Lorenz Meier
b8598c4407
Sensors: Adjust airspeed fail checks
2017-01-16 08:26:37 -08:00
Lorenz Meier
a13082bfed
commander: Widen pre-flight check for airspeed
2017-01-16 08:26:37 -08:00
Lorenz Meier
b29e0040f1
ETS airspeed: Work around weird choice of manufacturer zero level cutoff
2017-01-16 08:26:37 -08:00
wangxdflight
67c3102db4
updated to remove a compilation flag check as orb_exists() is already supported
2017-01-16 08:25:58 -08:00
wangxdflight
b693e29d64
enable px4 flight for excelsior(legacy)
2017-01-16 08:25:58 -08:00
Lorenz Meier
12767c8538
MC position controller: Stop holding position once ground contact is established.
...
This ensures the system does not tip over on landings. Tested in SITL with a GPS drift model.
2017-01-16 08:25:26 -08:00
Matthias Grob
5b54d78128
land detector: changed minimum throttle threshold to have useful landing detection in real world scenarios
2017-01-16 08:25:26 -08:00
Matthias Grob
39f9647291
mc_pos_control: fixed float literals and commented calculations
2017-01-16 08:25:26 -08:00
Matthias Grob
f95fb0f20f
land detector: commented takeoff throttle values for each mode
2017-01-16 08:25:26 -08:00
Matthias Grob
5f3cbbbbc2
mc_pos_control: changed thrust calculation to 3D projection onto body z axis
...
until now the desired thrust was simply the absolute value of the thrust setpoint vector
but a multicopter is only capable of producing thrust in its (negative) body z axis
this leads to excess thrust during attitude tracking errors
one important use case is:
trying to land with minimal thrust in NED z axis against gravity
but the position controller still correcting some small horizontal estimation errors
then this prevents unwanted thrust in a completely wrong direction
2017-01-16 08:25:26 -08:00
Julian Oes
d63db203ba
mc_pos_control: don't publish attitude sp 2x
2017-01-16 08:25:26 -08:00
Matthias Grob
7ab2958757
land_detector: added takeoff throttle threshold
...
if we control manually and are still landed, we want to stay idle until the pilot rises the throttle
2017-01-16 08:25:26 -08:00
Matthias Grob
5529023ec1
mc_pos_control: added feed forward hover thrust
...
the velocity controller was misusing the integral part to account for the constant gravitational force offset
the hover throttle from the parameter is now is now directly used as feed forward for the thrust in world z direction
the integrator compensates for inaccurate paarameter but should now be idealy zero
2017-01-16 08:25:26 -08:00
Lorenz Meier
50002a0ff6
Update EEKF2 to match ecl updates
2017-01-15 01:57:38 -08:00
Lorenz Meier
7652a3737c
Update ECL
2017-01-15 01:57:38 -08:00
Lorenz Meier
1c42cea28e
MAVLink: Ignore bogus mission item requests silently
2017-01-15 01:47:10 +01:00
Daniel Agar
207f08aa15
apps.cpp and ekf_att_pos_estimator readability braces fix
2017-01-14 18:31:09 -05:00
Lorenz Meier
b6e18a1479
Mixer test: More instrumentation to catch repro cases in CI
2017-01-14 20:42:54 +01:00
Lorenz Meier
d1fcd8dd8e
Fix code style for mavlink main
2017-01-14 07:47:03 -08:00
Lorenz Meier
557a57d51a
Coverity: Fix RC tests
2017-01-14 07:47:03 -08:00
Lorenz Meier
521b89b1ce
MAVLink: Protect against illegal length indication of RTCM data
2017-01-14 07:47:03 -08:00
Lorenz Meier
26625b3a5d
Servo test: Fix resource leak
2017-01-14 07:47:03 -08:00
Lorenz Meier
a905babe95
PPM LoopbackTest: Fix resource leak
2017-01-14 07:47:03 -08:00
Lorenz Meier
3d31914eb5
Tone alarm sim: Fix resource leak
2017-01-14 07:47:03 -08:00
Lorenz Meier
1549f5a5d1
sdlog2: Fix string termination
2017-01-14 07:47:03 -08:00
Lorenz Meier
3eb7caba4f
MAVLink param handling: Exclude Coverity false positives
2017-01-14 07:47:03 -08:00
Lorenz Meier
fc2970b309
Helicopter mixer: Fix out of bounds checks
2017-01-14 07:47:03 -08:00
Lorenz Meier
4939e42c0f
MAVLink main: Fix resource leak for non-NuttX cases
2017-01-14 07:47:03 -08:00
Lorenz Meier
b9e32d7a34
mixer test: Fix string handling
...
Some strings were not enforcing NUL termination.
2017-01-14 07:47:03 -08:00
Lorenz Meier
1155a4725b
PX4IO: Fix mixer load corner case in string termination
2017-01-14 07:47:03 -08:00
Lorenz Meier
6927fcb5c0
Mixer test: Fix string termination corner case
2017-01-14 07:47:03 -08:00
David Sidrane
c235b44a90
FMUv5 define ADC usage
2017-01-14 02:26:48 -08:00
Daniel Agar
df5d0ba8b9
airspeed cal more descriptive error message ( #6324 )
2017-01-13 17:26:27 -05:00
Andreas Antener
338804606a
Fixed-wing: allow mission takeoff
2017-01-13 00:18:08 -08:00
David Sidrane
79d682e740
Master uavcan mainline ( #6313 )
...
* Update libuavcan to upstream master with PX4 contrib for NuttX 7.16+
* Release any 64B blocks not needed by usavcan after FW server is stopped.
We simply call the srrink methode after the server stop.
See https://github.com/PX4/Firmware/pull/3005#issue-111885687
for backgound
2017-01-12 13:28:38 -10:00
Lorenz Meier
cf5f5bfad9
Fix code style for param
2017-01-12 10:57:11 -08:00
Mark Charlebois
b14959e165
Fixed param output for QuRT
...
QuRT doesn't support printf, so the messages don't appeat in mini-dm.
This problem is also present in many other parts of the PX4 code.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2017-01-12 10:57:11 -08:00
David Sidrane
ba2efff70f
Updated libuavcan submodule with upstream ci fix.
...
This commit does not effect PX4 it just points to a commit
that fixes a CI failure introduced in the changes upstrem to
support the nuttx upgrade to 7.16+
2017-01-12 10:53:48 -08:00
Daniel Agar
056cd30629
Servo test: fix style
2017-01-12 03:02:05 -05:00
Lorenz Meier
a8902472e4
Params: Fix the description text
...
The MAIN and AUX outputs had the same description which could confuse users.
2017-01-12 02:40:56 +01:00
Lorenz Meier
61d7f22aba
Servo test: Ensure we only close an open FD
2017-01-12 02:31:15 +01:00
BharathR
8c7f810cc2
Fixed build error in eagle_legacy_default mode (px4muorb.h generation issue)
2017-01-11 17:12:27 -08:00
bharathr
ee0b0f2a3e
Fixed build error in Snapdragon Flight legacy driver mode (partially)
2017-01-11 17:12:27 -08:00
Daniel Agar
751909cd4e
clang readability-braces-around-statements ( #6298 )
2017-01-11 17:01:51 -05:00
Beat Küng
48c5ec54bb
commander: make sure all code paths return an (n)ack to MAV_CMD_PREFLIGHT_CALIBRATION
2017-01-11 16:25:04 +01:00
Dennis Mannhart
8cd913c148
gps.cpp: add gps baudrate 230400 to qurt
2017-01-10 11:49:05 +01:00
Lucas De Marchi
26d107923b
motor_test: fix use of negative channel
2017-01-10 08:34:53 +01:00
Lucas De Marchi
c3b462b3d6
motor_test: fix getopt call
...
This was trying to use optarg when it should instead use myoptarg.
2017-01-10 08:34:53 +01:00
Mark Charlebois
f529069368
Fixed code format issues
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2017-01-09 15:41:54 -08:00