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 rosnode and rostopic functionality #9

Closed
wants to merge 10 commits into from

Conversation

vmayoral
Copy link
Member

No description provided.

vmayoral and others added 10 commits March 29, 2016 10:51
Peer coded with @ahcorde. For now, only
rosnode list functionality has been implemented,
the rest of them have been left as a TODO. Code
has been inspired by ROS 1 ros_comm package.
string has been hardcoded as the type that
is echoed. Further work will enable other
ROS msg types to be printed.
The purpose of pushing this changes is to have
an adhoc "rostopic echo" functionality that
helps our purposes in the development of H-ROS.

A proper implementation should follow the strategy
introduced in the implementation of ROS 1 for
"rostopic echo". Relevant parts of this previous
implementation have been included.
import errno
import sys

from optparse import OptionParser
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'll probably have to change this to argparse, we don't use optparse as it is obsolete (argparse was designed to replace it).

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.

3 participants