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

[arci] Change the wait logic #130

Merged
merged 1 commit into from
Feb 3, 2021
Merged

[arci] Change the wait logic #130

merged 1 commit into from
Feb 3, 2021

Conversation

OTL
Copy link
Contributor

@OTL OTL commented Feb 2, 2021

Closes #108

Before this change, if the timeout was 10 sec,
the smallest wait rate was 1 Hz (10 / 10 = 1).
It means that even if the sent trajectory was very short (like 10msec),
it waits 1sec at least.

By this change the unit duration is set to 10msec.
(I'm not sure that it is enough small (can be 1msec, but it increase the cost))
It means the smallest sleep is 10 msec always, and nothing to
do with the timeout sec now.

Before this change, if the timeout was 10 sec,
the smallest wait rate was 1 Hz.
It means that even if the sent trajectory was very short (like 10msec),
it waits 1sec at least.

By this change the unit duration is set to 10msec.
(I'm not sure that it is enough small)
It means the smallest sleep is 10 msec always, and nothing to
do with the timeout sec.
@codecov
Copy link

codecov bot commented Feb 2, 2021

Codecov Report

Merging #130 (7640975) into main (0da3b3b) will increase coverage by 0.05%.
The diff coverage is 77.77%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #130      +/-   ##
==========================================
+ Coverage   19.72%   19.77%   +0.05%     
==========================================
  Files          73       73              
  Lines        3990     3994       +4     
  Branches      899      900       +1     
==========================================
+ Hits          787      790       +3     
  Misses       2935     2935              
- Partials      268      269       +1     
Impacted Files Coverage Δ
arci/src/waits.rs 76.66% <77.77%> (-0.12%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0da3b3b...7640975. Read the comment docs.

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.

openrr-gui: joint_position_sender: Depending on how to move slider, response on urdf-viz side is very slow
2 participants