Commit Graph

388 Commits

Author SHA1 Message Date
Lorenz Meier
a66cf2a658 MAVLink app hotfix: Enable MAVLink daemon on default port 2016-03-28 17:30:43 +02:00
Lorenz Meier
e26c5bb590 Do not receive anything in OSD mode 2016-03-28 12:37:03 +02:00
Lorenz Meier
6d42595c79 Fix MAVLink app teardown with mavlink stop-all command 2016-03-25 15:20:32 +01:00
Julian Oes
de0e467150 mavlink: bring buffering for log messages back 2016-03-24 13:10:02 +01:00
Julian Oes
2d4179a35b mavlink: refactor mavlink_log
This moves the mavlink_log interface from ioctl to uORB and enables the
mavlink statusmessage output for Snapdragon. The API changes will lead
to changes in all modules that are using it.
2016-03-24 13:09:16 +01:00
Julian Oes
a446a337e9 Revert "mavlink: send out parameters faster over UDP"
This reverts commit 213cdf1a91.

Raising the stream rate of param values had the nice effect that
receiving the params became really quick. However, on the downside it
set all other streams pretty slow. This needs to be fixed differently.
2016-03-23 11:46:25 +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
Julian Oes
213cdf1a91 mavlink: send out parameters faster over UDP 2016-03-18 11:26:29 +00:00
Lorenz Meier
a516450868 MAVLink: Send vibration status message 2016-02-25 15:57:53 +01:00
Lorenz Meier
c6a30d74c1 Bump VFR HUD rate for OSD 2016-02-25 11:14:15 +01:00
Lorenz Meier
3e02bb1070 MAVLink: Improve network handling 2016-02-09 12:51:05 +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
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
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
9d239c10e5 Restore MAVLink network behaviour with fixed remote system approach 2016-01-18 23:19:51 +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
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
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
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
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
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
Lorenz Meier
f0a4979da6 Merged master into driver_framework 2015-12-01 12:34:02 +01:00
Lorenz Meier
d07c69d329 MAVLink: Output RC inputs faster 2015-11-28 11:16:21 +01:00
Andreas Antener
11d9e3a325 also adding message to usb config 2015-11-24 14:03:54 +01:00
Andreas Antener
d9c332353a added altitude stream to configs 2015-11-24 14:03:54 +01:00
Mark Charlebois
36208255bd Address Sanitizer found delete vs delete[] issue
mavlink_main.cpp used new char[n] and delete vs delete[].

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-23 23:23:02 -08:00
ChristophTobler
dfdf7dce4d new mode for fake gps 2015-11-17 16:38:11 +01:00
Lorenz Meier
85ad5a622a MAVLink: Send USB telem status 2015-11-04 18:23:30 +01:00
Lorenz Meier
8a6e9d17ba MAVLink: Do a better job at receive rate limiting 2015-11-03 09:11:12 +01:00
Lorenz Meier
7d517978f0 MAVLink: Disable named value float 2015-10-23 11:20:53 +02:00
Lorenz Meier
09f370940a POSIX UDP: Correct evaluation of broadcast return value 2015-10-12 12:25:06 +02:00
Lorenz Meier
a33568cd49 MAVLink: Fix initial broadcast mode. This helps to find the GCS 2015-10-09 10:43:04 +02:00
Andreas Antener
46d093c060 implemented extended system state message 2015-10-07 11:51:35 +02:00
Lorenz Meier
fefdcd3fa9 Merge master into cmake-2 2015-10-03 15:34:30 +02:00
Lorenz Meier
4154ab4e26 Include named value float 2015-10-03 10:03:50 +02:00
Lorenz Meier
96e0ac4581 Merge branch 'sensor_load' into cmake-2 2015-09-27 18:10:18 +02:00