Commit Graph

1144 Commits

Author SHA1 Message Date
Andreas Antener f3a1abf659 added support for SP type idle 2016-03-21 20:32:19 +01:00
Andreas Antener 664b0ee0a9 read setpoint type from type mask in offboard 2016-03-21 20:32:19 +01:00
Andreas Antener 46ad873d00 add nan protection to attitude and actuator targets 2016-03-21 20:32:19 +01:00
Andreas Antener b1ee89b5ca add nan protection for position target local 2016-03-21 20:32:18 +01:00
Lorenz Meier f3f01ad960 Fix NuttX compilation 2016-03-19 19:28:42 +04:00
Kevin Mehall afa06ba9d7 Disable UDP options on platforms where it's not supported 2016-03-19 19:19:29 +04:00
Kevin Mehall 0cc3b4becc Add mavlink start -t partner_ip option to pre-set partner IP.
This avoids the need to modify the source code to hard-code the IP when
broadcast doesn't work.

Initializing the sockaddr_in structs with memset is unnecessary because
they are value-initialized by the Mavlink constructor.
2016-03-19 19:19:29 +04:00
Joep Linssen 38b09031a0 Fixed a typo that caused a uORB publication to fail 2016-03-19 11:24:40 +04:00
Julian Oes 213cdf1a91 mavlink: send out parameters faster over UDP 2016-03-18 11:26:29 +00:00
Daniel Agar 7a9427bc34 param remove empty @unit 2016-03-14 09:12:34 +01:00
Daniel Agar da9025ce86 mavlink param @unit 2016-03-14 09:10:29 +01:00
Lorenz Meier 1fdf252e96 Remove duplicate LAND mode, clean up mode reporting across the board to ensure consistency 2016-03-13 15:39:35 +01:00
Kabir Mohammed 309212b52b px4flow : rotate gyro readings as well 2016-03-08 08:52:08 +01:00
Lorenz Meier a516450868 MAVLink: Send vibration status message 2016-02-25 15:57:53 +01:00
Lorenz Meier cd583e054e MAVLink app: Use HDOP / PDOP 2016-02-25 13:45:34 +01:00
Lorenz Meier c6a30d74c1 Bump VFR HUD rate for OSD 2016-02-25 11:14:15 +01:00
Nate Weibley a1c9dc1f68 When restarting listing all parameters, skip sending hash on subsequent request
This change fixes a bug where hash-aware QGC using the old spec would continuously request the parameter list every time it received a mismatched hash.
2016-02-18 18:51:17 +01:00
Nate Weibley ae3838ff2e Remove superfluous parameter cache load message 2016-02-18 18:51:17 +01:00
Nate Weibley 0419a99f00 New param hashing spec
- When listing all params, lead with _HASH_CHECK value for cache load
 - When set value on _HASH_CHECK is rx'd, stop any ongoing listing req
2016-02-18 18:51:17 +01:00
Lorenz Meier ebeb9eba4b Cleaned up target system handling for some commands 2016-02-11 11:58:06 +01:00
ChristophTobler 519a7e2c8e added different distance_sensor_pub pointers for flow, hil and lidar 2016-02-10 09:24:39 +01:00
Lorenz Meier 3e02bb1070 MAVLink: Improve network handling 2016-02-09 12:51:05 +01:00
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