26332 Commits

Author SHA1 Message Date
Beat Küng
ddde968a6f mavlink: allow resetting streams to their default via 'mavlink stream' command 2018-06-25 12:19:56 +02:00
Beat Küng
ec15fc333b mavlink: add 'mavlink status streams' command
Displays all enabled streams and their configured rates.
Example output:
instance #1:
        Name                Rate Config (current) [Hz] Message Size (if active) [B]
        HEARTBEAT                       1.00 (1.000)    21
        STATUSTEXT                     20.00 (6.320)
        COMMAND_LONG                  unlimited
        ALTITUDE                        1.00 (0.316)
        ATTITUDE                       25.00 (7.900)    40
        ATTITUDE_TARGET                10.00 (3.160)    49
        ESTIMATOR_STATUS                1.00 (0.316)    44
        EXTENDED_SYS_STATE              1.00 (0.316)    14
        GLOBAL_POSITION_INT            10.00 (3.160)    40
        GPS_RAW_INT                     1.00 (0.316)    62
        HOME_POSITION                   0.50 (0.158)
        RC_CHANNELS                     5.00 (1.580)
        SERVO_OUTPUT_RAW_0              1.00 (0.316)    49
        SYS_STATUS                      5.00 (1.580)    43
        SYSTEM_TIME                     1.00 (0.316)    24
        VFR_HUD                        25.00 (7.900)    32
        WIND_COV                        2.00 (0.632)
2018-06-25 12:19:56 +02:00
Beat Küng
84841236cb mavlink: allow resetting mavlink streams to default via MAV_CMD_SET_MESSAGE_INTERVAL
This implementation does not need more resources.
It's not super efficient in terms of runtime, but it's also not something
that is called often.
2018-06-25 12:19:56 +02:00
Beat Küng
333fd9cf45 mavlink: improve status output
- add datarate
- add UDP remote port
- add partner IP
2018-06-25 12:19:56 +02:00
Beat Küng
f59412ba65 mavlink: only enable HIL_ACTUATOR_CONTROLS in hil if link has enough bandwidth
Plus correct return value.
Iridium links are below that.
2018-06-25 12:19:56 +02:00
Beat Küng
4553992760 mavlink: refactor get_client_source_address() to return a reference instead of a pointer 2018-06-25 12:19:56 +02:00
Daniel Agar
aa270fcd89
Mission feasibility: remove 2/3rds distance warnings that don't reject a mission (#9743) 2018-06-23 10:39:23 -04:00
PX4 Jenkins
1a363be2e7 Update submodule sitl_gazebo to latest Sat Jun 23 01:30:51 UTC 2018
- sitl_gazebo in PX4/Firmware (1dd67e7787ffa428893444834d1d84efc9b9502e): b5a92095bf
    - sitl_gazebo current upstream: 3c7d18d0a5
    - Changes: b5a92095bf...3c7d18d0a5

    3c7d18d 2018-06-19 TSC21 - travis: add -DBUILD_ROS_INTERFACE=ON option to catkin build
e89cf8f 2018-06-17 TSC21 - travis: use catkin build tools
f7a1c4b 2018-06-19 Elia Tarasov - remove unnecessary mavros libs and duplicate CMake message
c495c57 2018-06-19 Elia Tarasov - remove unnecessary dependecies
5c861a5 2018-06-19 Elia Tarasov - remove executable node
7d69268 2018-06-19 Elia Tarasov - remove redundant includes
6ba0eeb 2018-06-19 Elia Tarasov - remove redundant ros packages
9c69a95 2018-06-18 Elia Tarasov - modify target node name and add needed libs
147cb56 2018-06-17 elia - move class member function definitions to implementation file
dc24fcc 2018-06-17 elia - add undefined class varibales
2018-06-23 10:35:22 -04:00
Daniel Agar
6b02fc083e cmake PMP fetch FlameGraph to build directory 2018-06-23 15:00:51 +02:00
PX4 Jenkins
1dd67e7787 Update submodule v2.0 to latest Fri Jun 22 01:28:36 UTC 2018
- v2.0 in PX4/Firmware (5e76f2dca7530404173601b4a231778381d4f3cc): 033fa8e7a4
    - v2.0 current upstream: f5c0ba6846
    - Changes: 033fa8e7a4...f5c0ba6846

    f5c0ba6 2018-06-19 PX4BuildBot - autogenerated headers for rev 40f8149d64
