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

Fix time stamp issues. #3

Open
tbolin opened this issue Jan 30, 2020 · 1 comment
Open

Fix time stamp issues. #3

tbolin opened this issue Jan 30, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@tbolin
Copy link
Collaborator

tbolin commented Jan 30, 2020

start_time_local_ = ros::Time::now().toSec();

The current calculation for the time stampa of a received 6DOF pose does not account for any delay in the link between the QTM server and receiver. Neither does it recognize that the delay can vary.
Suggestion 1: Update _start_time_local if a received time would cause the time stamp to lie in the future.
Suggestion 2: Add a token delay (around 1 ms) to the timestamp, to compensate for the delay.
Suggestion 3: Remove the weird smoothing found here:
frame_interval = 0.6*frame_interval + 0.4*(packet_time - last_packet_time)/1e6;

@tbolin tbolin added the enhancement New feature or request label Jan 30, 2020
@tbolin
Copy link
Collaborator Author

tbolin commented May 18, 2020

Another time smoothing issue in

dt = dt*0.9 + msg_interval*0.1;

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

No branches or pull requests

1 participant