Commit Graph

1122 Commits

Author SHA1 Message Date
Andreas Antener baa11e357d refactored do_set_servo handling and generalized formatting of CMD mavlink mission items, fixes #3644 2016-02-08 11:09:12 +01:00
Andreas Antener b75eaf3c4a implemented takeoff before WP and move to WP before land 2016-02-08 11:09:10 +01:00
Andreas Antener 7a592d56a2 initialize mission item struct 2016-02-07 11:36:03 +01:00
sander f0bad06bfd Fixes https://github.com/PX4/Firmware/issues/3658 2016-02-03 11:48:42 +01:00
Lorenz Meier b7470794c7 MAVLink: Send to first target system by default 2016-02-01 11:19:46 +01:00
Julian Oes b44f20d705 mavlink: option to specify the UDP remote port
This enables using several mavlink instances for SITL.
2016-02-01 11:15:21 +01:00
Lorenz Meier 8167f729ad MAVLink app: Fix NuttX compilation error 2016-01-31 22:04:39 +01:00
Lorenz Meier 56cd54ab71 MAVLink app: Fix network code to always prefer localhost, work still with remote targets 2016-01-31 20:16:26 +01:00
Lorenz Meier e2fd2f466e UDP testing for Linux folks 2016-01-24 11:13:47 +01:00
Lorenz Meier e17f344119 MAVLink: Enable 4 streams and fix OSD rate configuration 2016-01-23 18:25:19 +01:00
Lorenz Meier 619548b10a MAVLink: Send for the first 4 seconds to localhost on UDP to not interfere with the network 2016-01-20 11:53:58 +01:00
Lorenz Meier b8f11dee99 MAVLink: Code style 2016-01-20 10:59:39 +01:00
Lorenz Meier 83e45a1564 Re-instate UDP handling for MAVLink app 2016-01-20 10:59:25 +01:00
Lorenz Meier 9d239c10e5 Restore MAVLink network behaviour with fixed remote system approach 2016-01-18 23:19:51 +01:00
Lorenz Meier 7ead4050d6 Hotfix for sock addr, but this is merely a workaround 2016-01-18 13:08:35 +01:00
Lorenz Meier bafa9bb6bb MAVLink: Fall back in altitude indication to baro if estimate is not available 2016-01-17 16:30:02 +01:00
Lorenz Meier 57b95916f5 MAVLink: Add stack space for interface 2016-01-17 16:29:36 +01:00
Stefan 47786c8585 Update mavlink_main.cpp
spelling mistakes
2016-01-11 08:37:43 +01:00
Andreas Antener 7e7b21cbdc use raw parameter floats if mission item is a mission command 2016-01-11 08:19:00 +01:00
Lorenz Meier a355bdeea3 Fix MAVLink radio status flow control 2016-01-10 23:24:33 +01:00
Lorenz Meier 41f36aa99f Enable debug key/value stream by default 2016-01-09 16:59:37 +01:00
Lorenz Meier 24116b2672 Only try to disable HW flow control when not being UDP 2016-01-07 23:19:00 +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
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 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
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
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
Andreas Antener e8e81650dc implemented command ACK 2015-12-28 15:21:50 +01:00
Lorenz Meier 6a567cd911 Fix MAVLink compile error 2015-12-21 14:43:09 +01:00
Lorenz Meier 43aa6f64d9 MAVLink: Use correct multi-instance syntax 2015-12-21 14:18:38 +01:00
Lorenz Meier 5d9048280f Fix code style 2015-12-21 14:15:24 +01:00
Lorenz Meier 2041e3f3bc Handle unsupported commands gracefully in terms of their numerical range. Introduce an error code for out-of-range commands. 2015-12-21 09:19:39 +01:00
Lorenz Meier 948d9ee71e Report acceleration 2015-12-18 15:55:16 +00:00
Lorenz Meier 9714af3a8b Fix usage of PWM defines in mavlink app 2015-12-16 16:38:15 +00:00
Daniel Agar c0070a19a8 VFR_HUD should be indicated airspeed 2015-12-11 10:01:44 +01:00
edkoch 0a56ba8873 Added new telemetry stream to display vision pose updates 2015-12-09 20:34:43 +01:00
Lorenz Meier 4a1dd4f047 Merge pull request #3234 from UAVenture/altitude_message
WIP: Altitude message
2015-12-06 14:10:31 +01:00
Andreas Antener 08a1797eec changed isnan checks and cmake compiler condition for apple machines 2015-12-03 15:39:41 +01:00
Lorenz Meier c4ed598dff MAVLink app: Do not decode buttons when they are not true mode switches 2015-12-02 23:00:53 +01:00
Nate Weibley 4e4f780ecc Add support for switching to auto modes via SET_MODE 2015-12-02 13:38:44 +01:00
Lorenz Meier 5f9da470bb Do not redefine GNU source in modules 2015-12-01 13:49:55 +01:00
Lorenz Meier 895747825c MAVLink app: Include task header 2015-12-01 13:10:57 +01:00
Lorenz Meier f0a4979da6 Merged master into driver_framework 2015-12-01 12:34:02 +01:00