Commit Graph

31058 Commits

Author SHA1 Message Date
Daniel Agar 7775dfbc56 mavsdk_test_runner.py remove verbose gazebo output 2020-01-01 21:55:42 +01:00
Daniel Agar 9df06ffdea posix main wait_to_exit() fix and catch SIGTERM
- wait_to_exist() shouldn't depend on lockstep (px4_usleep)
2020-01-01 21:55:42 +01:00
Daniel Agar f7cf1ffc41 drivers/uavcan: remove MAVLINK header dependency 2019-12-31 21:01:21 -05:00
Daniel Agar 35073d093f gitignore update for in tree cmake builds 2019-12-31 12:37:22 -05:00
Daniel Agar 04efd91840 leddar_one: split into separate header, implementation, and main
- remove default serial port
2019-12-31 10:51:28 -05:00
Daniel Agar 213c6a1923 deprecate df_ms5611_wrapper and df_ms5607_wrapper (replaced with in tree ms5611 driver) 2019-12-31 10:37:29 -05:00
Daniel Agar e48b8b1abe drivers/adc: start WQ cycle on init 2019-12-31 13:42:42 +01:00
Daniel Agar ef12e63af2 ms5611: move to PX4Barometer and cleanup 2019-12-30 18:00:52 -05:00
SalimTerryLi 87e5da189b ms5611: fix start_bus() logic to work on linux and add RPi I2C bus config (#13814) 2019-12-30 16:16:56 -05:00
Daniel Agar c8fb3c589a posix I2C::init() should also probe() (sync with NuttX) 2019-12-30 10:37:07 -05:00
Daniel Agar cc7a0cd69d beaglebone blue: build librobotcontrol with cmake 2019-12-29 17:32:06 -05:00
PX4 BuildBot b3889e6187 Update submodule matrix to latest Sun Dec 29 00:38:26 UTC 2019
- matrix in PX4/Firmware (82244037f4f4be591cf1c8b9a25bb4969d0d33a9): e81483a808
    - matrix current upstream: d18be0d0fa
    - Changes: e81483a808...d18be0d0fa

    d18be0d 2019-12-28 kritz - Fix AngleAxis constructors (#117)
2019-12-28 20:25:33 -05:00
Daniel Agar 5c8ff4e680
Update submodule mavlink v2.0 to latest Sun Dec 29 00:38:12 UTC 2019
- mavlink v2.0 in PX4/Firmware (0fc4c66994d6164b60fdee818307d37ba5cf12d1): 412bad674e
    - mavlink v2.0 current upstream: dbcc725631
    - Changes: 412bad674e...dbcc725631
2019-12-28 20:24:25 -05:00
modaltb 9b707eebc7 bmp388: use default stack size of 2048, fixes stack check failure 2019-12-28 19:21:05 -05:00
Mathieu Bresciani 226169192a ekf2check: add COM_ARM_MAG_STR to en/disable mag field strength preflight check 2019-12-28 14:06:14 -05:00
Silvan Fuhrer 7bb952baed update airspeed usage to airspeed_validated (#13710)
* Mavlink: subscribe to airspeed_validated instead of airspeed topic

	This e.g. changes the way QGC displays the airspeed in case of an
	airspeed failure (0 instead of the last valid airspeed). It will
	always display the airspeed that's used currently in the control
	modules.

* FW land detector: move to subscribe to airspeed_validated instead of airspeed topic
	- the land detector checks further if the airspeed is NAN, in which case
	it sets the airspeed to 0 (min groundspeed, vz  and accel checks still
	have to pass.

* Fixed-wing land detector use airspeed_vaidated: addressed review comments
	- replaced ternary by conditional
	- set airspeed to 0 if airspeed_validated stops publishing

Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2019-12-28 12:32:41 -05:00
Timothy Scott fc1341208f INA226: Integrate with PX4 (#12673)
* Publish I2C battery data as battery_status
2019-12-28 12:30:11 -05:00
Silvan Fuhrer 574b482fdb Navigator: make weather vane work in all auto modes, not just mission (#13761)
- rename of flag in position sp: from allow_weather_vane to disable_weather_vane
 - flag now doesn't have to be set for all auto modes, meaning that weather vane is also active outside of mission
 - flag is set before front transition to align with wp, and unset after alignment is over

Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2019-12-28 12:13:15 -05:00
Daniel Agar 89e1f478ac PX4Accelerometer and PX4Gyroscope add vibration metrics and always publish status 2019-12-27 20:54:50 -05:00
Daniel Agar e189733bb9
l3gd20: split into separate header, implementation, and main 2019-12-27 17:29:04 -05:00
Daniel Agar 30a73416dc mavsdk SITL testing code coverage and upload to codecov.io 2019-12-26 14:31:33 -05:00
Lorenz Meier 2120c87d1e
Update ccpp.yml
The checkout action is not recursive, leading to build issues. Rely on auto-checkout on make instead.
2019-12-26 16:31:30 +01:00
Lorenz Meier f8ab98b5de
GH Actions: Remove submodules
The checkout action is not recursive, leading to build issues. Rely on auto-checkout on make instead.
2019-12-26 16:31:10 +01:00
Lorenz Meier 81472b9a6b Disable ROS2 in Jenkins due to Python3
We will bring this back when Python 3 is back operational.
2019-12-26 15:09:13 +01:00
Lorenz Meier 9d5c6c0baa
Update SITL Github Action
Github doesn't check out recursively, which breaks the build. We rely on the auto-checkout in our build system instead.
2019-12-26 13:24:40 +01:00
Lorenz Meier 9ef0d7a6b6
Update compile_nuttx.yml
Fix submodule usage in CI.
2019-12-26 13:17:05 +01:00
Lorenz Meier 1f63408aa0
SITL Github Action: Document Grind config in-place
This helps anyone needing it to find and set the correct grind iteration parameter.
2019-12-26 13:00:59 +01:00
Lorenz Meier eda1459140
Add access token to SITL test Github Action
This is needed for downstream adopters. We want them to re-use our CI tests so that contributions already are pre-tested when they are submitted.
2019-12-26 12:59:09 +01:00
Lorenz Meier 77951c1e07
Add access token to NuttX Github Action
This is necessary for downstream adopters. We want them to run these actions as well so that contributions are already pre-tested.
2019-12-26 12:57:58 +01:00
Lorenz Meier 993938c0b1
Add access token to C++ build test
This is necessary for downstream adopters.
2019-12-26 12:57:08 +01:00
Lorenz Meier d86a308f76
Add access token to build_tests.yml (#13789)
Add access token to build_tests.yml

This is necessary to enable GH Actions for downstream adopters. This also enables the explicit submodule checkout.
2019-12-26 12:54:56 +01:00
Matthias Grob ffff35a597 Unit tests: use EXPECT_FLOAT_EQ for float comparisons
as precaution to prevent failing tests because of small potential
rounding errors on certain platforms or compilares.
2019-12-26 12:53:07 +01:00
Matthias Grob ee62d0296f ControlMathTest: consistent short float literal notation 2019-12-26 12:53:07 +01:00
Matthias Grob ad148fdfad ControlMathTest: switch back to direct EXPECT_EQ calls for Vectors
Since the google test calls matrix::operator==()
which calls matrix::isEqual().
2019-12-26 12:53:07 +01:00
JaeyoungLim d5100b10dc Update comments 2019-12-26 12:03:32 +01:00
RomanBapst eeb47f6148 gazebo multiple sim script: cleanup
- make sure to kill all px4 instances and gazebo client when exiting
- add arguments to specify number of vehicles and vehicle model
- exit for now if vehicle model is not iris, since needs changes in
sitl_gazebo submodule

Signed-off-by: RomanBapst <bapstroman@gmail.com>
2019-12-26 12:03:32 +01:00
JaeyoungLim 876f42c171 Source environment inside the script 2019-12-26 12:03:32 +01:00
JaeyoungLim 155a212109 Update comments 2019-12-26 12:03:32 +01:00
JaeyoungLim f653be75c0 gazebo multiple sim: use xacro from the sitl_gazebo repository
Signed-off-by: RomanBapst <bapstroman@gmail.com>
2019-12-26 12:03:32 +01:00
JaeyoungLim 0b649326c3 Support multi vehicle sitl gazebo without ros 2019-12-26 12:03:32 +01:00
Lorenz Meier aaf033044d GH Actions: Only build on push
This still captures all commits, but does not cover the merged state of the PR. All PRs need to be up-to-date before merging/rebasing, which is better practice anyway.
2019-12-26 10:16:58 +01:00
Lorenz Meier adf7aee762 Harden autostart logic for non-existent airframe values
This ensures that the user is pushed back to the airframe configuration stage.
2019-12-26 10:16:58 +01:00
Lorenz Meier f5ce40e434 FMUv2: Exclude some multicopter targets
These are rarely used airframes that should not be missed.
2019-12-26 10:16:58 +01:00
Lorenz Meier 0c85c5d18e FMUv2: Exclude some fixed wing targets
These are rarely used airframes that should not be missed.
2019-12-26 10:16:58 +01:00
Lorenz Meier 02119c1832 FMUv2: Exclude rover targets
This is reasonable as these boards are very old and rovers are a new area of activity.
2019-12-26 10:16:58 +01:00
Lorenz Meier be35c4857b SITL shell: Do math using the shell
Bash or zsh from the last 10 years or so do math using the $((a + b)) syntax. This saves us from having bc as dependency.
2019-12-26 10:16:58 +01:00
Lorenz Meier 26d01b876c GH Actions: Enable grind option
This allows to run the script in grind mode to find CI failures that are triggered through e.g. race conditions.
2019-12-26 10:16:58 +01:00
Lorenz Meier 73edc21667 Tests: Add further instrumentation 2019-12-26 10:16:58 +01:00
Lorenz Meier 1834c156d2 Simulator: Remove EKF2 based wait
This is cleaner and needs testing.
2019-12-26 10:16:58 +01:00
Lorenz Meier 742b1839d5 Simulation: Set scheduling policy RR for lockstep
This should ensure that all processes do still run at full load.
2019-12-26 10:16:58 +01:00