Commit Graph

6425 Commits

Author SHA1 Message Date
Andreas Antener 7e7b21cbdc use raw parameter floats if mission item is a mission command 2016-01-11 08:19:00 +01:00
Andreas Antener b0333e3e95 allow transition commands in auto mode 2016-01-11 08:19:00 +01:00
Lorenz Meier 77782bd254 Navigator: Support transition command and digicam command in missions 2016-01-11 08:19:00 +01:00
Roman Bapst 2207986a1e Merge pull request #3485 from PX4/ekf2_blockparam
Ekf2 blockparam
2016-01-11 07:30:20 +01:00
Lorenz Meier ecc53488dd Commander: Allow commandline takeoff if already armed 2016-01-11 00:40:40 +01:00
Lorenz Meier a355bdeea3 Fix MAVLink radio status flow control 2016-01-10 23:24:33 +01:00
Roman 88b2c6c78d blockparam: added support for external parameter copy 2016-01-10 21:25:17 +01:00
Roman 0510d2cb56 fixed code style 2016-01-10 21:14:58 +01:00
Roman fe07079367 added parameter interface to ekf2 2016-01-10 21:14:58 +01:00
Mark Charlebois f22c574b87 Integrated cmake_hexagon for qurt build
Still a WIP since the IDL file needs to be replace with the
muorb IDL file.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-01-10 20:54:26 +01:00
Lorenz Meier 83339a2de0 Remove unmaintained fixed wing controller 2016-01-10 13:57:00 +01:00
Lorenz Meier 41f36aa99f Enable debug key/value stream by default 2016-01-09 16:59:37 +01:00
Mark Charlebois 5bc2019fd5 Fixes for qurt build
Added missing functions that were added for other targets but not for qurt.

Added workaround for missing sem_timedwait(). This may have a performance
impact until a sem_timedwait is supported.

std::to_string is not supported by the hexagon compiler

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-01-08 08:49:36 +01:00
Lorenz Meier 4907bf3374 Sim: Keep MAVLink parse status persistent, because that is the frickin state machine 2016-01-07 23:19:20 +01:00
Lorenz Meier 24116b2672 Only try to disable HW flow control when not being UDP 2016-01-07 23:19:00 +01:00
Julian Oes 72dc4d3290 simulator: fix mavlink parsing of sim+RC stream
The mavlink stream from the simulator and the mavlink stream over serial
(used for RC input) both had the same MAVLINK_COMM channel and were
therefore sharing an internal buffer in mavlink_parse_char. This meant
that most (low rate) serial messages were getting swallowed by the high
rate simulator stream.

This change fixes the issue where RC input was not properly arriving in
Gazebo, however it breaks the `commander takeoff` command in SITL which
needs to be investigated.
2016-01-07 23:08:32 +01:00
Andreas Antener 4b9a793c8f properly handle takeoff waypoint when not currently at takeoff location 2016-01-07 22:24:32 +01:00
Lorenz Meier 268990f216 Merge pull request #3433 from PX4/posix_uart
MAVLink app: Enable network and serial on POSIX
2016-01-06 09:27:18 +01:00
Andreas Antener 99f4487cc3 allow yawing with 0 throttle, changed condition to not being landed 2016-01-06 08:33:51 +01:00
Lorenz Meier 2ce3ef1caa VTOL: initialize fds struct 2016-01-05 22:11:06 +01:00
Lorenz Meier e9865071fa Merge pull request #3439 from PX4/vtol_sitl
VTOL fixes for SITL
2016-01-05 21:14:34 +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
Roman a79c6be39b tailsitter: go into mc mode it transition switch not assigned 2016-01-04 18:19:22 +01:00
Lorenz Meier 5227dbe26a MAVLink: Send RC_CHANNELS_OVERRIDE 2016-01-04 12:35:23 +01:00
Lorenz Meier c343926b51 MAVLink app: Enable network and serial on POSIX 2016-01-04 12:25:35 +01:00
Lorenz Meier a8a9c9b8ec MAVLink: Start slightly differently on USB 2016-01-03 15:28:04 +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 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 5dc4ea8146 Sim: minor cleanups 2015-12-29 14:17:59 +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 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