• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

RobotWebTools / rclnodejs / 20255001676
81%

Build:
DEFAULT BRANCH: develop
Ran 16 Dec 2025 03:15AM UTC
Jobs 1
Files 47
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

16 Dec 2025 03:01AM UTC coverage: 80.485% (-0.1%) from 80.602%
20255001676

push

github

web-flow
Add rcl_timer_set_on_reset_callback() support (#1348)

This PR adds support for the ROS 2 `rcl_timer_set_on_reset_callback()` API to rclnodejs, enabling users to register callbacks that are invoked when a timer is reset. The implementation provides both JavaScript and TypeScript APIs with corresponding native C++ bindings.

**Key Changes:**
- Added `setOnResetCallback()` and `clearOnResetCallback()` methods to the Timer class
- Implemented native C++ bindings using ThreadSafeFunction for cross-thread callback invocation
- Added comprehensive test coverage for the new callback functionality

Fix: #1330

1229 of 1704 branches covered (72.12%)

Branch coverage included in aggregate %.

4 of 8 new or added lines in 1 file covered. (50.0%)

2656 of 3123 relevant lines covered (85.05%)

456.6 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
4
73.53
-12.83% lib/timer.js
Jobs
ID Job ID Ran Files Coverage
1 run-push-24.X-x64 - 20255001676.1 16 Dec 2025 03:15AM UTC 47
80.48
GitHub Action Run
Source Files on build 20255001676
  • Tree
  • List 47
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #20255001676
  • e6e95c1f on github
  • Prev Build on develop (#20222297766)
  • Next Build on develop (#20263598548)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc