Commit Graph

26325 Commits

Author SHA1 Message Date
Roman f13bbacd52
mc_att_control: copy sensor_correction topic once initially
Signed-off-by: Roman <bapstroman@gmail.com>
2018-11-12 21:00:28 -05:00
Daniel Agar 82aa24adfc tap_esc increase stack 1100 -> 1180 bytes 2018-10-19 20:11:14 -04:00
Daniel Agar a7969de738 cmake fix BUILD_URI 2018-10-19 20:11:14 -04:00
Daniel Agar 33e86d25b9 FMU relocate MOT_SLEW_MAX and THR_MDL_FAC parameters centrally 2018-10-19 20:11:14 -04:00
Daniel Agar 805dfc4312 PWM parameters centralize under sensors and add aux 7&8 2018-10-19 20:11:14 -04:00
Daniel Agar ab2d595224 FMU PWM parameters respect instance for MAIN/AUX usage 2018-10-19 20:11:14 -04:00
Philipp Oettershagen ab044e274d Navigator: Fix fixed-wing first order altitude hold (#9850)
i.e. the altitude reference oscillations caused by it in LOITER mode
2018-10-19 20:11:14 -04:00
Daniel Agar b0f766d90e mavlink MOUNT_ORIENTATION use math::degrees 2018-10-19 20:11:14 -04:00
Daniel Agar 2bb9d7e91f mavlink properly wrap heading fields
- fixes #9867
2018-10-19 20:11:14 -04:00
Beat Küng 5f8c08db79 mavlink_ulog: clear potential existing ulog_stream messages on start
- the uorb behavior got recently changed so that we now need to clear
  any potential existing messages when we start log streaming.
- ulog_stream_ack should also not use a queue, since the ack is done
  synchonous between mavlink and the logger.
2018-09-13 12:56:00 +02:00
DanielePettenuzzo a936dc291e airspeed drivers: add PX4_I2C_BUS_ONBOARD as possible bus 2018-08-03 13:41:56 +02:00
DanielePettenuzzo 42dc2bd890 rc.sensors: look for airspeed sensors on all busses 2018-08-03 13:41:56 +02:00
DanielePettenuzzo 9d878c719d ets_airspeed: add -a flag to scan all i2c busses during start 2018-08-03 13:41:56 +02:00
DanielePettenuzzo 649d4be185 sdp3x_airspeed: add -a flag to scan all i2c busses during start 2018-08-03 13:41:56 +02:00
DanielePettenuzzo bec74085f1 ms5525_airspeed: add -a flag to scan all i2c busses during start 2018-08-03 13:41:56 +02:00
DanielePettenuzzo 350df41e42 ms4525_airspeed: remove i2c_bus parameter from start function (it tries all busses) 2018-08-03 13:41:56 +02:00
DanielePettenuzzo 95295b30e8 ms4525_airspeed: change start_bus from bool to int 2018-08-03 13:41:56 +02:00
DanielePettenuzzo dd044ed4be ms4525_airspeed: remove PX4_I2C_ALL 2018-08-03 13:41:56 +02:00
DanielePettenuzzo 9b2e32c976 ms4525_airspeed: add -a flag to scan all i2c busses during start 2018-08-03 13:41:56 +02:00
Roman e1bca8d01a mavlink: fixed nullptr dereferencing in case unknown mavlink message is
forwarded

Signed-off-by: Roman <bapstroman@gmail.com>
2018-08-02 15:09:03 +02:00
Lorenz Meier 96443b3cf3 Update README 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 (ebc40067c7): 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 (1bc4a73eaa): 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 (a19fecad94): 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 a62a71f48f.
   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
Philipp Oettershagen 753ad0e0df Fixed-wing autoland: Fix bug that could cause a steep pitch increase and thus aircraft stall during the flare (#9674) 2018-06-14 11:29:03 -04:00
Oleg Kalachev 23cd6adbe7 precland: put land precision parameter to MAVLink mission item 2018-06-13 23:32:51 -04:00
Oleg Kalachev 86d3603e2d precland: fix landing target pose validity checking
In precland the copter may switch to horizontal approach state with an
old landing target pose message.
2018-06-13 23:32:51 -04:00
Beat Küng 036b59f3de posix main: convert c to a char when extending add_string 2018-06-13 16:19:34 +02:00
Beat Küng f241e49ebf voted_sensors_update: initialize _last_magnetometer & _last_airdata 2018-06-13 16:19:34 +02:00
Beat Küng 20f2303e8a test_mixer: fix resource leak (unclosed dp) 2018-06-13 16:19:34 +02:00
Beat Küng 76c94b08f1 PositionControl: use constant references instead of pass-by-value for structs 2018-06-13 16:19:34 +02:00