Commit Graph

27473 Commits

Author SHA1 Message Date
TSC21 048ff56890 lpe: add vehicle_odometry and data validation handlers; improve inout interface 2018-09-18 09:52:33 +02:00
TSC21 7303005373 mavlink_receiver: add ODOMETRY handler; use new visual_odometry uORB msg and aliases 2018-09-18 09:52:33 +02:00
TSC21 4816adcdee mavlink_receiver: remove attitude_quatertion_cov and local_position_ned_cov handlers 2018-09-18 09:52:33 +02:00
TSC21 939216d6ff add vehicle_odometry msg 2018-09-18 09:52:33 +02:00
mcsauder 0d0fcb140c Updated rc.vtol_defaults to correct PWM_AUX behavior for VTOL airframes. Added PWM_AUX_RATE to rc.vtol_default and set parameters directly instead of environment variables. 2018-09-17 20:28:09 -04:00
Daniel Agar 73deded106 Jenkins force push metadata git updates (Devguide, userguide, QGC) 2018-09-17 15:09:43 -04:00
David Sidrane 2d800885bc NXPHlite: rc.sensors start lis3mdl (#10500) 2018-09-17 13:29:08 -04:00
Roman Bapst f361749d70 mavlink temporary workarounds for dronekit: added parameters to disable (#10422)
hash check and heartbeat forwarding

- hash check disabling: for systems where a companion link forwards messages
to QGC (e.g. via LTE) parameter streaming will be stopped as soon as QGC
sends the request to stop the stream. If the companion side for some reason
still requires the stream to be active we need to disable QGC from stopping
the stream. Normally dronekit should be responsible for filtering out the
request from QGC but apparently this is not possible.

- disable heartbeat forwarding: dronekit does seem to get confused if
heartbeats from another system other than the autopilot get forwarded to it.
Example: Sending messages from QGC via the autopilot to dronekit running on
companion computer.

Signed-off-by: Roman <bapstroman@gmail.com>
2018-09-17 13:24:20 -04:00
David Sidrane c1df899b6f fxos8701cq: Fully remove the mag to facilitate calibration (#10499)
The previous removal of the mag was not complete. It just disabled publishing. This commit conditionally removes all the the mag functionality.
2018-09-17 13:07:46 -04:00
Roman e17f0802cc tecs msg: changed flight_path_angle to height rate as clearly we are
looking at height rates

Signed-off-by: Roman <bapstroman@gmail.com>
2018-09-17 10:27:08 -04:00
PX4 Build Bot dd63a634b2 Update submodule devices to latest Mon Sep 17 00:37:44 UTC 2018
- devices in PX4/Firmware (8158cdfcf4): https://github.com/PX4/GpsDrivers/commit/aef48b04ff9b95350c4e5e507eea72a9e971d6a4
    - devices current upstream: https://github.com/PX4/GpsDrivers/commit/657514b26a0bf1b1ea2bf723b18449b04248822c
    - Changes: https://github.com/PX4/GpsDrivers/compare/aef48b04ff9b95350c4e5e507eea72a9e971d6a4...657514b26a0bf1b1ea2bf723b18449b04248822c

    657514b 2018-08-02 Alexis Paques - Adding UBX_MSG_RTCM3_* for additional messages
f9cf788 2018-08-02 Alexis Paques - Adding RTCM3 class documentation reference
6009a29 2018-08-02 Alexis Paques - Adding RTCM3 available output message IDs
2018-09-17 08:16:20 +02:00
Dion Gonano c68146c510 Update src/lib/ecl submodule tracking for required hgtErr changes 2018-09-16 21:30:20 -04:00
Dion Gonano 7691990a50 Pass through horizontal and vertial covariances 2018-09-16 21:30:20 -04:00
Roman Bapst 8158cdfcf4 navigator: set yaw_valid flag in reposition triplet (#10294)
- yaw_valid flag was always left at false which made the position controller reject the yaw setpoint of the reposition command
2018-09-16 19:29:38 -04:00
bresch 740e409016 PWM - Add PWM_MIN and PWM_MAX parameters for MAIN and AUX (#10452) 2018-09-16 18:07:29 -04:00
Daniel Agar bcad940a9f pwm_out_sim lazily publish actuator_outputs 2018-09-17 00:06:52 +02:00
Daniel Agar 9580cb8d86 SITL plane cut throttle during landing final stage 2018-09-17 00:06:52 +02:00
Julian Oes 9f7f30a166 jmavsim_run.sh: fall back to Java 9 on macOS
This checks if we are on macOS and if we have Java 8 installed. If yes,
it falls back to Java 8 by setting JAVA_HOME.

This avoids https://github.com/PX4/jMAVSim/issues/81
2018-09-16 17:40:27 -04:00
Julian Oes fec3422f54 jmavsim_run.sh: fix shebang and exit on error 2018-09-16 17:40:27 -04:00
Julian Oes 1789083ab3 jMAVSim: update to latest master
This should resolve the issues with Java 9/10.
2018-09-16 17:40:27 -04:00
Lukas Woodtli 3d29e2e76f Fix some test code related leaks (#10488)
These leaks are not critical but the address-sanitizer complains.
And it's better programming practice anyway.

Signed-off-by: Lukas Woodtli <woodtli.lukas@gmail.com>
2018-09-16 17:38:50 -04:00
Daniel Agar 3996ab1fc5 frsky_telemetry increase MAIN stack 2018-09-16 17:16:59 -04:00
Lukas Woodtli c1a58bda17 Add address sanitizer to SITL pipeline
- Environment variables for building with asan
- Docker argument for leak sanitizer
- Regex for tests to fail on sanitizer error

Signed-off-by: Lukas Woodtli <woodtli.lukas@gmail.com>
2018-09-16 09:40:53 +02:00
David Sidrane eb4f847322 nxphlite-v3:Set UART4 to have the same bufffer sizes as TELEM1
Bring UART4 bufffer sizes in alignment with FMUv2 Telem1
2018-09-14 15:38:56 -04:00
David Sidrane 153d106969 fxas21002c:Add margin to stack from RTT-Stack check 2018-09-14 15:37:20 -04:00
David Sidrane e84a7dc140 fxos8701cq:Add margin to stack from RTT-Stack check 2018-09-14 15:37:20 -04:00
David Sidrane 82576c8d4c mtd:Add margin to stack from RTT-Stack check 2018-09-14 15:37:20 -04:00
Beat Küng e2973028ab sitl_run.sh: do not kill jmavsim if model is none
I sometimes start jmavsim independently from px4, and in that case jmavsim
should not be killed. These are the commands:
./Tools/jmavsim_run.sh
make posix none
2018-09-14 17:07:40 +02:00
PX4 Build Bot fea77690ae Update submodule sitl_gazebo to latest Fri Sep 14 12:42:47 UTC 2018
- sitl_gazebo in PX4/Firmware (031885f9a90e70cd8d8aa22c774dfca1bd0c8dfb): https://github.com/PX4/sitl_gazebo/commit/821c55ca714d7acf93d8ed96af71237b8437e488
    - sitl_gazebo current upstream: https://github.com/PX4/sitl_gazebo/commit/9d512af0075659f0ace91ec0e2f8c8a170f911fb
    - Changes: https://github.com/PX4/sitl_gazebo/compare/821c55ca714d7acf93d8ed96af71237b8437e488...9d512af0075659f0ace91ec0e2f8c8a170f911fb

    9d512af 2018-09-12 Lorenz Meier - Update gazebo_wind_plugin.cpp
46d0be1 2018-09-12 Lorenz Meier - Update Wind.proto
14f09ff 2018-09-03 Elia Tarasov - fix compilation for gazebo version equal or greater 9
de86d7b 2018-08-31 Elia Tarasov - use template class vector3d from ignition::math
f3cba29 2018-08-31 Elia Tarasov - enable wind plugin
2018-09-14 17:07:22 +02:00
Beat Küng 2d5b51ed8e run-shellcheck.sh: exclude .bin files 2018-09-14 17:06:19 +02:00
Beat Küng 84c6b5ac6b fmu-v2: add bootloader binary and SYS_BL_UPDATE param for BL updates
This allows a simple-to-use bootloader update mechanism to switch from
fmu-v2 to fmu-v3 target that has more flash.
2018-09-14 17:06:19 +02:00
Roman 5847ab4607 posix main.cpp: better reporting e.g. when there are permission problems
- if somebody tries to use the shell with insufficient permissions he will be told so

Signed-off-by: Roman <bapstroman@gmail.com>
2018-09-14 14:43:08 +02:00
Roman Bapst 2d59ead1bf simulator: add MAV_TYPE to module parameters (#10476)
- this ensures that the MAV_TYPE parameter is always updated
- previously it could happen that the simulator module was using a wrong
MAV_TYPE value because it only read the parameter value at initialisation

Signed-off-by: Roman <bapstroman@gmail.com>
2018-09-13 21:56:21 -04:00
David Sidrane 3022fdb240 test_file2:test fails due to missing slash 2018-09-13 12:15:03 -07:00
David Sidrane 22a65f6c1d fmu:Fix Safety switch breakage from bc9c25a
The update check is on ORB_ID(safety) but the copy
   was from ORB_ID(actuator_armed).
2018-09-13 11:21:53 -07:00
David Sidrane 698590a5b2 Update nuttx with hardfault fix for kinetis on i2c reset 2018-09-13 06:56:00 -07:00
David Sidrane be6f6126f4 px4io:Add passive support for Enter/Exit pwm test mode
Accept PWM_SERVO_[ENTER|EXIT]_TEST_MODE as a noop.
   As long as the mixer in passthrough and armed the
   pwm test will work.
2018-09-13 08:45:36 +02:00
David Sidrane b578419e09 Bug fix fmu hard fault on pwm info
A hardfault was happening on:
    fmu stop
    fmu mode_pwm
    pwm info

   The _mixer was null and being dereferenced to access the trim
   setting that were moved to the mixer from the fmu.

   This commit fixes that but making the getter issue a warning
   and the setter fail.
2018-09-13 08:45:36 +02:00
David Sidrane 945a532260 pwm:Use test mode in steps command 2018-09-13 08:45:36 +02:00
David Sidrane 49f1540c30 pwm:Add test mode 2018-09-13 08:45:36 +02:00
David Sidrane 73b9f09920 fmu:Add test mode 2018-09-13 08:45:36 +02:00
David Sidrane efb512abea drv_pwm_output:Define test enter/exit IOCTL 2018-09-13 08:45:36 +02:00
Daniel Agar a87e81c61b Jenkins update snapdragon docker to 2018-09-12 2018-09-12 15:02:03 -04:00
Daniel Agar 8b76a87f98 OSX setup helper install pip python dependencies with sudo 2018-09-12 10:06:41 -04:00
Daniel Agar 73fe4ecd20 AV-X enable GPS for rev C board 2018-09-12 02:39:03 -04:00
Daniel Agar 90b60d44dc Jenkins update docker containers to 2018-09-11 (#10463) 2018-09-12 00:05:22 -04:00
David Sidrane c41d7ebdd3 kinetis:Bug fix PWM led update
The code was forcing the CV reload, but not resettting the count
  this would cause short and long blinks during breathing.

  this change allows the CV to update at 50Hz (20 ms) asynchronously.
  So the LED update rate of 40Hz (25) will take effect on the next
  FTM counter change, end of the prescaler counting, after CnV register
  was written.update.
                   a   b   c   d
  LED PWM   ___-___-___-___-___-___-___-___-___-___
  LED Data  ____-____-____-____-____-____-____-____-
                 a    b    c    d
2018-09-12 01:03:22 +02:00
Daniel Agar 16a23c5527 ubuntu env setup script install python deps system wide in docker 2018-09-11 15:24:55 -04:00
Daniel Agar c7ff4a87a3 ubuntu env setup script add file utility
- needed for cmake packaging
2018-09-11 15:24:55 -04:00
David Sidrane 520a81a951 nxphlite-v3:Disable internal mag due to random spikes.
This will disable the fxos8701cq internal mag on
  the NXPHlite. There are random noise spikes on the
  HIGHRES_IMU.[x|y|x]mag. Even with all other SPI
  devices shut down, the noise is still present.
2018-09-11 06:58:35 -07:00