9464 Commits

Author SHA1 Message Date
Lorenz Meier
7c8a2a1e18 HW test example: Use enough stack 2016-01-05 19:01:16 +01:00
dogmaphobic
bd6e4b9d9d Merge remote-tracking branch 'PX4/master' into logHandler
* PX4/master: (45 commits)
  don't use default source address for onboard udp link, wait on remote
  Configure Easystar HIL setup to do Runway takeoff
  ROMFS: Set 3DR quad tuning to more realistic default values
  Fix incomplete boot on new EKF config
  Fix px4fmu-v2_ekf2 config
  Updated MAVLink protocol version
  MAVLink: Start slightly differently on USB
  Start shell only if SD card not present
  Update ECL
  NuttX configs: added px4fmu-v2_ekf2 target for EKF2 development on Pixhawk
  Get QuRT drivers out of the way, as we are using our own
  Fix POSIX eagle config
  Remove unmaintained NuttX config
  VDev: fix code style
  Add new posix_eagle_default and qurt_eagle_default targets
  Fix QuRT build error
  Fix FMUv4 USB PID
  Speed up Vagrant
  VTOL: Fix motor index use in VT_FW_MOT_OFF. Create new param to re-default all deployed vehicles to not shut down motors.
  VTOL: Fix MOT_OFF bug
  ...
