Hello, I use mavlink-router to route mavlink packets to cloud ecs2 aws (free) via LTE/4G, but the data is transmitted with a very high loss rate, I use raspi 3 mode B+ companion computer. Can someone tell me the problem why the loss rate is so high? I also tried many different baudrates, the results were all the same.
How is the loss rate calculated? There might be an error there. E.g. if you have multiple components and some of the messages are filtered out (so the sequence jumps), or the implementation of MAVLink uses multiple components with the same sequence counter, again that would lead to huge errors when it really works fine.
I tried again but got problem, connected raspi 3 to pixhawk 4 via usb port, no error messages to unknown endpoints in the last
mavlink-routerd -p 127.0.0.1:5760 /dev/ttyACM0
mavlink-router version v4
Opened UART [4]CLI: /dev/ttyACM0
UART [4]CLI: speed = 115200
5 Error connecting to 127.0.0.1:5760 (Connection refused)
Could not open 127.0.0.1:5760, re-trying every 5 sec
6 Error connecting to 127.0.0.1:5760 (Connection refused)
Could not open 127.0.0.1:5760, re-trying every 5 sec
Opened TCP Server [7] [::]:5760
Opened TCP Client [9]delta: 127.0.0.1:5760
TCP [5]dynamic: Connection accepted
Opened TCP Client [10]CLI: 127.0.0.1:5760
TCP [6]dynamic: Connection accepted
connection via uart on raspi 3 via uart pin 14,15 and pixhawk 4 via telemetry port failed.
mavlink-routerd -p 127.0.0.1:5760 /dev/ttyS0:115200
mavlink-router version v4
Error while trying to write serial port latency on /dev/ttyS0: Operation not permitted
Opened UART [4]CLI: /dev/ttyS0
UART [4]CLI: speed = 115200
5 Error connecting to 127.0.0.1:5760 (Connection refused)
Could not open 127.0.0.1:5760, re-trying every 5 sec
6 Error connecting to 127.0.0.1:5760 (Connection refused)
Could not open 127.0.0.1:5760, re-trying every 5 sec
Opened TCP Server [7] [::]:5760
Opened TCP Client [9]delta: 127.0.0.1:5760
TCP [5]dynamic: Connection accepted
Opened TCP Client [10]CLI: 127.0.0.1:5760
TCP [6]dynamic: Connection accepted
17 messages to unknown endpoints in the last 5 seconds
8 messages to unknown endpoints in the last 5 seconds
16 messages to unknown endpoints in the last 5 seconds
17 messages to unknown endpoints in the last 5 seconds
24 messages to unknown endpoints in the last 5 seconds
8 messages to unknown endpoints in the last 5 seconds
1 messages to unknown endpoints in the last 5 seconds
8 messages to unknown endpoints in the last 5 seconds
10 messages to unknown endpoints in the last 5 seconds
26 messages to unknown endpoints in the last 5 seconds
I don’t have enough context/overall knowledge of what is going on here or what you’re trying to do, to answer this.
1 Like