Julian Oes
c37ba26a2f
mavlink: remove outdated comment
2020-06-03 17:57:12 +02:00
Julian Oes
afafc541d8
mavlink: use send() instead of using reset flag
...
I think we can just directly use send() and don't need to use the
workaround of resetting the send flag to trigger one send.
Also, we don't need to override it if we don't need to check any params.
2020-06-03 17:57:12 +02:00
Julian Oes
b4cbd93b7c
mavlink: new args to request message, omit param1
...
We can omit param1 because it is already used for the message_id, so
it's basically duplicate information and won't get used anywhere.
2020-06-03 17:57:12 +02:00
David Jablonski
fd09198c7e
implemented MAV_CMD_REQUEST_MESSAGE for STORAGE_INFORMATION
2020-06-03 17:57:12 +02:00
Timothy Scott
7abadabc19
Added support for MAV_CMD_REQUEST_MESSAGE for mavlink streams
2019-12-16 06:45:53 -08:00
Beat Küng
3198610f85
src/platforms: move all headers to platforms/common/include/px4_platform_common
...
and remove the px4_ prefix, except for px4_config.h.
command to update includes:
for k in app.h atomic.h cli.h console_buffer.h defines.h getopt.h i2c.h init.h log.h micro_hal.h module.h module_params.h param.h param_macros.h posix.h sem.h sem.hpp shmem.h shutdown.h tasks.h time.h workqueue.h; do for i in $(grep -rl 'include <px4_'$k src platforms boards); do sed -i 's/#include <px4_'$k'/#include <px4_platform_common\/'$k/ $i; done; done
for in $(grep -rl 'include <px4_config.h' src platforms boards); do sed -i 's/#include <px4_config.h/#include <px4_platform_common\/px4_config.h'/ $i; done
Transitional headers for submodules are added (px4_{defines,log,time}.h)
2019-10-30 11:48:47 +01:00
Daniel Agar
e2bf4b1894
List container improvements and testing
...
- support range based for loops
- add remove() method to remove a node
- add clear() to empty entire list and delete nodes
- add empty() helper
2019-03-01 21:01:04 -05:00
Daniel Agar
55e3f80bab
mavlink handle MAV_ODOM_LP parameter in main
...
- fixes #11125
2019-01-01 22:21:02 +00:00
Nuno Marques
cfd1be584e
Feature: VIO: add ODOMETRY stream ( #11084 )
...
* mavlink_messages: remove LOCAL_POSITION_NED_COV stream
* mavlink_messages.cpp: add ODOMETRY stream
* add MAV_ODOM_LP parameter to activate odometry loopback
* EKF2: add vehicle_odometry publisher
* Replace VISION_POSITION_ESTIMATE loopback with ODOMETRY
* LPE: add vehicle_odometry publisher
* set vehicle_odometry local_frame field
* mavlink_messages.cpp: ODOMETRY frame_id depends on MAV_ODOM_LP
2018-12-21 12:54:04 -05:00
acfloria
17df184953
Fix sending first High Latency message
2018-06-29 16:49:30 +00:00
Daniel Agar
a99f75dde2
Mavlink set last sent timestamp to space out initial publication
...
- remove QURT defines no longer required
2018-06-09 13:38:44 +02:00
acfloria
41de588a73
Move HIGH_LATENCY2 stream to separate file and update some comments"
2018-04-11 15:15:28 +02:00
acfloria
f5a66782e5
Reduce required stack for HIGH_LATENCY2
2018-04-11 15:15:28 +02:00
acfloria
cbe75188e9
Add the HighLatency2 mavlink stream
2018-04-11 15:15:28 +02:00
Lorenz Meier
07ced9895c
MAVLink: Improve message handling / tracking
...
The message handling was not obeying action focused messages and high-rate messages properly before. With this change update rates track the desired rates closely. Critical high-rate messages such as ADS-B are queued additionally to guarantee that all received packets are being correctly forwarded.
2017-07-29 16:12:41 +02:00
Beat Küng
e6c3b29aa6
MavlinkFTP: remove MavlinkStream inheritance
2017-05-18 09:48:14 +02:00
Beat Küng
2c548f84a7
refator mavlink: prefix class members with _
2017-05-18 09:48:14 +02: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
Julian Oes
8ddda0a8fa
mavlink: move the msg id from uint8_t to uint16_t
...
With mavlink2 new messages are added with msg IDs greated than 255.
Therefore the msg ID types needed to be raised everywhere.
2016-11-09 10:23:34 +01:00
Lorenz Meier
71d150f6ec
MAVLink app: Fix rate handling
2016-07-10 17:05:33 +02:00
Mark Charlebois
12a25e4b63
Merge remote-tracking branch 'upstream/master' into linux
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
Conflicts:
makefiles/firmware.mk
src/modules/commander/module.mk
src/modules/mavlink/mavlink_ftp.h
src/modules/mavlink/mavlink_tests/module.mk
2015-05-04 16:36:59 -07:00
Don Gagne
46da294ffb
New bust mode ftp file download
2015-05-03 19:26:54 -07:00
Mark Charlebois
a1332e699c
QuRT and POSIX changes - part 5
...
Last part of the main QuRT related changes
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-24 01:39:25 -07:00
Daniel Agar
8aae66b893
trivial code style cleanup round 2
2015-03-27 23:38:58 -04:00
Anton Babushkin
ea2dce3992
mavlink: MavlinkStream API simplifyed
2014-07-23 23:10:10 +02:00
Anton Babushkin
344a34bb72
mavlink: MavlinkStream API updated
2014-07-23 11:03:37 +02:00
Anton Babushkin
ee7cd04e4c
mavlink: use send_message() method of Mavlink class instead of using helpers
2014-07-20 20:34:32 +02:00
Lorenz Meier
cd8a0cd217
mavlink: Only send event-based messages if there is space in the buffer
2014-07-19 23:39:02 +02:00
Lorenz Meier
1ac2b307e4
Enable stricter compile mode and ensure the most relevant bits are initialized. Needs more work to avoid the remaining warnings
2014-07-15 18:23:17 +02:00
Lorenz Meier
194aa49110
Merged rate config changes
2014-06-23 14:35:59 +02:00
Anton Babushkin
fb4bcf87ba
Merge branch 'master' into mavlink_stack
2014-06-10 15:12:09 +02:00
Lorenz Meier
c60561b705
mavlink: Compile warning fixes
2014-05-21 14:21:47 +02:00
Lorenz Meier
fbb3adde06
mavlink app: Clean up allocations
2014-05-16 14:00:58 +02:00
Anton Babushkin
d55e64d1e5
mavlink: minor comments and formatting fixes
2014-04-08 23:29:40 +04:00
Anton Babushkin
662a7403b2
mavlink: REQUEST_DATA_STREAM hadling implemented
2014-04-07 22:36:28 +04:00
Anton Babushkin
836f7c435f
mavlink: code style and copyright fixes
2014-03-01 00:16:51 +04:00
Anton Babushkin
7310fd6085
mavlink: use inherited classes instead of callbacks for mavlink messages formatting, fixes and cleanup
2014-02-26 21:28:35 +04:00
Anton Babushkin
e291af990f
mavlink: adding message stream by name implemnted, mavlink streams definitions and formatters moved to mavlink_messages.h/cpp, mavlink_orb_listener class and thread removed
2014-02-26 00:24:14 +04:00
Anton Babushkin
d8fdade6ab
mavlink: major rewrite, prepare for dynamic mavlink streams configuration, WIP
2014-02-24 23:46:58 +04:00