ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Would Java be a good option to use as a programming language for ROS?

asked 2014-08-15 08:35:41 -0500

ish45 gravatar image

I am not well versed with C++ so would using RosJava would be a better option?

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
7

answered 2014-08-15 10:02:29 -0500

Chrissi gravatar image

Python would be the preferred language for ROS imho. It's very easy to learn and very powerful as well. Maybe that would be an option?

edit flag offensive delete link more

Comments

2

I agree with @Chrissi. Try python if find C++ difficult. It's very easy and robust programming language!

emacsd gravatar image emacsd  ( 2014-08-15 14:39:41 -0500 )edit

I'd like to add that I find C++ somehow closer to Java than python so since the poster is a Java expert, it might be easier for him to start with C++.

Maya gravatar image Maya  ( 2014-08-18 08:37:24 -0500 )edit
0

answered 2014-08-17 04:21:45 -0500

ish45 gravatar image

Yes, Thanks guys.. I am a Java expert so very scared to go to C++. Python I hope would be a better option

edit flag offensive delete link more

Comments

2

pls don't answer as a comment

lanyusea gravatar image lanyusea  ( 2014-08-17 06:01:50 -0500 )edit
2

answered 2014-08-17 05:00:16 -0500

gvdhoorn gravatar image

I am not well versed with C++ so would using RosJava would be a better option?

While rosjava is certainly an option, I would recommend starting with roscpp or rospy (as the other posters have written). Once you get acquainted with ROS terminology and concepts, rosjava will probably start to make more sense. It is far more asynchronous and harder to 'wrap your head around' than any of the other client libraries (although if you are proficient enough in Java that asynchronicity should not really matter).

edit flag offensive delete link more

Question Tools

Stats

Asked: 2014-08-15 08:35:41 -0500

Seen: 559 times

Last updated: Aug 17 '14