Beat Küng
c6b0d5c76a
navigator: don't complain 'Using minimum takeoff altitude' in case of numerical inaccuracies
...
Happend in SITL.
2018-05-09 07:59:46 +02:00
Beat Küng
473fa15026
BlockParam: : ensure result of strncpy is null-terminated
2018-05-09 07:59:46 +02:00
Beat Küng
258b1ea473
navigator: ensure result of strncpy is null-terminated
2018-05-09 07:59:46 +02:00
Beat Küng
8c638ac88c
sdlog2: check result of snprintf and ensure result of strncpy is null-terminated
2018-05-09 07:59:46 +02:00
Beat Küng
f2092dd690
mixer_test: use snprintf instead of strncpy to fix compiler warning
...
compiler warning:
../../src/systemcmds/tests/test_mixer.cpp: In member function ‘bool MixerTest::loadAllTest()’:
../../src/systemcmds/tests/test_mixer.cpp:202:18: error: ‘char* strncpy(char*, const char*, size_t)’ output truncated before terminating nul copying 1 byte from a string of the same length [-Werror=stringop-truncation]
(void)strncpy(&buf[strlen(MIXER_ONBOARD_PATH)], "/", 1);
2018-05-09 07:59:46 +02:00
Beat Küng
289e618b6c
mavlink: fix compiler warnings with GCC 8.0.1
...
-Wno-extra-semi is not valid for C code
2018-05-09 07:59:46 +02:00
Beat Küng
8bd61a9330
uORBDevices: avoid memset, use braced initializer instead
2018-05-09 07:59:46 +02:00
Beat Küng
19a12ba75d
logger: avoid memset, use braced initializer instead
2018-05-09 07:59:46 +02:00
Beat Küng
3dd791c92c
vfile: rename fops to fix shadowing warning
...
for GCC 8.0.1
2018-05-09 07:59:46 +02:00
Beat Küng
13ab5ed0d0
px4_main_t: fix method declaration throughout the code base
...
px4_main_t is defined as:
typedef int (*px4_main_t)(int argc, char *argv[]);
which matches with the definition in NuttX, given to task_create
2018-05-09 07:59:46 +02:00
Beat Küng
9772380779
posix main: avoid declaring px4_main_t, include the correct header instead
2018-05-09 07:59:46 +02:00
Matthias Grob
2c56ceec93
astyle: switch condition to empty string check
...
Thanks to @bkueang 's review comment I switched to an explicit check for
an empty sting instead of a condition that could be theoretically true
in other cases and is less readable.
Type "man test" on your terminal to read up what -n stands for.
2018-05-09 07:54:22 +02:00
Matthias Grob
ef7e885644
Makefile: fix parameter -e printed by echo
...
It seems that on linux only inside a makefile the parameter after the echo
command gets printed if no single quoted sting comes afterwards so I had
to switch to single quotes such that I can use the parameter.
2018-05-09 07:54:22 +02:00
Matthias Grob
4e139d2426
Makefile: fix color output of makefile echos
...
Force interpretation of backslash escapes with the parameter -e of echo.
Switch to a lighter blue because on certain terminals default blue is
hard to read on black background.
2018-05-09 07:54:22 +02:00
Matthias Grob
72db7d3396
astyle: fix display language dependency
...
The shell script which checks the style relies on greping for the
keyword "Formatted" in the output of astyle. But the program has
localization support and will output in other languages e.g. german.
This leads to all style checks always succeeding. I only tested this
on Windows in Cygwin but I can imagine the problem also exists in
non-english Ubuntu installations.
Solution is the parameter --formatted of astyle which only produces
any output if there was something to fix. This allows for a display
language independent condition for an empty string inside the shell
script.
2018-05-09 07:54:22 +02:00
Beat Küng
71b4ad62a1
ekf2 replay: handle multi multiple GPS instances ( #9433 )
2018-05-09 10:00:59 +10:00
Hamish Willee
9a7195cb2d
Change offboard mode fallback option back to Manual
2018-05-08 07:04:32 +02:00
Hamish Willee
19032b91e3
Change RTL @group to Return Mode
2018-05-08 07:04:32 +02:00
Hamish Willee
66d4b495d4
Return params to reflect current mode names
2018-05-08 07:04:32 +02:00
Hamish Willee
09986237b6
Navigator failsafe action params to reflect current mode names
2018-05-08 07:04:32 +02:00
Hamish Willee
2c1eb443ca
Geofence failsafe action params to reflect current mode names
2018-05-08 07:04:32 +02:00
Hamish Willee
42d1708d7c
Commander failsafe action params to reflect current mode names
2018-05-08 07:04:32 +02:00
Daniel Agar
ffbd75d1b9
adis16477 driver
2018-05-07 00:07:29 +02:00
Daniel Agar
5de5d6ea49
Jenkins simple mission code coverage build
2018-05-05 19:49:50 -04:00
Daniel Agar
1b5396436e
Update submodule genmsg to latest Fri May 4 20:26:30 CDT 2018 ( #9416 )
...
- genmsg in PX4/Firmware (3ed093ba59 ): https://github.com/ros/genmsg/commit/3cea1fe528cd7ecdae7f8930fe90451271aec937
- genmsg current upstream: https://github.com/ros/genmsg/commit/a189fc78558e7276df59d2961cfe4f8b4de08a8b
- Changes: https://github.com/ros/genmsg/compare/3cea1fe528cd7ecdae7f8930fe90451271aec937...a189fc78558e7276df59d2961cfe4f8b4de08a8b
a189fc7 2018-05-01 Dirk Thomas - 0.5.11
c641725 2018-05-01 Dirk Thomas - update changelog
2018-05-05 16:48:09 -04:00
alessandro
3ed093ba59
Add baro temperature to sensor voter observation ( #9411 )
...
When determining the confidence of a barometer sensor, we should
consider the temperature as well, alongside the pressure.
Low-noise baros can show the same pressure reading for a second
or two when not moving and in an indoor location.
2018-05-04 12:40:10 -04:00
Daniel Agar
6b94ef1a03
mpu9250 allow a 2nd internal spi instance and remove px4fmu-v4 fake external ( #9386 )
2018-05-04 12:38:43 -04:00
Jake Dahl
92f15283c1
changed int to float
2018-05-04 12:08:55 -04:00
Daniel Agar
df042ab20e
cmake update option to enable doxygen generation (off by default)
2018-05-04 01:08:58 -04:00
Daniel Agar
2e92484325
ecl update to latest master with separate libraries ( #9406 )
2018-05-03 23:48:09 -04:00
Daniel Agar
94d1593e5b
doxygen move to cmake and cleanup ( #9234 )
2018-05-03 22:07:24 -04:00
Martina Rivizzigno
41b0db2860
vmount: input_mavlink point gimbal towards current triplet instead of next ( #9405 )
2018-05-03 12:26:04 -04:00
Daniel Agar
9649a9d7a5
update PX4/ecl submodule to latest master
...
- eec71d1 (HEAD, origin/master, origin/HEAD, master) EKF get_ekf_soln_status() fix pred_pos_horiz_abs
- 1bd1809 EKF: Fix bug causing simultaneous range and baro height fusion (#429 )
v1.8.0-beta1
2018-05-03 09:25:54 -04:00
Mohammed Kabir
fc07b23f41
logger : log timesync topic
2018-05-03 09:59:16 +02:00
Mohammed Kabir
40df193700
sdlog2 : remove old timesync logging
2018-05-03 09:59:16 +02:00
Mohammed Kabir
39bb65ffd7
mavlink : add advanced timesync algorithm
2018-05-03 09:59:16 +02:00
Daniel Agar
6b2daef5ec
lps22hb barometer driver
2018-05-02 09:05:28 -04:00
Daniel Agar
598743bbdc
delete srf02_i2c which is nearly identical to srf02 ( #9396 )
2018-05-02 08:50:12 -04:00
Daniel Agar
977ab4e7b8
improve end to end control latency measurement ( #9388 )
2018-05-02 03:03:32 -04:00
Daniel Agar
edea1b65cd
uORB delete unused Flavor
2018-05-02 00:48:46 -04:00
David Sidrane
cc061885f0
nxphlite-v3:Remove OTG config qualifier
...
This board supports USB but not doen not support OTG.
2018-05-01 11:33:29 -07:00
PX4 Jenkins
1d9bf83c51
Update submodule nuttx to latest Mon Apr 30 20:26:28 CDT 2018
...
- nuttx in PX4/Firmware (8404889098 ): https://github.com/PX4-NuttX/nuttx/commit/65b87d092a6d5f776ab5f9dbb095d31e45861789
- nuttx current upstream: https://github.com/PX4-NuttX/nuttx/commit/0ac630e6d0e90480121c74d59a92676f0b951dce
- Changes: https://github.com/PX4-NuttX/nuttx/compare/65b87d092a6d5f776ab5f9dbb095d31e45861789...0ac630e6d0e90480121c74d59a92676f0b951dce
0ac630e 2018-04-28 David Sidrane - [BACKPORT] Merged in david_s5/nuttx/master_kinetis_usb_fixes (pull request #634 )
2018-05-01 11:33:29 -07:00
Daniel Agar
1b3803fbe5
px4io driver remove unnecessary class fields
2018-05-01 17:55:47 +02:00
Daniel Agar
8404889098
delete unused ADCSIM
...
- set BOARD_NUMBER_BRICKS to 0 for boards without analog power bricks
2018-04-29 21:48:54 -04:00
Daniel Agar
ea3acb7121
cmake remove circular linking and reorganize
...
- px4_add_module now requires MAIN
- px4_add_library doesn't automatically link
2018-04-29 21:48:54 -04:00
Lorenz Meier
a8bc3d187f
Update MAVLink submodule
...
This updates the MAVLink submodule to the current version including the trajectory WIP messages.
2018-04-29 20:17:56 +02:00
aklimaj
25528a5ae0
Adds support for another MPU9250 or MPU6500 on px4fmu-v4 internal SPI bus. Adds PX4_SPI_BUS_EXT, PX4_SPIDEV_EXT_MPU to board config and spi.c. Call 'mpu9250 -S start' to enable.
2018-04-28 15:16:41 +02:00
Beat Küng
c7c3e23f0d
MC acro: update param descriptions
2018-04-27 22:34:55 +02:00
johannes
b98cd6ecb5
ecl-ekf tools: separate the analysis from the visualization and preprocessing
...
- move the analysis parts of the process_logdata_ekf script to
the 'analyse_ekf' function in a new file analyse_logdata_ekf.py
- return a test_results dictionary from analyse_ekf
- still process log loading, preprocessing and results file output in
process_logdata_ekf
- add command line argument to toggle plotting
- add command line argument to use different dictionary to check_level_dict.csv
2018-04-27 22:34:17 +02:00
johannes
a0b4bbed5e
ecl-ekf tools: clean up - move code to correct scope
...
- move code that is needed for general analysis out of plot scope
2018-04-27 22:34:17 +02:00