How do I use Java with ros melodic?
What is the best way to use ROS with Java? Searching online I found the rosjava and rosbridge package, which one is the best?
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
What is the best way to use ROS with Java? Searching online I found the rosjava and rosbridge package, which one is the best?
Hi @rezenders,
rosbridge
is not implemented in Java; it's a library that allows you to bridge, for example, ROS topics with web client applications.
If you want to use ROS with Java, you will need rosjava. Start looking here: https://wiki.ros.org/rosjava .
You will notice that there's no release for Melodic just yet. To start with, the only difference would be differences in standard ROS messages. Other than that, you can still use it and it should still work. What do you want to do exactly?
Thank you for answering.
I have a system that is composed by some ROS nodes, and due to a specific requirement I need to make a Java program that is able to subscribe and publish to the topics that are being used by those ROS nodes.
So far I only used ROS with c++ and python.
@jubeira: rosbridge
itself is not implemented in Java, but there are client implementations available in that language:
Asked: 2018-10-04 11:11:30 -0600
Seen: 2,023 times
Last updated: Oct 04 '18
Access ROS command-line tools via Java
rosjava compilation error when use rosmake
write a programm to get asctec data
Protobuf dependency in ROS Fuerte/MacOSX
Connect to master URI and launch ROSJava nodes
write ros messages to an onboard CouchDB instance [closed]
java - what happened to the serialize method on RawMessage
Sending simple text commands to a ROS node from an external program written in Java