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
311 stars 70 forks source link

Use rcl functions to grab the service name #953

Closed minggangw closed 5 months ago

minggangw commented 5 months ago

This patch implements:

  1. Leverage rcl_client_get_service_name() to get the service name for client.
  2. Leverage rcl_service_get_service_name() to get the service name for service.

The unit tests get updated accordingly.

Fix: #952