Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/ros2_action_client.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
var fibonacciClient = new ROSLIB.Action({
ros : ros,
name : '/fibonacci',
actionType : 'action_tutorials_interfaces/Fibonacci'
actionType : 'example_interfaces/Fibonacci'
});

// Send an action goal
Expand Down
4 changes: 2 additions & 2 deletions examples/ros2_action_server.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
var fibonacciServer = new ROSLIB.Action({
ros : ros,
name : '/fibonacci',
actionType : 'action_tutorials_interfaces/Fibonacci'
actionType : 'example_interfaces/Fibonacci'
});

var actionCallback = function(goal, id) {
Expand Down Expand Up @@ -70,7 +70,7 @@ <h1>Fibonacci ActionServer Example</h1>
<li><tt>refresh this page</tt></li>
<li><tt>ros2 run action_tutorials_py fibonacci_action_client</tt>
<br>or<br>
<tt>ros2 action send_goal --feedback /fibonacci action_tutorials_interfaces/action/Fibonacci order:\ 20\ </tt>
<tt>ros2 action send_goal --feedback /fibonacci example_interfaces/action/Fibonacci order:\ 20\ </tt>
</li>
</ol>
</body>
Expand Down
2 changes: 1 addition & 1 deletion src/core/Action.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default class Action extends EventEmitter {
* @param {Object} options
* @param {Ros} options.ros - The ROSLIB.Ros connection handle.
* @param {string} options.name - The action name, like '/fibonacci'.
* @param {string} options.actionType - The action type, like 'action_tutorials_interfaces/Fibonacci'.
* @param {string} options.actionType - The action type, like 'example_interfaces/Fibonacci'.
*/
constructor(options) {
super();
Expand Down