20190 Commits

Author SHA1 Message Date
Michael Schaeuble
b0ee5256d5 Disable LPE in px4fmu-v2_default
With GCC 4.9 the binary is to large for the flash memory.
This is why we disabled LPE on that platform.
v1.5.2
2016-12-09 18:59:42 +01:00
Michael Schaeuble
bdb76d013e Fix incorrect MPU9250 device ID
We propagate the bus parameters from the bus interface to the sensor
devices. Thus, the device ID of the sensor driver is set to the correct
bus id and address. Otherwise it would be zero, which is an issue if several MPU9250s
are running at the same time.
2016-12-09 18:59:42 +01:00
Paul Riseborough
1fbc688757 Commander: Fix pre-flight EKF check errors 2016-12-09 17:58:23 +01:00
Beat Küng
9442c89691 Tools/upload_log.py: add script to upload ulog file to logs.px4.io 2016-12-09 17:57:29 +01:00
Julian Oes
1424994bc0 navigator: don't takeoff in loiter on ground
This fixes the following corner case:
1. Upload a mission.
2. Set mission mode.
3. Set loiter mode.
4. Arm.
At this point it will shoot up and go to the takeoff waypoint even
though we're not in mission but in loiter mode.

The fix makes sure that the triplet is reset to invalid (and idle) in
loiter mode if we're landed and disarmed.
It will lead to the vehcle sit in idle on the ground until you issue a
start mission (or takeoff) command.
2016-12-08 15:07:14 +01:00
Dennis Mannhart
dd1ca0daa2 correctin from user input to roll and pitch 2016-12-08 15:06:00 +01:00
Dennis Mannhart
6906d966ce manual input mapping to roll and pitch 2016-12-08 15:06:00 +01:00
Roman
0c49abbef8 standard vtol: correctly modify attitude for pusher assist
- fix a bug where the wrong rotation order was used to compute the attitude
setpoint when using the pusher assist feature

Signed-off-by: Roman <bapstroman@gmail.com>
2016-12-08 15:05:43 +01:00
Samay Siga
6b08ba6272 Update 13010_claire
updated VT_FW_MOT_OFFID
2016-12-07 20:54:49 +01:00
Samay Siga
e3ef206846 Update claire.aux.mix
Replaced individual elevator and aileron into "elevons"
2016-12-07 20:17:43 +01:00
Daniel Agar
1941dfca87 add tests code coverage
-closes #5862
2016-12-07 20:17:00 +01:00
Dennis Mannhart
c2b6381759 adjust to astyle format v1.5.1 2016-12-07 17:32:09 +01:00
Dennis Mannhart
5ed35e9731 added comment why reseting at this point; created variable for horizontal velocity magnitude 2016-12-07 17:32:09 +01:00
Dennis Mannhart
6865a70dea reset position setpoints once altitude condition is reached 2016-12-07 17:32:09 +01:00
Julian Oes
fc9f2143d2 sitl_gazebo: update submodule 2016-12-07 16:23:21 +01:00
Beat Küng
78f1d9d017 hmc5883: fix MAGIOCGEXTERNAL ioctl for non fmuv1 boards
This makes the onboard check consistent with hmc5883_bus_option
initialization. If the current bus is the onboard bus, return !external.

