Releases: RobotWebTools/rclnodejs
rclnodejs v0.7.0
Feature Added
- Add Clock/ROSClock class support.
- Add TimeSource class support, which enables you to attach
Clock
s to it and update them by receiving the topic ofbuiltin_interfaces/msg/Time
.
Improvements
- As the maximum safe integer in JavaScript is (2^53 - 1) due to double-precision floating-point format numbers specified in IEEE_754, the
int64_t
cannot be represented in JavaScript. We are going to use the string format of the integer forTime
andDuration
when exceeding the limitation, e.g.
let time = new Time(0, '9007199254740992'); // time.nanoseconds equals '9007199254740992'
let duration = new Duration(0, '9007199254740992'); // duration.nanoseconds equals '9007199254740992'
rclnodejs v0.6.1
Release Note
- This patch release fixed a problem which caused by the new error handling API #429
rclnodejs v0.6.0
rclnodejs v0.5.0
Release Note
New Features
- Actions (experimental)
The actionlib stack provides a standardized interface for interfacing with preemptable tasks, by leveraging the actionlib_nodejs module, we implemented it as an experimental feature in this release. You can simply define a.action
file
# Define the goal
uint32 dishwasher_id # Specify which dishwasher we want to use
---
# Define the result
uint32 total_dishes_cleaned
---
# Define a feedback message
float32 percent_complete
# Use a message from another package, to prove that it works
sensor_msgs/Image image
create a client
const ac = new rclnodejs.ActionClientInterface({
type: 'ros1_actions/msg/DoDishes',
actionServer: 'dishes',
rclnodejs: rclnodejs
});
create a server
const as = new rclnodejs.ActionLib.ActionServer({
type: 'ros1_actions/msg/DoDishes',
actionServer: 'dishes',
rclnodejs: rclnodejs
});
Also, you could reference the tutorial for detailed usage.
Changes
- Fix compiling error due to change of rcl #413
rclnodejs v0.4.2
Release Note
Changes
This minor version mainly fixed some problems caused by rosidl_gen.
Another improvement is that the TypeArray usage can be disabled explicitly by passing an option to publisher\subscription\client\service #399
rclnodejs v0.4.1
rclnodejs v0.4.0
Release Note
New Features
- Add logging interface #281
Benchmark
- Refactor the benchmark test designated for C++/Node.js/Python clients
Changes
- Replace the deprecated Nan::MakeCallback #335
- Move the translator to rosidl-generator module
- Use dlerror() to get the error diagnostic #338
- Pre-generate the JavaScript messages during installation by postinstall #356
- Fix new/delete mismatch
- Use std::unique_ptr to manage the memory #380
- Prevent ref from pushing objects to its internal array #381
- Optimize the C++ code #386
- Fix the message template issues #391
Features
All RCL features are present in rclnodejs except life cycle, intra-process communication, and node-specific parameters.
- Publish/Subscribe
- Clients and Services
- Timers
- ROS IDL code generation
- Validation utilities
- RMW QoS
- Logger
npmjs.com
This project is also released on npmjs.com
npm install rclnodejs
rclnodejs Beta 6 release
Release Note
Changes
- Support multi-path in AMENT_PREFIX_PATH variable #286
- Clear the container of the handles before collecting again #287
- Wait for the generator to complete its work #291
- Add benchmark test #277 #278 #279
- Fix the race condition problem #301
- Add more UTs #284 #297 #295
Features
All RCL features are present in rclnodejs except life cycle, intra-process communication, and node-specific parameters.
- Publish/Subscribe
- Clients and Services
- Timers
- ROS IDL code generation
- Validation utilities
- RMW QoS
npmjs.com
This project is also released on npmjs.com
npm install rclnodejs
rclnodejs Beta 5 release
Release Note
Changes
- Check the consistency of the message's members when being serialized #243
- Add the getter method to query the shutdown status #268
- Add security-related tests for rclnodejs #245
- Correct the unit test
Features
All RCL features are present in rclnodejs except life cycle, intra-process communication, and node-specific parameters.
- Publish/Subscribe
- Clients and Services
- Timers
- ROS IDL code generation
- Validation utilities
- RMW QoS
npmjs.com
This project is also released on npmjs.com
npm install rclnodejs
rclnodejs Beta 4 release
Release Note
Changes
- Fix the emergent build error due to #265
Features
All RCL features are present in rclnodejs except life cycle, intra-process communication, and node-specific parameters.
- Publish/Subscribe
- Clients and Services
- Timers
- ROS IDL code generation
- Validation utilities
- RMW QoS
npmjs.com
This project is also released on npmjs.com
npm install rclnodejs