ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

How does rosjava relate to ROS?

asked 2012-08-08 04:33:14 -0600

David Kaczynski gravatar image

updated 2014-01-28 17:13:16 -0600

ngrennan gravatar image

I have several years experience with Java, but I am brand new to ROS. For my academic program, I will be working with Clearpath robotics products such as the Husky and Kingfisher. This week, I discovered rosjava.

I am wondering how rosjava turns into instructions for a robot running ROS. Does the robot have a JVM that executes the Java bytecode? Does rosjava compile the Java into ROS-executable code? Or does rosjava create nodes external to the robot that can communicate to the ROS system?

Thank you for reading.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2012-08-08 04:48:13 -0600

KruseT gravatar image

rosjava provides Java classes for creating ROS Nodes in java and communicating with any ROS node, as well as a java implementation of a ROS master.

To run java or rosjava on a robot, you only need a standard JVM on the robot. You can run rosjava nodes anywhere, on the robot or remotely, and they do not need the java rosmaster to run.

edit flag offensive delete link more

answered 2012-08-08 04:51:27 -0600

Lorenz gravatar image


ROS (Robot Operating System) provides libraries and tools to help software developers create robot applications. It provides hardware abstraction, device drivers, libraries, visualizers, message-passing, package management, and more. ROS is licensed under an open source, BSD license.

It runs on normal PCs and some embedded devices. rosjava is just an implementation of the ROS communication layer in java and can run on any computer that has a network connection to the robot.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2012-08-08 04:33:14 -0600

Seen: 219 times

Last updated: Aug 08 '12