2016-01-05 01:03:11 -05:00
dogmaphobic
c0773c0157 Handling missing data requests without clearing session.
Letting stream handle all transfers.
Tested and fully working with new QGC PR.
2016-01-05 01:00:48 -05:00
Andreas Antener
11ed5169cc don't use default source address for onboard udp link, wait on remote 2016-01-04 23:58:05 +01:00
Lorenz Meier
a8a9c9b8ec MAVLink: Start slightly differently on USB 2016-01-03 15:28:04 +01:00
Paul Riseborough
6e0f96c095 Update ECL 2016-01-03 10:41:24 +01:00
Lorenz Meier
c91df50d7e VDev: fix code style 2016-01-02 09:59:06 +01:00
Lorenz Meier
2d72c95eda Add new posix_eagle_default and qurt_eagle_default targets 2016-01-02 09:30:51 +01:00
Lorenz Meier
55ce8c0c42 Fix QuRT build error 2016-01-02 01:27:29 +01:00
Lorenz Meier
3b2e82cd62 VTOL: Fix motor index use in VT_FW_MOT_OFF. Create new param to re-default all deployed vehicles to not shut down motors. 2016-01-01 14:44:42 +01:00
DroneBuster
56e5c50703 VTOL: Fix MOT_OFF bug 2016-01-01 14:39:03 +01:00
Lorenz Meier
e50fdbe327 Update ECL 2016-01-01 12:31:56 +01:00
Lorenz Meier
ce43c79a5a Update ECL use 2016-01-01 11:42:25 +01:00
Lorenz Meier
276855acd2 EKF2: Remove todo 2016-01-01 11:39:16 +01:00
Paul Riseborough
28f5cb8fe6 ekf2: Changes required to enter POSCTL mode
Adds missing local position and global position data
2016-01-01 12:30:12 +11:00
Andreas Antener
3d971e214a don't update local position reference if home position changes 2015-12-31 13:24:12 +01:00
Andreas Antener
d39e313768 use the proper check to prevent multiple mavlink instances on the same udp port, added warning when different remote than localhost connects to udp 2015-12-31 11:50:52 +01:00
Lorenz Meier
eff94677a4 MAVLink: Only broadcast heartbeat on local network if not in onboard mode 2015-12-30 17:26:09 +01:00
Lorenz Meier
4f548f328a Set range to 0.9 Ga max since full scale range is 1.3 Ga 2015-12-30 11:54:52 +01:00
Lorenz Meier
62763904f2 Simulator: Add performance counter for incoming packet interval 2015-12-29 17:12:29 +01:00
Lorenz Meier
fb3fade653 VTOL: Use correct motor off define 2015-12-29 14:22:37 +01:00
Lorenz Meier
947aa183f6 Use 900 us as default motor off PWM since some ESCs have lower limits 2015-12-29 14:22:06 +01:00
Lorenz Meier
5dc4ea8146 Sim: minor cleanups 2015-12-29 14:17:59 +01:00
lchish
6e1f54e2ff Add missing stm32f4discovery make targets 2015-12-29 11:57:29 +01:00
dogmaphobic
b4e69ccd4b One day I will get this right.
I had not tested the build under POSIX
2015-12-28 17:02:32 -05:00
dogmaphobic
1869b6ff97 Fix build error. 2015-12-28 16:05:16 -05:00
dogmaphobic
76cb67ae35 Add mavlink log messages handler 2015-12-28 15:00:02 -05:00
Thomas Gubler
7c52e8b96f Improve landing for special yawmode settings 2015-12-28 16:49:09 +01:00
Thomas Gubler
2af066bc6a guard against invalid yawmode values 2015-12-28 16:49:09 +01:00
Lorenz Meier
ea1439c627 Commander: Support landing through commandline 2015-12-28 16:00:32 +01:00
Andreas Antener
6c04ab970b fixed formatting 2015-12-28 15:23:20 +01:00
Andreas Antener
bd3d53902a readded missing rotation 2015-12-28 15:23:20 +01:00
Andreas Antener
68c9c4ae0f better defaults for relevant landing/takeoff parameters 2015-12-28 15:23:20 +01:00
Andreas Antener
b5f3c2d30d ramp up jump velocity instead doing a huge step 2015-12-28 15:23:20 +01:00
Andreas Antener
98bec0e175 also filter acceleration to filter out the bump on the ground on landing 2015-12-28 15:23:20 +01:00
Andreas Antener
e0405617ef also don't reset possp if near a loiter sp 2015-12-28 15:23:20 +01:00
Andreas Antener
ee0aa7b37d recalculate absolute thrust before limiting 2015-12-28 15:23:20 +01:00
Andreas Antener
d9878493bd cleaning up takeoff/landing logic, commenting on magic values 2015-12-28 15:23:20 +01:00
Andreas Antener
c033ef959a proper setpoint handling on takeoff, switch to loiter sp when takeoff finished 2015-12-28 15:23:20 +01:00
Andreas Antener
fe90e7882b do mission notifications for landing, switch to idle setpoint when landed 2015-12-28 15:23:20 +01:00
Andreas Antener
05a73d2821 added takeoff logic for position controller to get the uav off the ground fast and transition smoothly to poctl after takeoff, added landing logic to reduce thrust to zero once on the ground 2015-12-28 15:23:20 +01:00
Andreas Antener
ea7a1a92b5 correct thrust limiting during landing with margin, don't reset position setpoint when switching from takeoff to posctl and allow high enough z velocity for position lock 2015-12-28 15:23:20 +01:00
Andreas Antener
09b5bdb1ee in mc auto: do not reset the position sp while near the waypoint, should make switching to manual pos control smoother 2015-12-28 15:23:20 +01:00
Andreas Antener
5a009ce4c8 don't throttle up anymore during landing 2015-12-28 15:21:50 +01:00
Andreas Antener
f17c5d8d55 fixing takeoff mission and swtiching to previous flight mode after land/takeoff 2015-12-28 15:21:50 +01:00
Andreas Antener
64349c7a09 ability to switch to land mode 2015-12-28 15:21:50 +01:00
Andreas Antener
c32d44d8b4 disable position controller when landed and in manual control 2015-12-28 15:21:50 +01:00
Andreas Antener
3c4141ff50 increased time for less strict takeoff detection after arming 2015-12-28 15:21:50 +01:00
Andreas Antener
44f13006dd update mission state on takeoff 2015-12-28 15:21:50 +01:00
Andreas Antener
bfb862763c switching to prev main state after landing when disarmed 2015-12-28 15:21:50 +01:00