Commit Graph

24406 Commits

Author SHA1 Message Date
Daniel Agar 273742aa0d add boolean parameters to enable/disable each sensor 2017-11-14 15:54:37 -05:00
Daniel Agar 84f07c64b0 Navigator RTL fully initialize mission item in each state 2017-11-14 14:57:34 -05:00
Daniel Agar 98cbd44526 RTL check alt_max before using
- fixes #8257
2017-11-14 14:57:34 -05:00
Dennis Mannhart 05c00855c4 navigator: reset triplets if navigation mode changes (#8285) 2017-11-14 11:32:21 -05:00
Julien Lecoeur ef906d08d3 Jenkins: update docker image (#8286) 2017-11-14 10:01:07 -05:00
Paul Riseborough a410893080 ecl: Update ekf2 to version that addresses known vulnerabilities
See:

https://github.com/PX4/ecl/pull/350
https://github.com/PX4/ecl/pull/354

Note the amount of stack allocation has had to be increased to accomodate pr350
2017-11-13 22:50:12 +01:00
Beat Küng c2c8ed6f5c navigator: make FollowTarget::_follow_position_matricies constexpr (#8281)
The matrix is never changed and has a size of 144 bytes.
2017-11-13 12:30:33 -05:00
ChristophTobler f2e8aabda4 use int32_t instead of int 2017-11-13 16:59:03 +01:00
Julian Oes 585b03898f vtol_att_control: ack transition commands
Previously transition commands were not acked at all which meant that a
mavlink consumer such as a ground station would not get feedback if the
command arrived.

This solution is not optimal because it does not take into account if
the transition actually happened but at least it is feedback that the
command has arrived at the destination.
2017-11-13 09:56:11 -05:00
Lorenz Meier 4028692bfe Navigator: Limit string copy to length of target array 2017-11-13 09:59:54 +01:00
korigod c3fe7e989e integrationtests: upgrade numpy before px4tools install (#8274)
During px4tools installation, the latest version of pandas is
installed, which requires numpy>=1.9.0. Pandas installs the required
version, however, due to the presence of the old numpy in the docker
image, the present version 1.8.2 is used, which leads to an error
when importing pandas.

This commit fixes the problem by explicitly upgrading numpy before
px4tools installation.

Signed-off-by: Andrey Korigodsky <akorigod@gmail.com>
2017-11-12 23:33:36 -05:00
garfieldG cddea6f4b3 Fixed version firmware type (#8250)
* Fixed the version tag to number and version tag to vendor version number to return dev version in case of any local modifications or in case there's a dash before firmware type in tags that support vendor  version.
2017-11-11 20:04:16 -05:00
Julien Lecoeur 4e7bd576cb generate_listener.py: generate one function per topic to fit function sizelimit 2017-11-09 10:54:35 +01:00
Julien Lecoeur 8f2759ba79 topic_listener: allow multi-topic messages 2017-11-09 10:54:35 +01:00
Beat Küng cf7140526a jMAVSim: update submodule to include fix for VMware driver 2017-11-08 10:47:57 +01:00
Daniel Agar 0a58bd309c EKF2 always publish status message (#8234)
* EKF2 always publish status message

* EKF2 fix comment typo

* EKF2 time slip use signed int and consolidate

* EKF2 minor readability improvements
2017-11-08 07:55:50 +11:00
Daniel Agar aa699cf4b7
Jenkins track test results (#8236) 2017-11-05 15:04:14 -05:00
TSC21 5a17f6b2d5 lpe: update _sensorTimeout init on constructor 2017-11-03 23:45:43 +01:00
TSC21 483f0d55e0 lpe: style fix 2017-11-03 23:45:43 +01:00
TSC21 051822eee1 lpe: remove unneeded subscriber to manual_control_setpoint 2017-11-03 23:45:43 +01:00
TSC21 691c35f47e lpe: small fixes 2017-11-03 23:45:43 +01:00
TSC21 e6efb5ec0a lpe: update _sensorTimeout and _sensorFault to handle support of more sensors 2017-11-03 23:45:43 +01:00
TSC21 392999c2df lpe: fix innovation covariance publishing 2017-11-03 23:45:43 +01:00
avinash-palleti 76fcd99241 Fix protocol_splitter compilation issues (#8230)
Fixing compilation warnings which are treated as errors.
2017-11-03 15:35:46 +05:30
Beat Küng 459a71a6f1 mavlink_receiver: directly pass the result to acknowledge()
And use denied in case ulog streaming fails.
2017-10-31 22:16:06 +01:00
Beat Küng a2db639289 mavlink_receiver: disable ulog streaming via Telemetry links
Telemetry links don't have enough bandwidth for that feature. The vehicle
will return a NACK when trying to enable log streaming on such a link.
2017-10-31 22:16:06 +01:00
Beat Küng 8f7a5d0e0c mavlink_receiver: merge handle_message_command_{long,int} into a common method 2017-10-31 22:16:06 +01:00
Beat Küng 29af2343e1 fix NAV_TRAFF_AVOID param definition: needs a ;
Without that the parameter was not in parameters.xml, producing the error:
ERROR [lib__controllib] error finding param: NAV_TRAFF_AVOID
2017-10-31 11:18:49 +01:00
Lorenz Meier a1a002f9b6 Navigator: Add the ability to do a low-altitude RTL to avoid traffic
This is a first baseline implementation for collision avoidance with aircraft equipped with transponders. Since the drone-to-drone and drone-to-airplane system will be regulated by a standard, we do carefully avoid to do anything too fancy. This implementation allows to reduce altitude to get close to ground and land immediately or RTL. This is similar to what a human pilot would do and allows to get out of manned airspace which is at higher altitudes.
2017-10-31 09:10:32 +01:00
Daniel Agar 330eed2bd6 circleci parallel compile 2017-10-31 08:13:38 +01:00
Daniel Agar 56bbe541ae travis-ci remove tests under UBSAN 2017-10-31 08:13:38 +01:00
Daniel Agar 9ff7f05d94 travis-ci remove tests under ASAN 2017-10-31 08:13:38 +01:00
Daniel Agar 43c0622819 travis-ci remove scan-build 2017-10-31 08:13:38 +01:00
Daniel Agar c4fd467c19 travis-ci remove cppcheck 2017-10-31 08:13:38 +01:00
Daniel Agar a567b94802 travis-ci remove check_stack 2017-10-31 08:13:38 +01:00
Daniel Agar 02339055e7 travis-ci remove check_format 2017-10-31 08:13:38 +01:00
Daniel Agar 14fefca85e vmount delete InputTest on error
- fixes CID 139488
2017-10-31 08:12:12 +01:00
Daniel Agar 0931efb3f0 vmount initialize params
- fixes CID 199479
2017-10-31 08:12:12 +01:00
Daniel Agar ce78f254c2 mavlink parameters initialize struct
- fixes CID 141890
2017-10-31 08:11:18 +01:00
Daniel Agar 5436801435 esc_calib properly cleanup on failure
- fixes CID 139514
2017-10-31 08:10:51 +01:00
Daniel Agar 21995bd4b7 sensors ignore invalid failover index
- fixes CID 199478
2017-10-31 08:10:04 +01:00
sanderux dd9179efc9 Adaptive QuadChute disabled in manual modes 2017-10-30 20:57:47 +01:00
sanderux fc16a31f89 Adaptive quadchute 2017-10-30 20:57:47 +01:00
Beat Küng 9c8dc3941d commander: fix 'commander arm' not working in HIL mode
This got introduced with 61b0a81bf9. Due to the removed startup_in_hil flag,
this check does not work anymore, so remove it completely.
2017-10-30 20:53:58 +01:00
davidaroyer f6693f1f17 drivers: remove ocpoc_sbus_rc_in 2017-10-30 20:53:28 +01:00
davidaroyer 2fab183731 posix-configs: use linux_sbus on ocpoc 2017-10-30 20:53:28 +01:00
davidaroyer b0942e996b cmake: use linux_sbus for ocpoc target 2017-10-30 20:53:28 +01:00
davidaroyer 090b668075 cmake: add missing vehicle control modules to ocpoc 2017-10-30 20:53:28 +01:00
Daniel Agar 466eb9ceb4 travis-ci remove metadata build and s3 uploads 2017-10-30 15:25:08 -04:00
PX4 Build Bot 642c2ca2f5 don't update devguide and user guide from pipeline 2017-10-30 15:25:08 -04:00