9959 Commits

Author SHA1 Message Date
David Sidrane
906d7e7acd Using Upstream NuttX up_cxxinitialize from app/platform/gnu
was:<nuttx/arch.h> is:platform/cxxinitialize.h
   Removed PX4 version:src/modules/systemlib/up_cxxinitialize.c
   in favor of nuttx platform/gnu/gnu_cxxinitialize.c
2017-09-29 10:13:51 -04:00
David Sidrane
4fbcfae367 px4io firmware: Upstream NuttX up_cxxinitialize moved
was:<nuttx/arch.h> is:platform/cxxinitialize.h
   Removed PX4 version:src/modules/systemlib/up_cxxinitialize.c
   in favor of nuttx platform/gnu/gnu_cxxinitialize.c
2017-09-29 10:13:51 -04:00
David Sidrane
21caf63e13 Update px4iofirmware, px4io and drivers to uses NuttX IRQ API changes 2017-09-29 10:13:51 -04:00
David Sidrane
8f24b1c6e0 Update libuavcan Submodule to uses PX4 contrib to uavcan for NuttX IRQ API changes 2017-09-29 10:13:51 -04:00
David Sidrane
187482c1ba flashfs uses Upstream NuttX's new struct packing 2017-09-29 10:13:51 -04:00
David Sidrane
6669aa058d hardfault_log should has hal
remove stm32_bbsram.h and use px4_config.h
2017-09-29 10:13:51 -04:00
Daniel Agar
5eb3e695bb fix and enable mavlink ftp tests 2017-09-28 09:29:04 +02:00
Daniel Agar
3c18be387c ROI - move handling to navigator (#7939) 2017-09-26 12:25:02 -04:00
James Goppert
e72769c924 Imu filter (#7606)
* Add adjustable driver level cutoff freq for accel/gyro.

* Fix copy and paste error.

* Updated print_info.

* imu filter minor cleanup
2017-09-25 13:55:56 -04:00
Daniel Agar
420df9d88a mavlink receiver remove undocumented CMD_PREFLIGHT_REBOOT_SHUTDOWN link shutdown (#8008) 2017-09-25 11:09:16 -04:00
Daniel Agar
0da2dca8c1 drivers remove device _debug_enabled 2017-09-25 10:30:22 -04:00
ChristophTobler
16825e6460 inav: subscribe to multi dist instances and check orientation 2017-09-25 08:52:21 +02:00
ChristophTobler
bfe28c1df3 lpe: check for distance sensor orientation 2017-09-25 08:52:21 +02:00
ChristophTobler
ee82e80517 ekf2: subscribe to multi dist instances and check orientation 2017-09-25 08:52:21 +02:00
ChristophTobler
07e6738586 mavlink receiver: update for new orientation convention 2017-09-25 08:52:21 +02:00
Paul Riseborough
f0e8abe783 mc_pos_control: Use arming state to prevent unsafe reference point changes 2017-09-24 03:46:42 -07:00
Paul Riseborough
ef0e47ee63 mc_pos_control: Fix bug causing flyaway when GPS gained after takeoff
The change in origin when GPS was gained after takeoff was being used to shift the set point despite the previous origin being invalid.
2017-09-24 03:46:42 -07:00
Daniel Agar
24f056d2bb mavlink receiver sync command_int/command_long 2017-09-24 03:45:21 -07:00
James Goppert
13e64d00a8 commander handle shutdown command (#8000) 2017-09-23 10:35:36 -04:00
eric
557559cd85 set _triplet_lat_lon_finite true to avoid landing to not the current location, see #7990 2017-09-22 15:20:13 +02:00
Daniel Agar
b4755297ec delete control_state and cleanup vehicle_attitude (#7882) 2017-09-21 16:24:53 -04:00
Matthias Grob
5bea264a5f Matrix Quaternions: Apply simpler call for constructor and copying to all remaining modules 2017-09-21 17:44:57 +02:00
Beat Küng
26e4756055 mavlink_ftp_test: fix unit-tests 2017-09-21 07:33:09 +02:00
Beat Küng
5b85b26351 mavlink_ftp: keep a copy of the last reply & resend it upon duplicated seq num 2017-09-21 07:33:09 +02:00
Beat Küng
b072599679 mavlink_ftp: fix alignment issue 2017-09-21 07:33:09 +02:00
Beat Küng
ea587d585f mavlink_ftp: add & handle kErrFailFileExists error
This error definitions already existed in QGC
2017-09-21 07:33:09 +02:00
Henry Zhang
4778c79201 commander: removed CONFIG_ARCH_BOARD_xxx usage 2017-09-20 18:40:55 -10:00
sanderux
b5c3bc7b0f Remove thrust_sp from pusher assist calculation 2017-09-20 10:51:06 +02:00
Daniel Agar
4e6ca271e7 more px4fmu-v1 cleanup (#7981) 2017-09-20 00:04:23 -04:00
Lorenz Meier
0780e430fd Sensors params: Adjust tube length to better default 2017-09-19 09:01:11 -07:00
Lorenz Meier
1880abdac5 Airspeed: Base sensor model on device ID from sensor 2017-09-19 09:01:11 -07:00
Andreas Antener
4ea49242d3 SDP3x pitot compensation: fixed the compensation and protect agains negative compensation values 2017-09-19 09:01:11 -07:00
Lorenz Meier
b59aefc989 Airspeed measurement: Add accurate models for dynamic pressure
This allows to get very accurate readings from the SDP3x sensor series from Sensirion using a complete sensor model.
2017-09-19 09:01:11 -07:00
Daniel Agar
9cd915949a FW raise min airspeed based on commanded bank (#7575) 2017-09-19 11:06:40 -04:00
Daniel Agar
3498fe0c6f delete sdlog2 EKF2 replay (#7982) 2017-09-19 10:20:41 -04:00
Beat Küng
b00c93ac21 mc_pos_control_main: add clarification that we're in world frame 2017-09-19 11:44:29 +02:00
Beat Küng
05e3c58e18 mc_pos_control_main: simplify manual control handling 2017-09-19 11:44:29 +02:00
Beat Küng
d6df692b7a param MPC_MAN_TILT_MAX: decrease maximum from 90 to 85 degrees
At 90 degrees the yaw is extremely unstable (tested with HIL), it
overshoots and only very slowly converges to the correct value.
This behavior is also noticable with lower angles, but not so extreme.
It definitely needs to be looked into further, but for now this makes it
safer.
2017-09-19 11:44:29 +02:00
Beat Küng
55bd35cba6 mc_pos_control_main: improve the manual input setpoints 2017-09-19 11:44:29 +02:00
Beat Küng
fc51c42280 mc_pos_control_main: fix types for parameter values 2017-09-19 11:44:29 +02:00
Daniel Agar
26f00609ac multirotor_motor_limits only publish for MC 2017-09-19 02:25:30 +01:00
Dennis Mannhart
82f25453a7 mc_pos_control: smooth position control from stick input 2017-09-18 13:30:16 +02:00
Daniel Agar
545ce9ae24 modules remove extra semicolons 2017-09-16 21:29:52 +01:00
Daniel Agar
d3ed773838 sensors coverity fix 143426 2017-09-16 21:28:24 +01:00
Daniel Agar
086ddf5078 logger coverity fix 143427 2017-09-16 21:28:24 +01:00
Daniel Agar
91cda08081 temperature calibration coverity fix 141891 2017-09-16 21:28:24 +01:00
Daniel Agar
5331768cb3 ekf2_reply_main coverity fix 143425 2017-09-16 21:28:24 +01:00
Daniel Agar
8ddd071f18 temperature_calibration coverity fix 141892 2017-09-16 21:28:24 +01:00
Daniel Agar
6341299062 ekf2_replay_main coverity fix 143428 2017-09-16 21:28:24 +01:00
Mateusz Sadowski
e439070f25 drivers: refactor trone driver to work with Evo
This commit changes old trone driver into a generic
TeraRanger driver that supports both TeraRanger One
and TeraRanger Evo.

As a part of the change a new parameter was created
SENS_EN_TRANGER that allows to specify the following
modes of operation:

0 - sensors disabled
1 - autodetect sensors
2 - use TeraRanger One rangefinder
3 - use TeraRanger Evo rangefinder

Signed-off-by: Mateusz Sadowski <msadowski90@gmail.com>
2017-09-15 12:07:16 +01:00