Skip to content

MarkerArray renders in the wrong position #1050

Closed Answered by mkerpelman
rg-gravis asked this question in Bugs
Discussion options

You must be logged in to vote

Hello, we took a look and spotted the problem: your header timestamps in your MarkerArray messages is zero, whereas Foxglove uses this timestamp to determine where to place your markers in the scene by referencing your transforms.

This explains why the shorter recording works: it starts when the BASE frame is in a fixed position for the rest of the recording. The longer recording has some early movement that is cut off in the shorter one. The timestamp being 0 for all MarkerArray messages, Foxglove matches up where to place the markers with the first available transform message.

To get the expected behavior, you'd need to publish your MarkerArrays with the appropriate timestamp, e.g., pub…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@rg-gravis
Comment options

Answer selected by rg-gravis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Bugs
Labels
None yet
3 participants