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
Daniel Agar
28971caaf3
partially restore mavlink_tests
2017-01-02 10:14:41 +01:00
James Goppert
964dabe179
Add better option handling to integration testing script.
2016-12-27 00:34:13 +01:00
Lorenz Meier
4dc96e3ea1
MAVLink app: Remove flow control warning to clean up the boot log
2016-12-26 13:55:04 +01:00
Lorenz Meier
8a58cf0daa
Fix usage of CRTSCTS define from termios.h
...
NuttX had the CRTSCTS define incorrectly set for only output flow control, which broke our flow control logic. This commit patches NuttX and puts in addition a guard in place to prevent any future issue with the non-POSIX define being incorrect.
This has been debugged and identified by @ecmnet, which was the main contribution for this patch.
2016-12-26 12:08:05 +01:00
Lorenz Meier
0b6e0c020e
MAVLink stream: Guard against an interval value of zero
2016-12-25 21:34:19 +01:00
Lorenz Meier
9b97e0358b
MAVLink: Send correct home heading
2016-12-25 21:30:31 +01:00
Lorenz Meier
6444988392
MAVLink app: Send messages on average at a more correct rate and send on first call
...
This patch fixes two issues:
* It sends the message on the first call, making sure that the first update gets sent out.
* It improves the rate scheduling. In an experiment with 0.5, 50 and 250 Hz all rates were correct within 0.3% of the intended rate.
2016-12-25 21:30:31 +01:00
Lorenz Meier
737e18dccb
MAVLink app: Fix VTOL reporting and prevent mission reached spam
...
The VTOL status reporting and the mission status reporting were both suboptimal. VTOL was too slow, mission reporting too fast
2016-12-25 18:15:51 +01:00
Lorenz Meier
661fda2b2a
MAVLink app: Acknowledge all commands that are not sent off to other components
2016-12-23 17:40:11 +01:00
Julian Oes
8aede5d32b
mavlink: add 500000 baudrate
2016-12-21 11:44:47 +01:00
Lorenz Meier
6b9d95648f
MAVLink app: Fix flow control handling flags
2016-12-21 11:44:47 +01:00
Beat Küng
41dc34204c
version cleanup: move all version information into version.c and use a common API
...
The provided versioning information is the same, except for some additions,
like OS version (which still need to be implemented on NuttX).
2016-12-21 11:35:10 +01:00
Beat Küng
08dc3decb1
mavlink: avoid sending uninitialized data
...
_global_pos_sub->update(&_global_pos_time, &global_pos); could return
false and in that case global_pos was not set but still accessed.
This is prevented by checking if timestamp == 0.
2016-12-21 11:35:10 +01:00
David Sidrane
3ed0bfe0d8
Nuttx added FIONSPACE and fixed FIONWRITE: had retuned the space and should have returned enqueued count
2016-12-21 08:34:21 +01:00