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

adding a parameter "ignore_timestamp" #65

Merged
merged 3 commits into from
Oct 20, 2016
Merged

adding a parameter "ignore_timestamp" #65

merged 3 commits into from
Oct 20, 2016

Conversation

facontidavide
Copy link
Contributor

Hi,

very often I found the use case of "old" /joint_states published from rosbags, ignored by robot_state_publisher (by design, I know).
I have the feeling that, instead of remapping the timestamp to the present (as it is usually done), it would be more intuitive to allow robot_state_publisher to just use the last JointState received, ignoring its timestamp.

The default behaviour is the same as it was before, so users should not find any backward-compatibility problem.

Davide

Copy link
Member

@wjwwood wjwwood left a comment

Choose a reason for hiding this comment

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

I made a small style change, but otherwise it lgtm.

@wjwwood
Copy link
Member

wjwwood commented Oct 20, 2016

Once I merge this, can you please update the documentation on the wiki to document this new parameter: http://wiki.ros.org/robot_state_publisher

@wjwwood wjwwood merged commit 32d71ee into ros:kinetic-devel Oct 20, 2016
@facontidavide
Copy link
Contributor Author

I updated the wiki. Thanks for merging

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