Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Mavlink Router
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
uav-hds
intel-aero
Mavlink Router
Commits
b24aad6c
Commit
b24aad6c
authored
2 years ago
by
Lucas De Marchi
Browse files
Options
Downloads
Patches
Plain Diff
mavlink-router 3
Signed-off-by:
Lucas De Marchi
<
lucas.de.marchi@gmail.com
>
parent
b5e1adb8
No related branches found
Branches containing commit
Tags
v3
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
NEWS
+66
-0
66 additions, 0 deletions
NEWS
meson.build
+1
-1
1 addition, 1 deletion
meson.build
with
67 additions
and
1 deletion
NEWS
+
66
−
0
View file @
b24aad6c
mavlink-router 3
================
This is a big release following new features and several bug fixes. It's recommended that
users upgrade to this release for both ArduPilot and PX4 flight stacks.
**A note on compatibility**: for ArduPilot, due to the way the log stream over mavlink is handled, it's
recommended to set LOG_DISARMED=1 when the option to log only while armed is set
in mavlink-router.
Changes
-------
Configuration file
~~~~~~~~~~~~~~~~~~
- Rename the `Filter` option in the configuration file to `AllowMsgIdOut` to better indicate
what that is doing. It also extends its handling to all kind of endpoint, fix corner cases
and add proper documentation
- Add `AllowSrcCompOut`, `AllowSrcSysOut`, `AllowMsgIdIn`, `AllowSrcCompIn`, `AllowSrcSysIn`
to allow messages based on system/component/message IDs.
- Add proper "sniffer" functionality: this was previously thought to be covered by the "eavesdrop"
setting on Endpoint, but that had never been properly implemented. This is now implemented through
a SnifferSysid in configuration file, pointing to a system id where to forward all traffic to.
- Add "redundant data links": the configuration section for the endpoint has a new `Group`
setting. Endpoints with the same `Group` are considered to be connecting the same systems,
thus acting as redundant data links. The routing of messages is then tweaked to avoid cycles
between these endpoints
General
~~~~~~~
- Update mavlink module
- Improve debug log output
- Fix routing when sending messages to specific components
- Improve compatibility with musl
- Improve integration with github actions:
- Cover more distros and C/C++ libraries, particularly musl.
- Add artifacts and release binaries
- Fix polling for events leading to not handling some of them
- Improve installation instructions in the README, also covering more distros: Debian, Ubuntu,
Fedora and Archlinux
- Enable IPv6
- Do not exit when client disconnects from TCP - just like new connections are accepted
on the fly, also allow clients to disconnect without treating this as critical event. UART
disconnection are still considered fatal as those should not normally happen.
- Set TCP_NODELAY on TCP to reduce latency
- Fix TCP reconnection logic
- Fix warnings when platform serial ports instead of USB-serial: there is not USB-related
tweaks to do for those related to the latency
- Fix ArduPilot logging: do not ack and nack the same package
- Switch to meson as build system
- Use pre-generated mavlink library from its repository
- Adopt clang-format to have a uniform coding style throughout the codebase
- Improve how configuration is handled internally by mavlink-router which should avoid
past mistakes
- Do not spread mavlink headers throughout the codebase, but rather use them from one place
- Fix crash when exiting due to log handlers needing to send info to the flight stack
- Add LogSystemId to set what is the system id we should handle logs for. This improves
the handling of multiple FC connected to mavlink-router
- UDP-client: switch back to broadcast on inactivity. When using UDP this allows to change
the GCS being used without worrying about IP changes due to using multiple devices.
- Fix error when launching mavlink-router with a non-existent log directory: the error was
also misleading, pointing to "no free disk space"
- Reject messages on TCP when not connected
mavlink-router 2
================
- Misc bug fixes on handling error handling paths and general cleanups
...
...
This diff is collapsed.
Click to expand it.
meson.build
+
1
−
1
View file @
b24aad6c
project
(
'mavlink-router'
,
'cpp'
,
'c'
,
version
:
'
2
'
,
version
:
'
3
'
,
license
:
'Apache 2.0'
,
default_options
:
[
'cpp_std=gnu++11'
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment