RobotWebTools / rclnodejs

Node.js version of ROS 2.0 client
https://docs.ros.org/en/humble/Concepts/Basic/About-Client-Libraries.html?highlight=rclnodejs#community-maintained
Apache License 2.0
320 stars 70 forks source link

Can't import ParameterService from rclnodejs #849

Closed ejalaa12 closed 2 years ago

ejalaa12 commented 2 years ago

Description

According to the documentation, there should be a class called ParameterService that wraps all commands for setting/getting parameters from a node.

This seems like a very useful class, but we can't use it since the parameter_types.d.ts file does not exists.

Steps To Reproduce

import { ParameterService } from 'rclnodejs';

Expected Behavior

Import works.

Actual Behavior

Namespace '"rclnodejs"' has no exported member 'ParameterService'
ejalaa12 commented 2 years ago

I misunderstood the use of that class, it is intended to be used internally for the node class.