Skip to content

Getting delayed pose data with Lighthouse Positioning System #774

Answered by whoenig
peihanli0328 asked this question in Q&A
Discussion options

You must be logged in to vote

This is a known problem in Crazyswarm1 - it works fine with motion capture but not with LH/LPS if you need the position on the host side. You can try increasing the ping frequency at https://github.com/USC-ACTLab/crazyswarm/blob/master/ros_ws/src/crazyswarm/src/crazyswarm_server.cpp#L971 (change the 10 to 1), which can help to reduce the delay.

In Crazyswarm2 we completely rewrote the communication backend and the latest version has a built-in latency measurement and one gets delays of <10ms for one drone (haven't tested it much with 4 and LH, but should also be similar).

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@peihanli0328
Comment options

Answer selected by peihanli0328
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants