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

mavproxy_link: add "ping" command #1406

Merged
merged 1 commit into from
Jun 26, 2024

Conversation

peterbarker
Copy link
Contributor

issues TIMESYNC requests and prints results

A CubeOrange connected via USB:

ACRO> ping
ACRO> ping response: 3.075ms from=1/1 in-link=0 out-link=0

Multiple links to a SITL instance:

STABILIZE> link list
STABILIZE> 2 links
0: :14550
1: localhost:17000
ping
STABILIZE> ping response: 6.180ms from=1/1 in-link=0 out-link=0
ping response: 6.461ms from=1/1 in-link=0 out-link=1
ping response: 6.886ms from=1/1 in-link=1 out-link=0
ping response: 6.996ms from=1/1 in-link=1 out-link=1

Uses console:
image

issues TIMESYNC requests and prints results
@peterbarker
Copy link
Contributor Author

... a link to a second simulation:

STABILIZE> link list
STABILIZE> 3 links
0: :14550
1: localhost:17000
2: localhost:18000

STABILIZE> 
STABILIZE> ping
STABILIZE> ping response: 4.781ms from=1/1 in-link=0 out-link=0
ping response: 5.253ms from=1/1 in-link=0 out-link=1
ping response: 5.598ms from=1/1 in-link=1 out-link=0
ping response: 5.761ms from=1/1 in-link=1 out-link=1
ping response: 18.062ms from=17/1 in-link=2 out-link=2

(second vehicle was Plane sim.... longer loop times == higher average latency)

@tridge tridge merged commit 67c6b69 into ArduPilot:master Jun 26, 2024
2 checks passed
@peterbarker peterbarker deleted the pr/ping-command branch July 12, 2024 03:41
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

Successfully merging this pull request may close these issues.

2 participants