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

High latency on Pyrene #9

Open
4 tasks
jmirabel opened this issue Dec 12, 2019 · 0 comments
Open
4 tasks

High latency on Pyrene #9

jmirabel opened this issue Dec 12, 2019 · 0 comments

Comments

@jmirabel
Copy link
Member

The experiment yesterday revealed a latency of 1 second of the latest transform of the object wrt the hand, as measured in the image, in TF.

This latency should be investigated. Here is a summary of the information flow.

  • image is taken at timestamp T,
  • agimus-vision processes the images and returns a result. The result has the timestamp of the image, thus T,
  • agimus-demos/scripts/group_of_tags.py gets all the estimated tag poses of one body and publishes an estimate of its pose in TF. The timestamp should still be T.
  • SoT call TF lookup_transform to get the latest transform.

At the moment, a transform is discarded if it is older than 300ms. On my computer, visual servoing works so I guess the latency is lower than this. Here are some possible reasons:

  • network delays,
  • slow TF lookups,
  • compilation with wrong flags,
  • merge agimus-demos/scripts/group_of_tags.py into agimus-vision.

I will increase the list when I see new possible reasons.

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

1 participant