-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Option to disable publishZeroVelocity in the controller server #4674
Comments
Do you also want to reset the controllers? If not, then I think that This seems reasonable. Can you motivate an example of what you're doing to help me model this in my brain for future additions? |
I think we only do not want to publish the zero velocity. If we name the parameter Maybe we should refactor it as follows by creating a new function In our use case we are sending path segments to the controller where every path segment is a new goal for the controller. The last point of our path segment is not necessarily a zero velocity path point, this is currently assumed by the controller server. |
Who would register this - the controller plugins? In that case, we're just kicking the can down the the pipeline and each controller needs to implement that same parameterization for what is a 'system' behavior. I don't dislike the idea of making it user set, but I don't see the path to do so that doesn't involve a new plugin class (which may be overkill for a bool param unless you think we may need to do additional things in the future).
All good and fine, but why not preempt the controller with a new path segment before it reaches the end (I would think you'd want to do that any way such that it doesn't hit the end and undefined behavior for a 10-100ms before a new segment comes in). We can have this new param merged, I'm not arguing with you, but curious. Maybe I think overly cautiously. |
We are just renaming the
This would mean external tracking if a goal is (almost) finished. It's easier to let the controller determine that
Currently this is acceptable for us, something to keep in mind for our roadmap. |
Feature request
Feature description
Option to disable
publishZeroVelocity
in the controller server.Implementation considerations
For our use case, we would like to start a new path when driving so our end state is not necessarily standing still. We would like to have full control of the command velocity references within our controller. Related issues in move base flex (ros1 implementation that we were using):
Would it be possible to register a new parameter for the
controller_server
, e.g.publish_zero_velocity
that defaults totrue
and use this parameter in anif
statement for this line?Thanks!
The text was updated successfully, but these errors were encountered: