Skip to content

Conversation

@minggangw
Copy link
Member

@minggangw minggangw commented Jul 22, 2025

This PR fixes timing and property access errors in example code. The changes correct a timer interval misconfiguration and fix incorrect property access in action client feedback handling.

  • Fixed timer interval from 1 millisecond to 1 second (1 billion nanoseconds)
  • Corrected feedback message property access by removing redundant .feedback accessor

Fix: #1204

@minggangw minggangw requested a review from Copilot July 22, 2025 04:50
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes timing and property access errors in example code. The changes correct a timer interval misconfiguration and fix incorrect property access in action client feedback handling.

  • Fixed timer interval from 1 millisecond to 1 second (1 billion nanoseconds)
  • Corrected feedback message property access by removing redundant .feedback accessor

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
example/timer/timer-example.js Corrected timer interval from 1ms to 1s to match the console log message
example/actions/action_client/action-client-cancel-example.js Fixed feedback message property access by removing incorrect .feedback level

@coveralls
Copy link

Coverage Status

coverage: 84.526%. remained the same
when pulling c9e280c on minggangw:fix-1204
into 56d62d7 on RobotWebTools:develop.

@minggangw minggangw merged commit 8d80a5a into RobotWebTools:develop Jul 22, 2025
19 checks passed
minggangw added a commit that referenced this pull request Jul 22, 2025
This PR fixes timing and property access errors in example code. The changes correct a timer interval misconfiguration and fix incorrect property access in action client feedback handling.

- Fixed timer interval from 1 millisecond to 1 second (1 billion nanoseconds)
- Corrected feedback message property access by removing redundant `.feedback` accessor

Fix: #1204
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

errors in example/.../action-client-cancel-example.js and timer_example

2 participants