Beat Küng
e7db0ed098
test_mixer & mixer: use memmove instead of memcpy
...
Both, src & dst use the same array, thus potentially overlapping.
Behavior of memcpy in that case is undefined.
8 years ago
Chris Lovett
33a307873a
Enable rc mode change switch to override offboard mode. This is a safety feature, in case offboard control goes crazy, user can always regain control by switching modes to stabilize, or alt hold or position hold, however they have configured the mode change RC switch.
8 years ago
Vlad Radulescu
ec104bb7ac
Corrected a tiny spelling mistake and modifed the PPM_MIN_CHANNELS check so it accepts a minimum of 5 channels. It seems that was the initial intention.
8 years ago
David Sidrane
569b20d184
FMUv5 Fixed hardfault log
...
F7 was missing in the CONFIG_xxx that controlled enableing the
hardfault_log boot code that can save the fault log
8 years ago
Henry Zhang
0fdf3b13e8
MindPX: disable USART3 flow control
8 years ago
Sander Smeets
ba10db06c2
Code formatting
8 years ago
Sander Smeets
d0dad4ad7d
Indenting
8 years ago
Sander Smeets
de039ca870
VTOL back transition acceptance radius calculation
8 years ago
BharathR
496dee5d2d
Fixed PX4 sanity test script (removed a check msg) ( #6354 )
...
* Fixed build error in Snapdragon Flight legacy driver mode (partially)
* Fixed build error in eagle_legacy_default mode (px4muorb.h generation issue)
* Fixed the snapdragon flight sanity test script (default and legacy driver modes)
* Fixed PX4 sanity test script (removed a check msg)
8 years ago
Lorenz Meier
7fd06ee913
MAVLLink simulator interface: Simulate minimum airspeed noise
8 years ago
Lorenz Meier
b8598c4407
Sensors: Adjust airspeed fail checks
8 years ago
Lorenz Meier
a13082bfed
commander: Widen pre-flight check for airspeed
8 years ago
Lorenz Meier
b29e0040f1
ETS airspeed: Work around weird choice of manufacturer zero level cutoff
8 years ago
wangxdflight
67c3102db4
updated to remove a compilation flag check as orb_exists() is already supported
8 years ago
wangxdflight
b693e29d64
enable px4 flight for excelsior(legacy)
8 years ago
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.
8 years ago
Matthias Grob
5b54d78128
land detector: changed minimum throttle threshold to have useful landing detection in real world scenarios
8 years ago
Matthias Grob
39f9647291
mc_pos_control: fixed float literals and commented calculations
8 years ago
Matthias Grob
f95fb0f20f
land detector: commented takeoff throttle values for each mode
8 years ago
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
8 years ago
Julian Oes
d63db203ba
mc_pos_control: don't publish attitude sp 2x
8 years ago
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
8 years ago
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
8 years ago
FantasyJXF
3f94818dcf
spelling error;
...
as it is
8 years ago
Daniel Agar
73b31c031f
cmake nuttx rsync copy only use relative paths
...
- this is to work around confusion between cygwin and windows native
paths
- closes #6332
8 years ago
BharathR
dafa838e2f
Fixed Snapdragon Flight sanity test script (default and legacy driver modes) ( #6323 )
...
* Fixed build error in Snapdragon Flight legacy driver mode (partially)
* Fixed build error in eagle_legacy_default mode (px4muorb.h generation issue)
* Fixed the snapdragon flight sanity test script (default and legacy driver modes)
8 years ago
Henry Zhang
e81548bdb9
MindPX: Fix for hmc5883 rotation
8 years ago
Lorenz Meier
50002a0ff6
Update EEKF2 to match ecl updates
8 years ago
Lorenz Meier
7652a3737c
Update ECL
8 years ago
Lorenz Meier
1c42cea28e
MAVLink: Ignore bogus mission item requests silently
8 years ago
James Goppert
8e297022e6
Update px4tools api for mission test.
8 years ago
Daniel Agar
d8f423aa2b
travis-ci run check_format
8 years ago
Daniel Agar
207f08aa15
apps.cpp and ekf_att_pos_estimator readability braces fix
8 years ago
Daniel Agar
6961a513c7
clang-tidy readability-braces-around-statements
8 years ago
Daniel Agar
fedc1279e4
travis-ci fix coverity build ( #6338 )
8 years ago
Lorenz Meier
adcf563460
Update README
8 years ago
Lorenz Meier
b6e18a1479
Mixer test: More instrumentation to catch repro cases in CI
8 years ago
mazahner
06d28b2635
Rework Includes during the uorb message generation
...
each CMakeFile that generates parameters should add its path to the msg_include_path
which will then be handled in the px_generate_uorb_topic_files.py
8 years ago
Nicolae Rosia
6ffffe3367
Remove invalid eigen reference
...
This is a left over from cleanup 0acf6db64f
Signed-off-by: Nicolae Rosia <nicolae.rosia@gmail.com>
8 years ago
Lorenz Meier
d1fcd8dd8e
Fix code style for mavlink main
8 years ago
Lorenz Meier
557a57d51a
Coverity: Fix RC tests
8 years ago
Lorenz Meier
521b89b1ce
MAVLink: Protect against illegal length indication of RTCM data
8 years ago
Lorenz Meier
26625b3a5d
Servo test: Fix resource leak
8 years ago
Lorenz Meier
a905babe95
PPM LoopbackTest: Fix resource leak
8 years ago
Lorenz Meier
3d31914eb5
Tone alarm sim: Fix resource leak
8 years ago
Lorenz Meier
1549f5a5d1
sdlog2: Fix string termination
8 years ago
Lorenz Meier
3eb7caba4f
MAVLink param handling: Exclude Coverity false positives
8 years ago
Lorenz Meier
fc2970b309
Helicopter mixer: Fix out of bounds checks
8 years ago
Lorenz Meier
4939e42c0f
MAVLink main: Fix resource leak for non-NuttX cases
8 years ago
Lorenz Meier
b9e32d7a34
mixer test: Fix string handling
...
Some strings were not enforcing NUL termination.
8 years ago