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

support arbitrary realtime-factors in trajectory visualization #2745

Merged
merged 1 commit into from Jun 29, 2021

Conversation

v4hn
Copy link
Contributor

@v4hn v4hn commented Jun 28, 2021

The fact that trajectory visualization ignored the time parameterization by default
and that the only way to change this is the special value "REALTIME" always bothered me.

I changed the default to a realtime factor of 3x to get a nice preview of the trajectory
when using the "Plan&Execute" button.

rviz-rt-factors.mp4

The fact that trajectory visualization ignored the time parameterization by default
and that the only way to change this is the special value "REALTIME" always bothered me.

I changed the default to a realtime factor of 3x to get a nice preview of the trajectory
when using the "Plan&Execute" button.
@v4hn v4hn force-pushed the pr-master-rt-factor-trajectories branch from bec0d73 to 28b42f8 Compare June 28, 2021 21:39
@codecov
Copy link

codecov bot commented Jun 28, 2021

Codecov Report

Merging #2745 (28b42f8) into master (95ab9ee) will increase coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2745      +/-   ##
==========================================
+ Coverage   60.46%   60.47%   +0.01%     
==========================================
  Files         402      402              
  Lines       29659    29659              
==========================================
+ Hits        17931    17932       +1     
+ Misses      11728    11727       -1     
Impacted Files Coverage Δ
...raint_samplers/src/default_constraint_samplers.cpp 82.91% <0.00%> (+0.33%) ⬆️

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 95ab9ee...28b42f8. Read the comment docs.

Comment on lines +361 to +362
state_display_time_property_->setStdString(DEFAULT_TIME_STRING);
return DEFAULT_TIME_VALUE;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is somewhat weird that you call a setter within this getter method, but I cannot propose a nicer solution w/o duplicating code.

@v4hn v4hn merged commit b440c72 into moveit:master Jun 29, 2021
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.

None yet

2 participants