Julian Oes
0a7dcf26d5
mavsdk_tests: clean up includes
2020-09-16 12:51:56 -04:00
Julian Oes
630a6f3810
mavsdk_tests: clear params between test cases
2020-09-16 12:51:56 -04:00
Julian Oes
a5a577a6c4
mavsdk_tests: use speed factor, increase timeouts
...
We had not actually properly adjusted the timeout to the lockstep speed
factor. Once we did that, we had to increase the timeouts quite a bit to
have the tests pass.
2020-09-16 12:51:56 -04:00
Julian Oes
4eb1ea10f0
mavsdk_tests: don't block inside of callback
...
This is required with MAVSDK v0.29.0 and later!
2020-09-16 12:51:56 -04:00
Julian Oes
8d3f1e63f0
mavsdk_tests: use all os env vars by default
2020-09-16 12:51:56 -04:00
Julian Oes
55d2bdc438
mavsdk_tests: adapt to changed inject API
...
We now need to say which instance, for now it's all instances.
2020-09-16 12:51:56 -04:00
Julian Oes
06ad0de5eb
workflows: move to MAVSDK v0.29.0
2020-09-16 12:51:56 -04:00
Julian Oes
ed357cf356
mavsdk_tests: move math things to separate header
2020-09-16 12:51:56 -04:00
Julian Oes
1eaceb17dc
mavsdk_tests: adjust timeouts by lockstep speed up
2020-09-16 12:51:56 -04:00
Julian Oes
4d76ed34f3
simulator: update temperature in sync with baro
...
This fixes the case where the baro was not rejected if stuck because the
temperature still varied.
2020-09-16 12:51:56 -04:00
Julian Oes
20621e6744
mavsdk_tests: add tests for GPS as height source
2020-09-16 12:51:56 -04:00
Julian Oes
c31246e13a
mavsdk_tests: add test for stuck mag
2020-09-16 12:51:56 -04:00
Julian Oes
afcfa2fbe0
mavsdk_tests: check for stuck baro
2020-09-16 12:51:56 -04:00
Julian Oes
a05ad9c64c
mavsdk_tests: add wildcards for case filtering
2020-09-16 12:51:56 -04:00
Julian Oes
c4efcbf895
mavsdk_tests: check for baro failure in mission
2020-09-16 12:51:56 -04:00
Julian Oes
8d6ebf15b6
mavsdk_tests: test for losing mag during mission
2020-09-16 12:51:56 -04:00
Julian Oes
ef7e4531f9
mavsdk_tests: enable GPS lost test for VTOL
...
This is in multicopter mode only for now though.
2020-09-16 12:51:56 -04:00
Julian Oes
3c499fc3a2
mavsdk_tests: add first GPS lost failsafe test
2020-09-16 12:51:56 -04:00
Julian Oes
db87ba3a1c
systemcmds: add new failure command
...
This adds a new systemcmd to inject failures into the system.
2020-09-16 12:51:56 -04:00
Julian Oes
a9c4f269bd
simulator: use failure injection to block GPS
...
This uses the new failure injection system using vehicle_commands
instead of specific parameters. For now it implements GPS only.
2020-09-16 12:51:56 -04:00
Julian Oes
53b14233a2
mavlink: handle failure injection commands
...
This adds handling of MAVLink failure injection commands. An
additional parameter is added as a guard to prevent triggering any
failures by accident.
2020-09-16 12:51:56 -04:00
Daniel Agar
12ab762adc
sensor_calibration: silence error if priority is -1 (uninitialized parameter value)
2020-09-16 12:32:40 -04:00
Daniel Agar
033f74b1c8
sitl_run.sh remove xtrace leftover from debugging
2020-09-16 10:43:29 -04:00
Peter van der Perk
aaea6b3f3b
Add FMUK66-V3 RTPS target to CI
2020-09-16 09:42:34 -04:00
Peter van der Perk
0caad08dd5
Added RTPS target for FMUK66-V3
2020-09-16 09:42:34 -04:00
Beat Küng
abf5c2b301
ROMFS/CMakeLists.txt: change dependencies
...
- moves process airframe deps to the tar generation, to ensure whenever
airframes are processed, the tar is extracted first.
This is required, because if the airframe processing is done on pruned
ROMFS, it's missing the tags.
- avoid using init.d/rcS in dependencies, use a separate file instead.
This is because pruning modifies the rcS, and the next rebuild was
seeing a changed rcS, resulting in unnecessary regeneration.
2020-09-16 09:30:58 -04:00
Daniel Agar
2b18b05a8a
vscode updates and improvements
...
- fix gazebo SITL debug
- now prompts you to select vehicle
- devcontainer.json container support https://code.visualstudio.com/docs/remote/containers
- this allows you to jump straight into working within a container (px4-dev-nuttx) on a fresh machine
- also helps with Codespaces https://github.com/features/codespaces
- plugin updates
- cpp extension pack, spell checking, CTest support
- cleanup intellisense
- the backup tag parser was a resource hog and didn't work very well
- fix problemMatcher support so that you can click on a build failure
2020-09-16 09:07:54 -04:00
Nicolas MARTIN
504730386a
fix COM_ARM_AUTH comment
2020-09-15 22:12:55 -04:00
Daniel Agar
0e9a4cc65f
boards: px4/sitl sync all build variants and fix none default package
2020-09-15 21:13:04 -04:00
Daniel Agar
5e4e4a4573
boards: aerotenna ocpoc fix package (new ROMFSROOT was missing)
2020-09-15 21:13:04 -04:00
Daniel Agar
c41f053c7b
vehicle_imu/vehicle_magnetometer add calibration indicator to message
...
- vehicle_imu/vehicle_magnetometer add monotonically increasing `calibration_count` field so that downstream subscribers are aware of calibration changes
2020-09-15 13:12:57 -04:00
Daniel Agar
87471a988d
land_detector: use hover thrust if it was valid recently
...
- the hover thrust estimate will often invalidate upon ground contact, but before the land detector ground_contact triggers
- use same time throughout call to avoid subtle timing surprises
2020-09-15 10:17:25 -04:00
Daniel Agar
dc507ee544
sensors: add SENS_MAG_MODE to optionally publish all magnetometers
2020-09-15 10:15:39 -04:00
Daniel Agar
a04412fc1f
sensors: add SENS_IMU_MODE to optionally skip IMU voting/selection
2020-09-15 10:15:39 -04:00
Mirko Denecke
5ebc4d31da
CubeOrange and CubeYellow IMU heating fix
2020-09-15 10:08:58 -04:00
Beat Küng
ef55680ab1
sitl: enable EMBEDDED_METADATA to add parameter metadata to ROMFS
2020-09-15 09:30:16 +02:00
Beat Küng
0a061160f7
cmake px4_add_board: add EMBEDDED_METADATA
...
Allowing to put additional metadata into the ROMFS, the first is
parameters.json.gz.
2020-09-15 09:30:16 +02:00
Beat Küng
d5b8f6cdf9
sitl_run.sh: cleanup, kill jmavsim only if $program == jmavsim
2020-09-15 09:30:16 +02:00
Beat Küng
055fa768d8
posix: enable ROMFSROOT
...
This will copy the ROMFS into the build directory under etc/, and thus
needs a change of the PX4 startup parameters and mixer paths.
2020-09-15 09:30:16 +02:00
Beat Küng
d3362f38d1
parameters: add parameters.json.gz as output
2020-09-15 09:30:16 +02:00
Beat Küng
809d05053b
posix: add support for ROMFSROOT
...
- add missing ROMFS files to CMakeLists.txt
- rename genromfs to etc, so that it's clearer for SITL use
2020-09-15 09:30:16 +02:00
SalimTerryLi
28a6e82698
Introduce new generic ADC driver for ADS1115 chip ( #14437 )
2020-09-14 11:03:40 -04:00
Ricardo Marques
c15efea429
mavlink: publish ESC_INFO and ESC_STATUS
...
Signed-off-by: Ricardo Marques <marques.ricardo17@gmail.com >
2020-09-14 09:38:44 -04:00
flbernier
0ece66dc80
Add a internal start for rgbled_ncp5623c on fmu-v2 v3 v4pro
2020-09-14 09:31:31 -04:00
JaeyoungLim
0592f6ba6e
Support gliding setpoints for autonomous soaring ( #14643 )
...
* Enable offboard gliding position setpoints
Adds a capability to make the vehicle glide when given position setpoints.
Gliding setpoints are enabled by setting POSITION_TARGET_TYPEMASK_Z_IGNORE, POSITION_TARGET_TYPEMASK_VZ_IGNORE, POSITION_TARGET_TYPEMASK_AZ_IGNORE on the typemask of position setpoints.
Include zero cruising throttle
Invalid setpoints with nan
* Handle nans for curise_throttle
2020-09-14 10:56:29 +02:00
PX4 BuildBot
8bc512dc93
Update submodule sitl_gazebo to latest Mon Sep 14 00:39:41 UTC 2020
...
- sitl_gazebo in PX4/Firmware (ac732cdeba ): https://github.com/PX4/sitl_gazebo/commit/78bba3f25e7e240bf70878bd007dfd77b33440c1
- sitl_gazebo current upstream: https://github.com/PX4/sitl_gazebo/commit/9d2b19784cb34bf8f397ab2e2f368f682f2d5d5a
- Changes: https://github.com/PX4/sitl_gazebo/compare/78bba3f25e7e240bf70878bd007dfd77b33440c1...9d2b19784cb34bf8f397ab2e2f368f682f2d5d5a
9d2b197 2020-09-12 JaeyoungLim - Use jinja templates for standard_vtol and plane model (#590 )
01587e6 2020-09-12 Lorenz Meier - Include GLib2 properly The previous approach did not actually search for glib2 in the system but hardcoded the name.
e49fac5 2020-09-12 bazooka joe - cleanups: rename class vars to be with underscore
6fb9bd9 2020-09-12 bazooka joe - move initializers to h file
29999c6 2020-09-12 JaeyoungLim - Update boat gps sensor (#595 )
a208640 2020-09-09 petertheprocess - fix the rudder deflection bug. (#588 )
2020-09-13 21:41:22 -04:00
PX4 BuildBot
1ad2e85475
Update submodule ecl to latest Mon Sep 14 00:39:58 UTC 2020
...
- ecl in PX4/Firmware (3011684f9154975f4db1581d9466524a02d4cbf3): https://github.com/PX4/ecl/commit/a204c599903e6a462cab17bee061d4418a8b6b53
- ecl current upstream: https://github.com/PX4/ecl/commit/fab242a81f3836de716b0ed96fcc841360c3a867
- Changes: https://github.com/PX4/ecl/compare/a204c599903e6a462cab17bee061d4418a8b6b53...fab242a81f3836de716b0ed96fcc841360c3a867
fab242a 2020-09-06 Daniel Agar - python generation add shebang, mark executable, ignore cache
2020-09-13 21:37:01 -04:00
Daniel Agar
2b04ae3a05
Update submodule mavlink v2.0 to latest Mon Sep 14 00:39:47 UTC 2020
...
- mavlink v2.0 in PX4/Firmware (8d63bbe7d06ac13a5e78905886cfa51a53d0de92): https://github.com/mavlink/c_library_v2/commit/efc2a1fa7e1c7814ca7b65f484f6e9968cb8f1c8
- mavlink v2.0 current upstream: https://github.com/mavlink/c_library_v2/commit/09524c98db4eb389d3d50f7905a17805b216a9ea
- Changes: https://github.com/mavlink/c_library_v2/compare/efc2a1fa7e1c7814ca7b65f484f6e9968cb8f1c8...09524c98db4eb389d3d50f7905a17805b216a9ea
Co-authored-by: PX4 BuildBot <bot@px4.io >
2020-09-13 21:23:46 -04:00
Daniel Agar
13db2ebb2b
accel/gyro/mag calibration set default priority uninitialized
...
- this allows the default priority to be set differently for internal/external sensors
- accel and gyro initialize default priority like mag in preparation for fully supporting external sensors
- fixes #15652
2020-09-13 21:02:53 -04:00
Daniel Agar
d70e183f5b
commander: sensor calibration check parameter save success
2020-09-13 21:00:40 -04:00