diff --git a/example/actions/action_client/action-client-cancel-example.js b/example/actions/action_client/action-client-cancel-example.js index cce42f60..272d5459 100644 --- a/example/actions/action_client/action-client-cancel-example.js +++ b/example/actions/action_client/action-client-cancel-example.js @@ -57,7 +57,7 @@ class FibonacciActionClient { feedbackCallback(feedbackMessage) { this._node .getLogger() - .info(`Received feedback: ${feedbackMessage.feedback.sequence}`); + .info(`Received feedback: ${feedbackMessage.sequence}`); } async timerCallback(goalHandle) { diff --git a/example/timer/timer-example.js b/example/timer/timer-example.js index 0f03ac3e..da43c84d 100644 --- a/example/timer/timer-example.js +++ b/example/timer/timer-example.js @@ -21,7 +21,7 @@ rclnodejs .then(() => { let node = rclnodejs.createNode('timer_example_node'); - let timer = node.createTimer(BigInt(1000000), () => { + let timer = node.createTimer(BigInt(1000000000), () => { console.log('One second escaped!'); console.log('Cancel this timer.');