Skip to content

Commit f25904a

Browse files
Fibonacci moved to example_interfaces (#955)
1 parent 0f6d12a commit f25904a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

examples/ros2_action_client.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
var fibonacciClient = new ROSLIB.Action({
4444
ros : ros,
4545
name : '/fibonacci',
46-
actionType : 'action_tutorials_interfaces/Fibonacci'
46+
actionType : 'example_interfaces/Fibonacci'
4747
});
4848

4949
// Send an action goal

examples/ros2_action_server.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
var fibonacciServer = new ROSLIB.Action({
2424
ros : ros,
2525
name : '/fibonacci',
26-
actionType : 'action_tutorials_interfaces/Fibonacci'
26+
actionType : 'example_interfaces/Fibonacci'
2727
});
2828

2929
var actionCallback = function(goal, id) {
@@ -70,7 +70,7 @@ <h1>Fibonacci ActionServer Example</h1>
7070
<li><tt>refresh this page</tt></li>
7171
<li><tt>ros2 run action_tutorials_py fibonacci_action_client</tt>
7272
<br>or<br>
73-
<tt>ros2 action send_goal --feedback /fibonacci action_tutorials_interfaces/action/Fibonacci order:\ 20\ </tt>
73+
<tt>ros2 action send_goal --feedback /fibonacci example_interfaces/action/Fibonacci order:\ 20\ </tt>
7474
</li>
7575
</ol>
7676
</body>

src/core/Action.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export default class Action extends EventEmitter {
3636
* @param {Object} options
3737
* @param {Ros} options.ros - The ROSLIB.Ros connection handle.
3838
* @param {string} options.name - The action name, like '/fibonacci'.
39-
* @param {string} options.actionType - The action type, like 'action_tutorials_interfaces/Fibonacci'.
39+
* @param {string} options.actionType - The action type, like 'example_interfaces/Fibonacci'.
4040
*/
4141
constructor(options) {
4242
super();

0 commit comments

Comments
 (0)