Robotics StackExchange | Archived questions

Action server and client in rosjava_core??

Hi all, I installed rosjavacore on fuerte but I don't fine any actionlibjava in rosjavacore. Do I need to download actionlib for rosjavacore separately? In fact I want to make java based action client based on rosjava_core. Did some one already try it? any tutorial? Thanks in advance

Asked by safzam on 2012-11-01 11:07:52 UTC

Comments

Duplicate of this question. Google 'rosjava core actionlib' and you will find some information on the issue.

Asked by Lorenz on 2012-11-01 23:21:22 UTC

Hi have been searching before and now also. googling "rosjava core actionlib" shows only things regarding "laurago894-rosjava/" which is not relative to me. Could you please just tell me that which java actionlib I need for rosjava_core for fuerte on ubuntu 12.04? I shall be thankful

Asked by safzam on 2012-11-02 00:24:53 UTC

At least the first two links I get on google indicate that there is currently no implementation of actionlib for rosjava_core. Question about this are asked regularly. This might not be the answer you want to hear but unfortunately that's the current situation. Patches are of course welcome :)

Asked by Lorenz on 2012-11-02 00:40:54 UTC

but how can I solve the problem, like I have action server on cpp node and now I want to make a action client that is rosjava based. How can I solve this problem? Is there any possible way?

Asked by safzam on 2012-11-02 01:02:02 UTC

The best solution is to understand how actionlib works and to implement your own client library. Alternatively, you can create a proxy node that makes the calls to the action server and just uses topics. I've seen that you asked this before and the answer didn't change. rosjava is still experimental

Asked by Lorenz on 2012-11-02 01:05:45 UTC

Hi Lorenz, I am interested in making my own client library but the question is that how can I do that if rosjava_core does not include its own actionlib?

Asked by safzam on 2012-11-02 01:52:53 UTC

Have a look at the actionlib wiki page. If you want to use actions in rosjava, you have to implement the actionlib for rosjava. Actionlib is completely implemented based on topics and that functionality is provided by rosjava.

Asked by Lorenz on 2012-11-02 01:54:53 UTC

ok thanks I try to implement my own actionlib. Can you please answer my query at http://answers.ros.org/question/47312/do-i-need-to-add-jar-path-in-buildgradle/ Thanks a lot.

Asked by safzam on 2012-11-02 02:28:32 UTC

Sorry. I do not know the answer for your other question.

Asked by Lorenz on 2012-11-02 02:30:18 UTC

Answers