24349 Commits

Author SHA1 Message Date
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.
v1.7.0-rc0
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
Lorenz Meier
afc8503260 PX4IO Firmware: Fix usage of new operator in IRQ
The mixer was creating a new class in interrupt context, which is not valid use in NuttX. This change copies the mixer into the buffer and runs the mixer management section of the code outside of interrupt context in the normal task.
2017-10-30 20:03:19 +01:00
Daniel Agar
509ac10ccc
JenkinsFile updates (#8210)
- check format first
 - build on nuttx_px4fmu-v2_default
 - generate all metadata
 - stubs for deploying metadata and binaries
2017-10-30 10:20:23 -04:00
Paul Riseborough
b3d045d4d0 Revert "add boolean parameters to enable/disable each sensor"
This reverts commit 9fde19259ead1c8bb042c52ee574a5fcdc4a7804.
2017-10-30 20:49:36 +11:00
Paul Riseborough
3a57712d2b ecl: Use commit on master
This is a non-functional change that point to a commit on master instead of the merged branch.
2017-10-30 08:21:09 +01:00
Paul Riseborough
589d58ce87 ekf2: Fix bug preventing first IMU failover bias reset 2017-10-30 08:21:09 +01:00
Paul Riseborough
0c9e07c95a ekf2: repeat IMU bias reset until successful 2017-10-30 08:21:09 +01:00
Daniel Agar
9fde19259e add boolean parameters to enable/disable each sensor 2017-10-29 16:24:31 +01:00