ROS Resources: Documentation | Support | Discussion Forum | Service Status | Q&A answers.ros.org
Ask Your Question
0

IDE for developing ROSJAVA Nodes

asked 2015-03-18 10:30:15 -0500

christian.blesing gravatar image

Hi all,

i'm new to RosJava and I start searching for a tutorial which explains how to use RosJava with an IDE like Eclipse or Netbeans. Until now I have not found a good solution or tutorial. Has anyone a straight forward solution for editing own RosJava nodes with Eclipse or Netbeans?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2019-04-10 16:29:21 -0500

jubeira gravatar image

As of March 2019, I'd recommend using Android Studio (3.3 is the current version).

Rosjava is a Gradle project, so you can import it in a few steps. It just works smoothly; if you need dependencies from source source the workspace and execute Android Studio from the same terminal as pointed up in the other answer.

edit flag offensive delete link more
0

answered 2019-03-25 03:08:18 -0500

TharushiDeSilva gravatar image

Well, I am also new to ROS and I'm not sure whether this answer will be helpful. But when I use rospp and rospy, I use jetbrains IDES: CLion and Pycharm respectively. What I did was,

  1. I opened a terminal in my working directory and sourced it.
  2. From the same directory, I moved into IDE's installation directory and start the IDE from command line.

eg: for CLion:

>> cd ~/catkin_ws

>> source devel/setup.bash 

>>cd /home/<user>/clion-2018.3.2/bin

>> ./clion.sh

After that I can use my IDE to edit ROS packages, and most of the time, the code predictions also appeared accurately. You can try the same process for your IDE also (IntelliJ IDEA community version can be recommended for java) . But to my knowledge, ROS specific debugging tools are not available with these IDEs. (Please correct me if I'm wrong). I always use IDE terminals to run and debug.

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

2 followers

Stats

Asked: 2015-03-18 10:30:15 -0500

Seen: 229 times

Last updated: Apr 10