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

Ability to reset odom in diff_drive_controller #382

Open
aswinthomas opened this issue Nov 20, 2018 · 3 comments
Open

Ability to reset odom in diff_drive_controller #382

aswinthomas opened this issue Nov 20, 2018 · 3 comments

Comments

@aswinthomas
Copy link

aswinthomas commented Nov 20, 2018

While doing test runs in a real robot and in simulation, I would like to reset the environment to an initial state, once of which involves resetting odometry.

I tried stop and reload the velocity_controller in the controller_manager, but the object is still active in either in gazebo_ros_control (for sim) and node that implements the controller_manager interface (on real robot). Hence the odom does not reset.

Would it be possible to provide a service in diff_drive_controller so that states such as x_ and y_ are reset?

@bmagyar
Copy link
Member

bmagyar commented Nov 20, 2018 via email

@fayyazpocker
Copy link

Any updates on this ?

@alcantara09
Copy link

This PR addresses this issue.

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

4 participants