-
Notifications
You must be signed in to change notification settings - Fork 163
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 CLI tool for Actions #202
Comments
Overall, looks great and is a desperately needed tool! This comment probably equally applies to Could you give some examples of the output you expect from each command? |
Similar to
|
This could be part of the
I've updated the description to include example outputs. |
In retrospect, the verb for echoing goal arguments ( Getting the result for a goal should be relatively easy. As long as the goal hasn't expired (action server configuration), then the CLI tool should be able to make a service call to get result for any completed goal. |
The output of If this is mainly intended to be used in scripts then it's not a problem, but I don't think that is the intended use case. |
|
I figured it is a way to get the possible identifiers to pass to the For user-friendliness, we can allow using a short-form of the UUID and/or generate readable names for goals (similar to how Docker generates names for containers).
Agreed. I've updated the output to list node names. |
Extremely non-critical, but It's something I'm curious about. Currently there's a separation between commands specific to interfaces, like .msg and .srv files, and "communication patterns" (don't know what the correct term would be for this...), like topic and service. You might already see where I'm going with this. It's probably not an issue, and a syntaxis/naming problem at best, but I'd say that if the other CLI's differentiate between these I'd consider it expected behaviour that the action CLI does too. I see you are already getting at what I mean here:
Again, I don't think this has much weight at all, just curious on this, as action interfaces are the only one of the three where the interface "shorthand" and it's "communication pattern" are identical. So happy to hear someone is working on this! Much appreciated! |
This is a valid point that I've been thinking about a bit. It would be nice if the action tools were consistent with the others.
IMO, option 3 makes the most sense, but I'd like to hear thoughts from others. |
I like option 3 best. But I would prefer not to call it what about |
I was thinking that it could be merged with
Possibly the usability is going down rather than up. |
Sounds reasonable to me.
I don't think this is a good idea.
|
The CLI, I will close this and open separate tickets for the |
Feature request
Feature description
Analogous to topics and services, there should be a command line tool for actions:
Here is a list of tool capabilities and proposed signatures:
list action names associated with any running action servers or action clients
list action servers and action clients associated with an action name
display active goals on an action server
display the arguments for an action goal
display the type of an action's goal, feedback, and result
find actions by action type
echo feedback, status, and result for an action goal
send an action goal, display feedback as it is received, display the result when received, and cancel the action (when the tool is terminated):
In addition, the
ros2 node info
command should also list actions associated with a give node. For example:Design document: ros2/design#193
The text was updated successfully, but these errors were encountered: