Lorenz Meier
0d5089e3bf
Mixer test: Improve portability
8 years ago
Lorenz Meier
5247f17576
Mixer test: use real defines from IO firmware
...
We use the real defines now and test them against every mixer on the system. This means we should catch transfer errors now before even hitting master.
8 years ago
Lorenz Meier
d401252c9e
IO firmware: Convert magic numbers to defines
...
This is necessary to allow more and better unit testing.
8 years ago
Lorenz Meier
e395c1f3d7
ROMFS: Limit test mixer to max 4 inputs
8 years ago
Andreas Antener
a5a5694a5e
Mixer tests: updated vtol2 test mixer to the one that actually failed before
8 years ago
Lorenz Meier
d0dbddea1b
Extend mixer test case with complex mixer
8 years ago
Lorenz Meier
51a89b74fb
VTOL mixer: Use formatting without workarounds for system test
8 years ago
Lorenz Meier
b3ce3cbaff
Simple mixer: Remove incorrect pre-parser and replace with fixed central implementation
8 years ago
Lorenz Meier
dd05ff5156
Multirotor mixer: Remove incorrect pre-parser and replace with fixed central implementation
8 years ago
Lorenz Meier
ff18140cf4
Mixer: add string wconditioning check.
...
This introduces a correctly designed pre-check for the input parsers. This fixes the mixer unit test and should fix all issues occuring on real hardware.
;
8 years ago
Lorenz Meier
0810bcfe8e
Polish mixer test, remove any too verbose output
8 years ago
Lorenz Meier
c27728a7aa
Test VTOL test mixers
8 years ago
Lorenz Meier
2eda90906d
Add VTOL2 test mixer
8 years ago
Lorenz Meier
01bbd3976b
Add VTOL1 test mixer
8 years ago
Lorenz Meier
fb8243d5e1
Mixer test: Fix test, failing right now but showing the real issues
8 years ago
Lorenz Meier
8cc261a148
Slight improvements in unit tests
8 years ago
Daniel Agar
bae3f36900
circleci temporarily disable code coverage ( #6248 )
8 years ago
Bart Slinger
a7eed46062
Update vtol_att_control_main.cpp
...
Fixes https://github.com/PX4/Firmware/issues/6246
8 years ago
Dennis Mannhart
d124de5045
px4.config: add spektrum_rc to startup
...
added line at the end
8 years ago
Beat Küng
ab3b68cf18
ORB_PRIO: set ORB_PRIO_MIN to 1 instead of 0
...
This is needed as the sensors app assumes a value of 0 means uninitialized.
Follow-up to 'Sensors app: Fix consistency checks', a6696d339d
8 years ago
Beat Küng
000d965a5e
fix test_uart_loopback: 0 is a valid file descriptor
8 years ago
Daniel Agar
a9d3f0dc73
update gps driver submodule
8 years ago
Lorenz Meier
750ab87303
GPS Sim: Fix destructor
8 years ago
Lorenz Meier
9cfd46b87c
Airspeed sim: Fix reset function
8 years ago
Lorenz Meier
4fcb4cf0fd
MAVLink: Fix FTP file path handling
...
This was a real issue for long paths and not a flight safety issue for regular users, but could have been an issue for developers trying to use FTP on very deep nested file systems
8 years ago
Lorenz Meier
66226fb754
Land detector: Harden string handling
...
Due to known input this was not a real issue, but bad style.
8 years ago
Lorenz Meier
1a1522d3ff
Fix RC unit test
8 years ago
Lorenz Meier
9f3fe2a802
Fix unit tests leaking resources
...
This was harmless but none the less is not good style and needs fixing.
8 years ago
Beat Küng
2880bb185f
uavcan_main: replace std::array with a C array
...
Sadly, we cannot use std::array on NuttX
8 years ago
Beat Küng
59ca22ee6d
px4.h: remove this include, causes compile problems on GCC 6.1.0
...
It causes problems because it includes px4_nodehandle.h which in turn
includes <functional>, and this is not available on NuttX
8 years ago
Beat Küng
f0c905ae43
Makefile: remove executable bit
8 years ago
Daniel Agar
c5c676cbd5
tests template remove list_builtins
8 years ago
Daniel Agar
9689163125
tests skip junit output and cmake exclude from all
8 years ago
Daniel Agar
573aed0ee8
tests coverage reorder to avoid lcov issues
8 years ago
Daniel Agar
6d4579751a
tests add airspeedsim
8 years ago
Daniel Agar
d4d63b982d
unittests disable optimization for coverage
8 years ago
Daniel Agar
c37d2c13e3
circleci limit coveralls submit to main repo
8 years ago
Daniel Agar
b4da337cd4
test coverage cleanup
...
- dataman clean exit code
- unit test proper cleanup
- add some level of simulated sensors for tests
- delete unused test/standard_vtol
8 years ago
Julian Oes
a985c27ab0
navigator: reset reached flag, not reached seq
...
It doesn't make sense to reset the reached sequence, especially not to
false since it's an int.
8 years ago
Julian Oes
a394d148a1
navigator: don't reset current waypoint
...
We don't want to reset the current waypoint because this means that the
ground stations see a current waypoint of 0 if the current waypoint is
not updated e.g. when we're not in mission mode.
However, it is wrong to send 0 as the current waypoint because if we
switch back to mission mode, it will actually go to the last current
waypoint and not 0.
8 years ago
Daniel Agar
e0eada4400
travis-ci run coverity scan ( #6230 )
8 years ago
Daniel Agar
a0837b88a5
cmake add clang santiziers
...
- PX4_ASAN=1 enable address sanitizer (was MEMORY_DEBUG)
- PX4_TSAN=1 enable thread santiizer
- PX4_UBSAN=1 enable undefined behaviour santizier (some options off)
8 years ago
Daniel Agar
1ceb0bebb5
sitl tests don't manually stop mavlink and dataman
8 years ago
Daniel Agar
34b2fb55e6
Makefile add clang-check and clang-tidy helpers
8 years ago
Daniel Agar
28971caaf3
partially restore mavlink_tests
8 years ago
Daniel Agar
5ec546f735
Makefile add scan-build target
8 years ago
Daniel Agar
dc9a71b674
WIP startup_shutdown test with ASAN on
8 years ago
Daniel Agar
f8d7c53537
lcov exclude gtest and mavlink
8 years ago
Daniel Agar
9fad6f9dd2
travis-ci use PX4_DOCKER for builds and specify tag
8 years ago
Daniel Agar
3607e72d4d
OSX don't run uorb test
8 years ago