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

rosjava actionclient and roscpp actionserver

asked 2012-05-02 03:09:46 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Hi all, I can send msg from rosjava based actionclient to roscpp based actionserve. I have found that only first time waitForResult() in actionclient works: finished_before_timeout = sac.waitForResult(10, TimeUnit.SECONDS);

If I code sends goals many times then server gets the msga but client does not wait after first time at the above statement. Has someone else faced the same problem. Is there any solution how to send a goal again and wait for that in rosjava client? I get follwing excepiton: java.lang.NullPointerException at plannerC.main_planner(Unknown Source) at plannerC.onStart(Unknown Source) at org.ros.internal.node.DefaultNode$ at java.util.concurrent.ThreadPoolExecutor.runWorker( at java.util.concurrent.ThreadPoolExecutor$ at

Thanks and regards

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-05-10 05:47:44 -0500

damonkohler gravatar image

actionlib isn't yet supported with the latest release of rosjava. I will remove it from the repository for clarity.

edit flag offensive delete link more

Question Tools


Asked: 2012-05-02 03:09:46 -0500

Seen: 253 times

Last updated: May 10 '12