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

I can install and build rosjava but can't run tutorials

asked 2013-10-18 15:55:18 -0500

larry gravatar image

updated 2013-11-18 19:15:32 -0500

tfoote gravatar image

Can someone post step by step instructions to get the rosjava pub_sub tutorial working. Working on Ubuntu, and I need it to work with Groovy.

So is there anyone who can give a tutorial with step by step instructions s.t. one can get code running.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2013-10-19 00:16:28 -0500

KruseT gravatar image

updated 2013-10-19 01:50:27 -0500

It seems rosjava is changing a lot, you can probably use the code from https://github.com/rosjava/rosjava_extras to get going, until tutorials are updated.

Also look at my updated tutorial code:

https://github.com/tkruse/rosjava_wiki_tutorials

edit flag offensive delete link more

Comments

Thanks. But it's still not working (the tutorial code doesn't work either).

larry gravatar image larry  ( 2013-10-19 09:50:48 -0500 )edit

Both links I gave should now give you projects that compile and run. If they don't for you, post the error you get. Consider asking at rosjava SIG: https://groups.google.com/forum/#!forum/ros-sig-java I started an issue for the tutorials: https://github.com/rosjava/rosjava_core/issues/178

KruseT gravatar image KruseT  ( 2013-10-20 03:27:53 -0500 )edit

Failure Could not determine which tasks to execute. Task installApp not found in root project rosjava. There are the error messages.

larry gravatar image larry  ( 2013-10-20 08:33:20 -0500 )edit

Can you open a github issue on that, and paste the log, it will be easier to resolve than here.

KruseT gravatar image KruseT  ( 2013-10-20 08:45:03 -0500 )edit

I do have a question: why are you not using gradlew?

larry gravatar image larry  ( 2013-10-20 08:49:44 -0500 )edit

gradlew is also okay to use, and easy to add. I did not think it was important, but could add it. "gradle installApp" would be run in the tutorials project, not in any other gradle/rosjava project. run "gradle tasks" to see what tasks are configured. (Or gradlew tasks).

KruseT gravatar image KruseT  ( 2013-10-21 03:34:19 -0500 )edit

Question Tools

Stats

Asked: 2013-10-18 15:55:18 -0500

Seen: 1,028 times

Last updated: Oct 19 '13