Ask Your Question

I need some orientation about ROS

asked 2016-10-11 03:27:57 -0500

Antolinos95 gravatar image

updated 2016-10-13 05:58:57 -0500

Hello guys,

I'm starting learning ROS, because I have bought a drone and I want to programme it. My purpose is to develop a simple interface with Java, where I can send instructions to the drone (arm, takeoff, change flight mode,...) and I've read that I should use the MAVLink protocol to communicate with it.

Reading in the forums, I think that I should use ROS (maybe mavros or rosjava), but I'm not sure if it is a good way to achieve my purpose or not.

I would like to read your opinions because I'm a bit lost.

Thank you all!

Edit: I think that I should use ROS instead ROSJava, but I need the libraries like "ros/ros.h" and "std_msgs/String.h", to use in Java. Do you know what libraries should I use?

edit retag flag offensive close merge delete


I have no real answer for you and I have never tried ROSJava, but as far as I see it ROSJava does not come even close to C++ and Python in terms of available packages. While there is plenty of documentation and tutorials for c++ and python, for ROSJava there is very little.

Dimitri Schachmann gravatar image Dimitri Schachmann  ( 2016-10-14 09:33:44 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2017-10-18 11:32:12 -0500

jubeira gravatar image

Take a look at this thread: .

In short, if you are a Java developer and what you need to do is relatively simple (e.g. sending instructions using a publisher with standard or custom messages), I would suggest you to try rosjava. The basic tutorial entry point is . As Dimitri says in the comment, you will probably find more packages in roscpp and rospy, so if you need packages that already exist maybe that would be a better solution for you.

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

1 follower


Asked: 2016-10-11 03:27:57 -0500

Seen: 193 times

Last updated: Oct 18 '17