Lorenz Meier
9f3fe2a802
Fix unit tests leaking resources
...
This was harmless but none the less is not good style and needs fixing.
2017-01-03 14:44:45 +01:00
Beat Küng
2880bb185f
uavcan_main: replace std::array with a C array
...
Sadly, we cannot use std::array on NuttX
2017-01-03 13:25:33 +01:00
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
2017-01-03 10:39:55 +01:00
Beat Küng
f0c905ae43
Makefile: remove executable bit
2017-01-03 10:39:55 +01:00
Daniel Agar
c5c676cbd5
tests template remove list_builtins
2017-01-03 04:20:19 -05:00
Daniel Agar
9689163125
tests skip junit output and cmake exclude from all
2017-01-03 04:16:11 -05:00
Daniel Agar
573aed0ee8
tests coverage reorder to avoid lcov issues
2017-01-03 04:00:41 -05:00
Daniel Agar
6d4579751a
tests add airspeedsim
2017-01-03 04:00:41 -05:00
Daniel Agar
d4d63b982d
unittests disable optimization for coverage
2017-01-03 04:00:41 -05:00
Daniel Agar
c37d2c13e3
circleci limit coveralls submit to main repo
2017-01-03 04:00:41 -05:00
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
2017-01-03 04:00:41 -05:00
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.
2017-01-03 08:22:34 +01:00
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.
2017-01-03 08:22:34 +01:00
Daniel Agar
e0eada4400
travis-ci run coverity scan ( #6230 )
2017-01-02 23:34:45 -05:00
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)
2017-01-02 10:14:41 +01:00
Daniel Agar
1ceb0bebb5
sitl tests don't manually stop mavlink and dataman
2017-01-02 10:14:41 +01:00
Daniel Agar
34b2fb55e6
Makefile add clang-check and clang-tidy helpers
2017-01-02 10:14:41 +01:00
Daniel Agar
28971caaf3
partially restore mavlink_tests
2017-01-02 10:14:41 +01:00
Daniel Agar
5ec546f735
Makefile add scan-build target
2017-01-02 10:14:41 +01:00
Daniel Agar
dc9a71b674
WIP startup_shutdown test with ASAN on
2017-01-02 10:14:41 +01:00
Daniel Agar
f8d7c53537
lcov exclude gtest and mavlink
2017-01-02 10:14:41 +01:00
Daniel Agar
9fad6f9dd2
travis-ci use PX4_DOCKER for builds and specify tag
2017-01-02 10:14:41 +01:00
Daniel Agar
3607e72d4d
OSX don't run uorb test
2017-01-02 10:14:41 +01:00
Daniel Agar
554f6da1c2
circleci fix test reports and artifacts storage
2017-01-02 10:14:41 +01:00
Daniel Agar
b6ff406b7f
circleci upload coverage to coveralls
2017-01-02 10:14:41 +01:00
Daniel Agar
cc6fc48be2
circleci fix .ccache permissions
2017-01-02 10:14:41 +01:00
Daniel Agar
d6fd633500
sitl tests manually list all
2017-01-02 10:14:41 +01:00
Daniel Agar
4f97ef417f
sitl tests all config
2017-01-02 10:14:41 +01:00
Daniel Agar
9ae5e55f43
Makefile escape cmake generator string
2017-01-02 10:14:41 +01:00
Daniel Agar
351b3d20cb
sitl testing exclude tests
2017-01-02 10:14:41 +01:00
Daniel Agar
97bc0f4486
gather test results
2017-01-02 10:14:41 +01:00
Daniel Agar
cddef87998
Makefile split large target list for semaphore
2017-01-02 10:14:41 +01:00
Daniel Agar
74231e6656
split tests for SITL ctest
2017-01-02 10:14:41 +01:00
Daniel Agar
cbc9680800
relax uorb test required avg
2017-01-02 10:14:41 +01:00
Daniel Agar
c9192e23e1
quiet git header output
2017-01-02 10:14:41 +01:00
Daniel Agar
ac7c309925
move cmake version check into cmake
2017-01-02 10:14:41 +01:00
Daniel Agar
9ea80e9ff0
Makefile add PX4_RUN docker wrapper
2017-01-02 10:14:41 +01:00
Lorenz Meier
9178bb7371
Add new posix_sitl_shell build target which allows to run -make posix_sitl_shell none- in order to get an empty shell
2017-01-01 13:59:41 +01:00
Lorenz Meier
78f00368c5
Dataman: Be less verbose on start to clutter shell output less
2017-01-01 13:59:41 +01:00
ChristophTobler
037d91c51c
update posix-config for inav optical flow
2017-01-01 13:33:27 +01:00
Lorenz Meier
0205492a24
Update Mixer for LPE solo
2016-12-30 12:21:16 +01:00
jg
14ddc3018a
fixed solo gazebo target
2016-12-30 12:20:15 +01:00
ChristophTobler
90eada1e43
update sitl_gazebo submodule
2016-12-30 10:39:57 +01:00
ChristophTobler
11de4d70a6
add config file for ekf2-optical flow
2016-12-30 10:39:57 +01:00
ChristophTobler
04bc745d66
update sitl_gazebo submodule to master
2016-12-30 10:39:57 +01:00
Paul Riseborough
94ce6e12c1
sensor: update default flow sensor rotation
...
The SENS_FLOW_ROT parameter is used in the px4flow and mavlink receiver to perform the rotation from sensor frame to body frame.
2016-12-30 10:39:10 +01:00
Paul Riseborough
3787fafdff
px4flow: update default rotation and documentation
...
The driver performs the rotation from sensor frame to body frame.
The recommended installation default is with the Y sensor axis pointing forward.
2016-12-30 10:39:10 +01:00
Paul Riseborough
eca2aeccf9
position_estimator_inav: Make optical flow data conversions consistent with uORB interface
2016-12-30 10:39:10 +01:00
Paul Riseborough
92f5211f55
local_position_estimator: Make optical flow data conversions consistent with uORB interface
2016-12-30 10:39:10 +01:00
Paul Riseborough
ae55c8d87c
msg: Clarify sign conventions for optical flow message
2016-12-30 10:39:10 +01:00