2018-06-22 09:42:40 -04:00
Daniel Agar
d21cf7123e version library add ECL 2018-06-22 08:46:30 +02:00
Daniel Agar
2a3d66cf45 px4fmu-v2_default include bl_update 2018-06-21 07:40:08 +02:00
DanielePettenuzzo
325fe16178 airspeed drivers: add PX4_I2C_BUS_ONBOARD as possible bus 2018-06-21 07:37:53 +02:00
DanielePettenuzzo
82b3e57abb rc.sensors: look for airspeed sensors on all busses 2018-06-21 07:37:53 +02:00
DanielePettenuzzo
035f240e76 ets_airspeed: add -a flag to scan all i2c busses during start 2018-06-21 07:37:53 +02:00
DanielePettenuzzo
670c3cbf4e sdp3x_airspeed: add -a flag to scan all i2c busses during start 2018-06-21 07:37:53 +02:00
DanielePettenuzzo
fd675084cc ms5525_airspeed: add -a flag to scan all i2c busses during start 2018-06-21 07:37:53 +02:00
DanielePettenuzzo
cf816fe556 ms4525_airspeed: remove i2c_bus parameter from start function (it tries all busses) 2018-06-21 07:37:53 +02:00
DanielePettenuzzo
5f3ea2f7ba ms4525_airspeed: change start_bus from bool to int 2018-06-21 07:37:53 +02:00
DanielePettenuzzo
c231b6834d ms4525_airspeed: remove PX4_I2C_ALL 2018-06-21 07:37:53 +02:00
DanielePettenuzzo
fa35731e02 ms4525_airspeed: add -a flag to scan all i2c busses during start 2018-06-21 07:37:53 +02:00
Philipp Oettershagen
7a82c777b2 LandDetector FW: Fix param min/max values and descriptions as well as some variable names which were wrong/outdated (#9708) 2018-06-20 16:13:33 -04:00
korigod
4dfd77a0cd cmake: add nuttx force-upload target (#9717)
If the PX4FMUv2 board does not have the v5 uploader, it's not possible
to check the silicon revision to make sure it's safe to upload the
firmware which is more than 1 MB. However, if the user is sure the
silicon revision is not affected by this errata, he can upload the
firmware using px4_uploader.py with --force argument. This commit adds
`force-upload` make target to do it more convenient way.

Signed-off-by: Andrei Korigodski <akorigod@gmail.com>
2018-06-20 10:37:01 -04:00
Ricardo Marques
bf0a1f05fb Tilt-Quadrotor Mixer and Airframe files (#9496) 2018-06-20 10:35:05 -04:00
Beat Küng
6a7751496b df_ms5611_wrapper: fix initialization of error_count & device_id 2018-06-20 08:28:33 +02:00
Paul Riseborough
4a0b41bbc0
ekf2: Enable use of flow sensors not fitted with gyros (#9703)
* ecl: Update to version allowing use of flow sensors without gyros

* msg: Update description for optical_flow

Adds advice for publishing gyro rate integral message when no rate gyro is fitted.
2018-06-20 10:28:58 +10:00
Julien Lecoeur
c73944c7a2 Mavlink: initialize _ping_stats
Uninitialized `_ping_stats.last_ping_time` caused ping statistics to be printed even when no ping was received.
2018-06-19 13:00:36 +02:00
Lorenz Meier
96443b3cf3 Update README v1.8.0 2018-06-19 08:23:34 +02:00
Beat Küng
d1343b0ccb calibration_routines: fix 'Command denied during calibration' error message
The uorb subscribe logic got changed for queued topics with
https://github.com/PX4/Firmware/pull/9436, meaning an orb_subscribe will
return past messages as well now.

This lead to an error 'Command denied during calibration' for the previously
received calibration start command.
2018-06-18 15:06:58 +02:00
PX4 Jenkins
1fac3a1cee Update submodule sitl_gazebo to latest Sat Jun 16 21:27:20 EDT 2018
- sitl_gazebo in PX4/Firmware (ebc40067c71e158646cc0fece422b0432c18878b): 8a3166bf5d
    - sitl_gazebo current upstream: b5a92095bf
    - Changes: 8a3166bf5d...b5a92095bf

    b5a9209 2018-06-10 TSC21 - travis_ci: Add OSX build
2018-06-17 10:30:44 +02:00
rolandash
ebc40067c7 otherwise posix_sitl_rtps fail to build (MACOS) 2018-06-16 10:13:33 +02:00
Lorenz Meier
d14d31df14 PX4IO: Initialize all channels to zero
This sets all channels to zero, including unused channels. Any consumer of the data using the channel count will not see a difference, but this is helpful to avoid confusion in log analysis.
2018-06-16 00:05:18 +02:00
PX4 Jenkins
af07d4b37b Update submodule apps to latest Fri Jun 15 15:25:42 UTC 2018
- apps in PX4/Firmware (1bc4a73eaacdb40f7d3f5ebd11882913b541b419): 7e2f17db4e
    - apps current upstream: 36806ba3d8
    - Changes: 7e2f17db4e...36806ba3d8

    36806ba 2018-06-06 Beat Küng - nsh_parse.c: fix 'while' and 'until' loop condition
2018-06-15 11:56:15 -04:00
PX4 Jenkins
499337ad7f Update submodule v2.0 to latest Fri Jun 15 15:25:36 UTC 2018
- v2.0 in PX4/Firmware (a19fecad94e3e937942abb6dcd3438fe1cce3d7a): 653ac745a5
    - v2.0 current upstream: 033fa8e7a4
    - Changes: 653ac745a5...033fa8e7a4

    033fa8e 2018-05-24 PX4BuildBot - autogenerated headers for rev d8ea87b9c6
2018-06-15 11:55:52 -04:00
David Sidrane
a19fecad94 Removed zero termination as a for constuct was used 2018-06-15 17:08:01 +02:00
David Sidrane
3e0928d9ea Changed variable type and used cpp array init. 2018-06-15 17:08:01 +02:00
David Sidrane
22b8a6c57e Fixed capitalization grammar 2018-06-15 17:08:01 +02:00
David Sidrane
afc8fe39df Rename trigger argument for clarity 2018-06-15 17:08:01 +02:00
David Sidrane
4e5e0c6921 camera_trigger:Refacter GPIO camera triggering
Refactored for efficiency and simplicity.
2018-06-15 17:08:01 +02:00
Beat Küng
ff365cad08 rtl: change "RTL: land at home" message from critical to info 2018-06-15 15:53:28 +02:00
Beat Küng
04db56638e ecl: update submodule
contains:
- https://github.com/PX4/ecl/pull/460
- https://github.com/PX4/ecl/pull/462
2018-06-15 15:53:28 +02:00
Anthony Lamping
e263af359e launch: make px4 required (#9682) 2018-06-14 20:37:25 -04:00
DanielePettenuzzo
1da87aa173 Vl53lxx Driver Coverity Fixes (#9671) 2018-06-14 20:36:43 -04:00
David Sidrane
3098b09bbd Updated submudule platforms/nuttx/NuttX/nuttx
to include [BACKPORT] Merged in kekiefer/nuttx/stm32f7-serial-fix-tiocssinglewire-upstream
2018-06-14 17:25:24 -04:00
Beat Küng
229b1274d0 fix camera_trigger gpio: _pins[i] == 0 is valid
Because _pins[i] is set from parameter value - 1
2018-06-14 15:03:39 -04:00
David Sidrane
a38b94c7dd BUGFIX:GPS not working. Invalid values passed to px4_arch_configgpio
This is the root cause of https://github.com/PX4/Firmware/issues/9461
   The _pins array was initialized to -1. It was used to index the
   _gpios array. The value at _gpios[-1] was a number that mapped to
   Analog mode on Port A pin 0. These is the UART4_TX pin and was
   being reconfigured by the fault in the camera_trigger to an
   alaog input.
2018-06-14 15:03:39 -04:00
David Sidrane
ae389ed0e3 Revert "gps: reopen the gps port on failed auto-detection"
This reverts commit a62a71f48f3d40bba6e9af114a185f6bbad849b1.
   The root cause was the camera trigger passing invalid pin
   configuration setting overwriting the UART4 TX pin setting
2018-06-14 15:03:39 -04:00
Roman Bapst
27fa29787d updated sitl_gazebo: use asphalt plane instead of uneven ground to reduce (#9675)
computational load in optical flow simulation

Signed-off-by: Roman <bapstroman@gmail.com>
2018-06-14 14:28:28 -04:00
Daniel Agar
322c7ad5da
Jenkins SITL tests completely wipe workspace (#9677) 2018-06-14 14:27:35 -04:00
Beat Küng
b66f0f36a5 ros tests: add an interactive flag & disable the PX4 shell for ROS tests (#9672) 2018-06-14 12:37:47 -04:00