Daniel Agar
f8e291dab1
mavlink VFR_HUD throttle use first 2 groups ( #7106 )
...
- fixes #6974
2017-04-22 16:08:27 -04:00
Don Gagne
96458d3184
Support for RTL and Delay mission commands
2017-04-18 08:56:01 +02:00
Daniel Agar
34058cbc21
mavlink EXTENDED_SYS_STATUS add takeoff and landing ( #7064 )
2017-04-17 09:31:49 -04:00
Jon Watson
3fda79ef8b
set battery warning for MAVLink battery status ( #6890 )
2017-04-13 12:37:19 -04:00
Beat Küng
c7d9a7a6d1
mavlink_log_handler: fix potential buffer overflow
2017-04-06 11:48:35 +02:00
Julian Oes
3c1d785d86
mavlink_mission: set INT frame correctly
...
Also when formatting malvink mission items from internal mission items,
the INT flag should be obeyed.
2017-04-01 20:07:55 +02:00
Julian Oes
80ce1b6dd8
mavlink_mission: support INT altitude frames
...
The relative altitude flag was not set correclty when waypoints are sent
using the INT protocol.
2017-04-01 20:07:55 +02:00
Daniel Agar
79d15ad2f0
mavlink stream camera trigger broadcast DO_DIGICAM
2017-03-26 14:05:38 +02:00
Jon Watson
8a6b6f9be5
Send MAVLink DO_DIGICAM_CONTROL on camera trigger ( #6815 )
2017-03-24 13:24:09 -04:00
Lorenz Meier
7695b65b7f
MAVLink app: Default to MISSION, not MISSION_INT
...
In order to ensure correct transmission the mission system needs to default to the legacy protocol and switch to the new implementation when these conditions are met:
* If the GCS sends a MISSION_REQUEST_INT - it will do this based on the AUTOPILOT_VERSION flag indicating int mission support
* If the autopilot sends a MISSION_REQUEST and has the AUTOPILOT_VERSION flag for 2.0 set, the GCS should NACK it, which will make the autopilot retry a MISSION_REQUEST_INT
* If the autopilot sends a MISSION_REQUEST_INT and the GCS does not support it, the GCS will ignore and time out. The autopilot could retry now opportunistically with the old protocol, but this is not great for lossy links.
* If the GCS sends a MISSION_ITEM_INT - this is a fallback
2017-03-16 23:16:39 +01:00
Beat Küng
45af77a543
mavlink parameters: try to send 5 params at once on USB & UDP connections
...
This further speeds up param loading.
On Pixracer via USB, it's possible to send up to 11 at once before the TX
buffer gets full, so there is still enough free bandwidth left.
2017-03-14 21:30:04 +01:00
Beat Küng
2873d973de
mavlink: increase parameter rate from 120 to 300Hz
...
This speeds up parameter loading. Slow links like telemetry are unaffected,
since the mavlink loop runs only with ~100Hz.
Tested on various links, like:
- telemetry link
- pixracer WiFi
- pixracer USB
- SITL
2017-03-14 21:30:04 +01:00
Lorenz Meier
2af5d1b929
Mission transfer: Fix retry logic
...
Previously the retry would not actually have been sent if nothing had been received in time.
2017-03-13 21:51:21 +01:00
Beat Küng
cfcc75d444
mavlink shell: check if there's enough free buffer to send the mavlink message
...
if there is not, the process on the other end of the pipe will just block.
This improves reliability over slow links.
2017-03-10 11:29:09 +01:00
Beat Küng
2bbe04c3d6
mavlink_receiver: don't publish sensor_combined for MAVLINK_MSG_ID_HIL_SENSOR
...
In hil mode, sensors is responsible for publishing this topic.
2017-03-04 05:59:10 +08:00
Dennis Mannhart
f5ae90a7cb
mavlink_main: add POSITION_TARGET_LOCAL_NED to mavlink stream
2017-03-03 07:23:02 +01:00
José Roberto de Souza
6ce5807240
mavlink: Send message to control onboard camera as broadcast
...
The target was it self.
2017-02-25 19:03:45 +01:00
Daniel Agar
ecb2511a7b
add matrix copyTo
2017-02-25 11:04:02 +01:00
Kabir Mohammed
80e1064523
mavlink : fix legacy vision interface attitude timestamps
2017-02-24 08:51:05 +01:00
Beat Küng
e4ca10363b
mavlink MAV_CMD_IMAGE_START_CAPTURE message: send request for highest resolution
2017-02-17 23:01:25 +01:00
James Goppert
7659402fdb
WIP: valgrind runtime analysis and fixes ( #6521 )
...
* Fix several valgrind identified mem leaks
* Added callgrind target.
* px4_posix_tasks use nullptr
2017-02-17 12:36:52 -05:00
Lorenz Meier
44c8857354
MAVLink app: Update incorrect comment
2017-02-17 10:00:11 +01:00
Michael Schaeuble
0d61e22d9b
mavlink: Buffer UAVCAN parameter re-requests
...
We buffer the mavlink messages and don't forward them directly
via uORB. This solves an issue where many requests are dropped and
QGC does not start properly in combination with UAVCAN devices.
2017-02-17 09:15:56 +01:00
Kabir Mohammed
ea5caf258f
mavlink : fix vision debug stream attitude update
2017-02-16 09:53:15 +01:00
Kabir Mohammed
48e7b94162
mavlink : track time offset faster
2017-02-15 21:48:33 +01:00
Kabir Mohammed
d831c262d0
mavlink : fix code style
2017-02-15 21:48:33 +01:00
Kabir Mohammed
bdcc626f29
mavlink : correct stream name for vision message
2017-02-15 21:48:33 +01:00
Kabir Mohammed
f43ee3a0f5
mavlink : use new vision estimate topic and fix stream name
2017-02-15 21:48:33 +01:00
Kabir Mohammed
b643c94f0a
mavlink_receiver : Switch VISION_POSITION_ESTIMATE to new topics
2017-02-15 21:47:51 +01:00
Kabir Mohammed
569251dc2e
mavlink_receiver : Add external estimator interface
2017-02-15 21:47:51 +01:00
Julian Oes
4ee8c43ea2
mavlink: send attitude quaternion in onboard mode
2017-02-13 21:38:10 +01:00
Julian Oes
aaa24b0cc8
Reduce attitude rate but add Quaternion
2017-02-08 12:47:34 +01:00
Beat Küng
507e3b0263
camera_trigger: add TRIG_INTERFACE=3 for Mavlink forwarding
2017-02-07 13:36:16 +01:00
David Sidrane
8ba1ffafec
mavlink uses simpler common bord indentity api
2017-02-04 22:27:04 +01:00
Daniel Agar
b068c61784
clang-tidy clang-analyzer-core.NonNullParamChecker
2017-02-01 22:15:50 -05:00
Daniel Agar
6631e72d6f
clang-tidy modernize-redundant-void-arg
2017-02-01 22:15:50 -05:00
Daniel Agar
e927f3e040
clang-tidy modernize-use-nullptr
2017-02-01 22:15:50 -05:00
Lorenz Meier
b1c6494ed7
MAVLink receiver: Do use correct multi-topic architecture
...
This prevents two inputs publishing to the same topic. Now if both RC and joystick are connected the first to be active gets control. This is not optimal but consistent and safe.
2017-01-25 07:43:45 +01:00
David Sidrane
e6ba897b9a
mavlink is using board_get_uuid_raw32 instead of mcu_unique_id
2017-01-25 07:43:11 +01:00
Lorenz Meier
905c091f8c
MAVLink receiver: Use fake device ID
2017-01-19 19:24:52 +01:00
Paul Riseborough
677616ed83
mavlink: Populate baro device ID
...
TODO - use unique HW ID
2017-01-19 19:24:52 +01:00
wangxdflight
67c3102db4
updated to remove a compilation flag check as orb_exists() is already supported
2017-01-16 08:25:58 -08:00
wangxdflight
b693e29d64
enable px4 flight for excelsior(legacy)
2017-01-16 08:25:58 -08:00
Lorenz Meier
1c42cea28e
MAVLink: Ignore bogus mission item requests silently
2017-01-15 01:47:10 +01:00
Lorenz Meier
d1fcd8dd8e
Fix code style for mavlink main
2017-01-14 07:47:03 -08:00
Lorenz Meier
521b89b1ce
MAVLink: Protect against illegal length indication of RTCM data
2017-01-14 07:47:03 -08:00
Lorenz Meier
3eb7caba4f
MAVLink param handling: Exclude Coverity false positives
2017-01-14 07:47:03 -08:00
Lorenz Meier
4939e42c0f
MAVLink main: Fix resource leak for non-NuttX cases
2017-01-14 07:47:03 -08:00
Daniel Agar
c9956e25b4
mavlink fix code style
2017-01-07 01:03:18 -05:00
Lorenz Meier
4fcb4cf0fd
MAVLink: Fix FTP file path handling
...
This was a real issue for long paths and not a flight safety issue for regular users, but could have been an issue for developers trying to use FTP on very deep nested file systems
2017-01-03 14:44:45 +01:00