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

Add rosaction CLI tool #115

Closed
wants to merge 1 commit into from

Conversation

maximkulkin
Copy link

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

@maximkulkin
Copy link
Author

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.

@maximkulkin
Copy link
Author

This PR is ready to be merged.

@maximkulkin
Copy link
Author

Ping! Can we get this PR merged?

@mjcarroll mjcarroll self-requested a review February 5, 2019 03:56
@mjcarroll mjcarroll self-assigned this Feb 5, 2019
@felixvd
Copy link

felixvd commented Apr 4, 2019

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).

@fujitatomoya
Copy link
Contributor

+1, i believe that conceptually action should have own interface to user.

Copy link
Member

@mjcarroll mjcarroll left a 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
Copy link
Member

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?

Copy link
Contributor

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
Copy link
Member

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.

Copy link
Contributor

@mmoerdijk mmoerdijk Dec 8, 2020

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?

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

Successfully merging this pull request may close these issues.

Feature to get a list of running action servers
5 participants