Skip to content

Add rosnode and rostopic functionality - #9

Closed
vmayoral wants to merge 10 commits into
ros2:masterfrom
erlerobot:erle-contrib
Closed

vmayoral wants to merge 10 commits into
ros2:masterfrom
erlerobot:erle-contrib

Conversation

@vmayoral

Copy link
Copy Markdown
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.
Comment thread rclpy/rclpy/rosnode.py
import errno
import sys

from optparse import OptionParser

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