It fixes the onboard mag (HMC5883) for AeroFC. Its priority is now 100,
previously it was 255, so that if an external mag is attached, it will be
preferred.
2016-12-07 11:06:28 +01:00
James Goppert
13df03c78a Fix bug with imu rotation for tyhpoon in sitl gazebo. (#5988) 2016-12-06 12:55:05 -05:00
James Goppert
fa834497bf Setup sf0x driver to handle all lightware lidars. (#5957) 2016-12-06 12:19:13 -05:00
Lucas De Marchi
7b81374fda aerofc: add comment to make intention clear 2016-12-06 08:34:18 +01:00
Lucas De Marchi
162c0a7418 Revert "Aerofc: px4fmu_common: Only set AUTOSTART to 4070 if nothing was set"
This reverts commit 126172d70c9362a6b6cadcac5584e539db280842.

This commit is going in the wrong direction: it's actually the same as
it was before, but allows changing the autostart configuration to
something other than 4070, which means people could wrongly assume it
would work in other configurations.
2016-12-06 08:34:18 +01:00
Beat Küng
176c6e0df2 aerofc config: update default parameters for attitude & position controllers 2016-12-05 18:08:44 +01:00
Beat Küng
e4e5a77f71 aerofc: use logger when autoconfig 2016-12-05 18:08:44 +01:00
Beat Küng
e3537ca6c2 px4fmu rcS: increase mavlink rate to 100000 for SYS_COMPANION 1500000
Needed for log streaming
2016-12-05 18:08:44 +01:00
Roman
aabf753ecb mc_pos_control: do not do tilt compensation when hor velocity is controlled
- fixed a bug where tilt compensation was done also when the horizontal
velocity was controlled. This is not needed because in this case
the controller outputs a 3D thrust vector.

Signed-off-by: Roman <bapstroman@gmail.com>
v1.5.1rc4
2016-12-05 16:07:19 +01:00
Lorenz Meier
f15d1ce5e7 Sort and sync FMUv3 config 2016-12-05 15:27:11 +01:00
Daniel Agar
77298e42db fix pixhawk 2 (solo) sensor start 2016-12-05 15:27:11 +01:00
Daniel Agar
69cc4d7e7f rc.sensors fix indentation 2016-12-05 15:27:11 +01:00
Daniel Agar
9d494e625f travis-ci upload px4fmu-v3 for qgc 2016-12-05 15:27:11 +01:00
Daniel Agar
a8747a01fe pixhawk 2.1 add 2nd ms5611 2016-12-05 15:27:11 +01:00
Daniel Agar
2c23c16b4f airframe metadata for vtol standard delta and AAERT 2016-12-05 10:26:17 +01:00
Mark Whitehorn
3294d839d6 add airframe metadata 2016-12-05 10:25:54 +01:00
Daniel Agar
2f962a986b PX4IO add IMU heater to status 2016-12-05 10:23:46 +01:00
Daniel Agar
1a1b8f69ac PX4IO add page setup case for thermal 2016-12-05 10:23:46 +01:00
Lorenz Meier
1b19b78c2b ROMFS: Enable thermal control (set to off) for Pixhawk 2 2016-12-05 10:23:46 +01:00
Lorenz Meier
b229dd891f Senssors app: Introduce thermal setting 2016-12-05 10:23:46 +01:00
Lorenz Meier
3166aeb8a4 PX4IO driver: Enable thermal control 2016-12-05 10:23:46 +01:00
Lorenz Meier
9f14ace0fa IO: Allow control of the blue led state as function of a Pixhawk 2.1 heater 2016-12-05 10:23:46 +01:00
James Goppert
4b6a11161e Fixes for sitl gazebo ground truth. (#5932)
* Fixes for sitl gazebo ground truth.

* Switch ekf2 to new logging module for sitl.
2016-12-03 11:40:53 -05:00
Dennis Shtatnov
d71645b321 CF2 Update to EKF2 2016-12-03 17:02:16 +01:00
Andreas Antener
64657900de SITL CI: use tagged docker image instead of latest v1.5.1rc3 2016-12-03 09:42:54 +01:00
Lorenz Meier
899fb8d3c5 Aero: Add integrator gains for attitude control 2016-12-02 23:39:30 +01:00
Andreas Antener
ef495d26b8 Airspeed calibration: wait on filter before preflight check 2016-12-02 22:56:48 +01:00
Andreas Antener
e9737d6f7a Preflight checks: made sure pre-flight check results are always reported first thing on the console and always on new or re-established telemetry links AFTER waiting for the hotplug timeout
(leads to double publishing on the console when a new link is established, but this is the best compromise between fixing and completely restructuring)
2016-12-02 22:56:48 +01:00
Andreas Antener
c069264752 Preflight check: initialize VTOL flag before it is used 2016-12-02 22:56:48 +01:00
Andreas Antener
b531e65f6a Airspeed check: updated message and explained test parameters 2016-12-02 22:56:48 +01:00
Andreas Antener
f772fc2d02 Airspeed: preflight check for bad offset, fixed calls to preflight checks (vtol & airspeed) 2016-12-02 22:56:48 +01:00
Julian Oes
f092b31f54 Update cmake_hexagon and DriverFramework
This update is needed after changes in
https://github.com/ATLFlight/cross_toolchain/pull/10.
v1.5.1rc2
2016-12-02 21:18:18 +01:00
Lorenz Meier
c53d828e09 Set EKF2 as default estimator 2016-12-02 21:13:34 +01:00
Lorenz Meier
654c7d2d16 Remove unused system command for FMUv2 config and re-enable MPU9250 driver 2016-12-02 20:58:38 +01:00
bharathr
fee75c61a1 Added PX4 sanity test script for Snapdragon Flight 2016-12-02 18:49:30 +01:00