-
Notifications
You must be signed in to change notification settings - Fork 155
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 rosaction CLI tool #115
Conversation
393d5b5
to
2a2d9bc
Compare
2a2d9bc
to
f1f6f9b
Compare
2a2d9bc
to
279f435
Compare
279f435
to
d50d1c4
Compare
Guys this PR is ready and passing. I'm a bit concerned on the whole "wait" thing in tests: you basically send something and wait for response and that waiting has a timeout but if system is under load, it might not be quick to respond and the test will fail. Although this approach seems to be ubiquitous. Otherwise please advise. |
This PR is ready to be merged. |
Ping! Can we get this PR merged? |
Just a +1 to say that if this works as expected it's a great addition that most users probably simply expect to be there (like I did, once). |
+1, i believe that conceptually action should have own interface to user. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I started this review an never submitted it.
catkin_install_python(PROGRAMS tools/axclient.py tools/axserver.py tools/dynamic_action.py tools/library.py | ||
catkin_add_env_hooks(15.rosaction SHELLS bash DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/env-hooks) | ||
|
||
catkin_install_python(PROGRAMS tools/rosaction tools/axclient.py tools/axserver.py tools/dynamic_action.py tools/library.py |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are installing some files that don't seem to be part of this PR. Were these intended to be here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think he is, as hey only added the tools/rosaction
and the env hooks for it.
@@ -0,0 +1,140 @@ | |||
import rosgraph |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe that this is conceptually similar enough to the McGill code that it warrants including the full MIT license header as well as their copyright statement and a link to the original repository.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree @maximkulkin could you dust off this PR and add the license of mcgill to the files?
Added rosaction CLI tool to list/get info/send actions, similar to rosservice tool.
Supported commands:
rosaction list
rosaction info /action
rosaction type /action
rosaction type /action goal
rosaction type /action feedback
rosaction type /action result
rosaction send /action "goal: 123"
Closes #44