Commit Graph

20699 Commits

Author SHA1 Message Date
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
Lorenz Meier a6696d339d Sensors app: Fix consistency checks.
The sensors app assumed that all topics are published on boot which is not necessarily true and it assumed that all publications had valid data. This change ensures that topics are initialized as they update the first time and that the consistency check only runs on topics which carry valid data.
2016-12-30 00:06:04 +01:00
ChristophTobler 06436e753e acount for SENS_FLOW_ROT in simulation 2016-12-29 15:10:29 +01:00
Lucas De Marchi fd91f998c4 build: sort targets for GCS download
While at it, fix the trailing continuation line in the last item.
2016-12-29 08:54:02 -05:00
Lucas De Marchi e3f7bbfd8c build: add aerofc firmware for GCS download 2016-12-29 08:54:02 -05:00
Lorenz Meier ece8d85860 Add ICM20602 to Pixracer config 2016-12-29 11:55:57 +01:00
Dennis Mannhart d0d6b39602 This fix is needed because of the pitch_min and time_inside union from mission_item.
Without this fix, the function "get_time_inside" from navigation.h looses its purpose
to distinguish between takeoff and other waypoints.
2016-12-29 03:08:37 +01:00
Lorenz Meier c597a8e1df Disable a set of warnings for NuttX that are new in GCC 6 2016-12-28 15:14:48 +01:00
Lorenz Meier 381611bb66 LL40LS: Make commandline arguments easier to use 2016-12-28 15:07:56 +01:00