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

How to develop Java sources in Eclipse when you use rosjava

asked 2011-05-07 03:22:43 -0500

updated 2011-05-07 03:46:07 -0500

Good evening,

I am learning how to develop nodes with rosjava and I am studying the package test_rosjava.

I am updating my new package helloworld and in the file CMakeList.txt, I have defined that my source folder is javasources:

add_java_source_dir(${PROJECT_SOURCE_DIR}/src/java)

With java files, I am thinking to develop with eclipse but I would like to know where is the library to add in buildpath in eclipse for the following packages which I saw in the examples:

AddTwoIntsClient.java  Listener.java        Talker.java  tester.cpp
AddTwoIntsServer.java  rosjava_test.launch  Testee.java

import ros.*;
import ros.communication.*;

Cheers

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2011-06-17 11:46:58 -0500

kwc gravatar image

I would recommend switch to the new rosjava. It is developed directly in Eclipse so there are more examples there of what to do. Admittedly it is still very alpha and in-progress.l

http://code.google.com/p/rosjava/

edit flag offensive delete link more

Question Tools

Stats

Asked: 2011-05-07 03:22:43 -0500

Seen: 1,192 times

Last updated: Jun 17 '11