2
2
A pure java implementation of [ actionlib] ( http://wiki.ros.org/actionlib ) for [ rosjava] ( http://wiki.ros.org/rosjava ) .
3
3
Features implemented:
4
4
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 )
17
6
7
+ New in this release:
8
+ * Added goal state tracking to the client.
9
+ * Added a waitForActionServerToStart method to the client.
18
10
19
11
## Requirements:
20
12
* 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
26
18
https://youtu.be/FmmsMdEbYFs
27
19
28
20
## 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
30
22
2 . Unzip it somewhere.
31
23
32
24
## Compiling:
@@ -45,23 +37,28 @@ The test client will connect to the fibonacci server and send it a goal. It
45
37
should then receive feedback from the server and a final response. The output
46
38
should look something like this:
47
39
```
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...
53
48
Feedback 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...
59
57
Feedback 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.
64
60
61
+ Bye!
65
62
```
66
63
67
64
## Running a test server:
0 commit comments