Skip to content

Added main methods. The nodes can now be started with ros2 run. - #7

Closed
wilcobonestroo wants to merge 1 commit into
ros2-java:masterfrom
wilcobonestroo:master
Closed

wilcobonestroo wants to merge 1 commit into
ros2-java:masterfrom
wilcobonestroo:master

Conversation

@wilcobonestroo

Copy link
Copy Markdown

I was trying out the tutorials in ROS2 dashing. The simle publisher and subscriber node could not be started, because they missed a main method.

@esteve

esteve commented Mar 30, 2020

Copy link
Copy Markdown
Member

@wilcobonestroo thanks, however these nodes are not meant to be started via ros2 run, but as part of the composition example

If you want to run the standalone publisher and subscriber, they can be found in https://github.com/ros2-java/ros2_java_examples/tree/master/rcljava_examples/src/main/java/org/ros2/rcljava/examples/publisher and https://github.com/ros2-java/ros2_java_examples/tree/master/rcljava_examples/src/main/java/org/ros2/rcljava/examples/subscriber

@esteve esteve closed this Mar 30, 2020
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.

2 participants