22A pure java implementation of [ actionlib] ( http://wiki.ros.org/actionlib ) for [ rosjava] ( http://wiki.ros.org/rosjava ) .
33Features implemented:
44
5- Latest release: [ v0.1.0] ( https://github.com/ernestmc/rosjava_actionlib/releases/tag/v0.1.0 )
6-
7- ### Basic client:
8- * methods for publishing goal and cancel messages.
9- * callback interface for status, feedback and result messages.
10- * goal state tracking is not implemented yet
11-
12- ### Basic server:
13- * methods for publishing result, feedback and status messages.
14- * periodic goal status publishing as heartbeat
15- * callback interface for accepting goals, and receiving cancel messages.
16- * multi-goal state tracking.
5+ Latest release: [ v0.2.0] ( https://github.com/ernestmc/rosjava_actionlib/releases/tag/v0.2.0 )
176
7+ New in this release:
8+ * Added goal state tracking to the client.
9+ * Added a waitForActionServerToStart method to the client.
1810
1911## Requirements:
2012* ROS Indigo http://wiki.ros.org/
@@ -26,7 +18,7 @@ You can find a video tutorial showing how to install and test the library follow
2618https://youtu.be/FmmsMdEbYFs
2719
2820## Downloading:
29- 1 . Download the latest release of the project: https://github.com/ernestmc/rosjava_actionlib/archive/v0.1 .0.zip
21+ 1 . Download the latest release of the project: https://github.com/ernestmc/rosjava_actionlib/archive/v0.2 .0.zip
30222 . Unzip it somewhere.
3123
3224## Compiling:
@@ -45,23 +37,28 @@ The test client will connect to the fibonacci server and send it a goal. It
4537should then receive feedback from the server and a final response. The output
4638should look something like this:
4739```
48- Sending goal #0...
49- Goal sent.
50- Got Fibonacci result sequence!0 1
51- Sending goal #1...
52- Goal sent.
40+ Loading node class: com.github.ekumen.rosjava_actionlib.TestClient
41+
42+ Waiting for action server to start...
43+ Action server started.
44+
45+ Sending goal...
46+ Sent goal with ID: /fibonacci_test_client-1-1453494018.17000000
47+ Waiting for goal to complete...
5348Feedback from Fibonacci server: 0 1 1
54- Got Fibonacci result sequence!0 1 1
55- Sending goal #2...
56- Goal sent.
57- Sending goal ID: fibonacci_test_3...
58- Goal sent.
49+ Feedback from Fibonacci server: 0 1 1 2
50+ Feedback from Fibonacci server: 0 1 1 2 3
51+ Got Fibonacci result sequence: 0 1 1 2 3
52+ Goal completed!
53+
54+ Sending a new goal...
55+ Sent goal with ID: /fibonacci_test_client-2-1453494021.25000000
56+ Cancelling this goal...
5957Feedback from Fibonacci server: 0 1 1
60- Got Fibonacci result sequence!Feedback from Fibonacci server:
61- 0 1 1
62- Cancelling goal ID: fibonacci_test_3
63- Got Fibonacci result sequence!
58+ Got Fibonacci result sequence:
59+ Goal cancelled succesfully.
6460
61+ Bye!
6562```
6663
6764## Running a test server:
0 commit comments