Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PL rate gets really high when I tried launch mavlink-router through Rpanion-server #162

Open
Ultramarine1939-syujie opened this issue Sep 21, 2023 · 1 comment

Comments

@Ultramarine1939-syujie
Copy link

Hello, when I run the mavlink-router module alone, it can be used normally. The specific message is as follows:

cat@lubancat:~/Rpanion-server/flightlogs/tlogs$ mavlink-routerd -e 192.168.1.100:14550
mavlink-router version v3
Opened UART [4]serial0: /dev/ttyACM0
UART [4]serial0: speed = 115200
Opened UDP Client [5]local: 127.0.0.1:14550
Opened UDP Client [7]CLI: 192.168.1.100:14550
Opened TCP Server [9] [::]:5760

But when I use Rpanion-server to enable mavlink-router, the CPU usage increases abnormally, and I cannot use the ground station to receive mavlink messages. The packet loss rate is very high. The message is as follows:

Opened Router
New Tlog: /home/cat/Rpanion-server/flightlogs/tlogs/20190214-190113.tlog
Saved FC settings
19:01:13 ✨ request completed POST 200 /api/FCModify 113ms
stderr: mavlink-router version v3
Opened UART [4]serial0: /dev/ttyACM0
UART [4]serial0: speed = 115200
Opened UART [5]CLI: /dev/ttyACM0
UART [5]CLI: speed = 115200
Opened UDP Client [6]local: 127.0.0.1:14550
Opened UDP Client [8]CLI: 127.0.0.1:14540
Opened UDP Client [10]CLI: 192.168.1.100:14550
Logging target system_id=1 on 00030-2019-02-14_19-01-13.ulg

Current log is: /home/cat/Rpanion-server/flightlogs/binlogs/00030-2019-02-14_19-01-13.ulg
48779
Vehicle is S/C: 1/1
4.4.0-official
stderr: MAV_CMD_LOGGING_START result(3) is different than accepted
MAV_CMD_LOGGING_START result(3) is different than accepted

stderr: MAV_CMD_LOGGING_START result(3) is different than accepted
MAV_CMD_LOGGING_START result(3) is different than accepted

stderr: MAV_CMD_LOGGING_START result(3) is different than accepted
MAV_CMD_LOGGING_START result(3) is different than accepted

stderr: MAV_CMD_LOGGING_START result(3) is different than accepted
MAV_CMD_LOGGING_START result(3) is different than accepted

How can I solve the above problem?

@stephendade
Copy link
Owner

Try disabling logging

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants