-
Notifications
You must be signed in to change notification settings - Fork 27
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
Add timeout parameter to get_joint_values states #7
Comments
Was this ever addressed? I am looking into the possibility of having a timeout in a state (different from the ones you refer), to avoid it getting stuck. Is there a way to do that? |
Adding a timeout is quite straightforward and you can take a look at the flexbe_states/WaitState for an example (this state is essentially nothing else than a timeout). Regarding this specific issue, I don't know whether somebody did it, at least there is no PR open. But feel free to open one in case you need to improve one of the state implementations here. I'm currently not working on this repo myself, but plan to revise and improve the existing state implementations once I finished my current clean-up iteration of the main repo. |
I would also suggest making hardcoded join_states topic a state param so it can be configured. (To support reading joint_states from different paths on different states. e.g. in case of a multi robot coordination where different robots have joint states published on different topics.) I would be happy to make a PR if it is a welcome enhancement. |
This fell of my radar. I'll try and submit the pull request this week |
update action version
For GetJointValuesState and GetJointValuesDynState a state can block indefinitely if parameter values are not published.
I propose adding an optional time out parameter (default: None) that will return a 'timeout' outcome.
If no timeout value is given, then will block indefinitely.
I propose doing this in a kinetic_devel branch to avoid conflicts with existing indigo code.
The text was updated successfully, but these errors were encountered: