Robotics StackExchange | Archived questions

How to use roslibjs for action in ros2

Hi, i try to use roslibjs for running action at nav2 stack unfortunately i get a error. as it seem roslibjs is using actionlib what not fit to ros2. any solution or idea?

Asked by nadavis on 2023-06-15 09:00:18 UTC

Comments

Answers

Hi @nadavis

I'm also interest in using ROS 2 actions with roslibjs. Unfortunately, the ActionClient.js in the ros2 branch looks like a copy of the ROS 1 version, so I would not expect compatibility with actions in ROS 2. If someone knows if there are any plans to port it, please let me know!

Asked by dgarcialopez on 2023-07-02 15:44:43 UTC

Comments

i found a implementation of ros2 action lib https://github.com/sathak93/roslibjs/tree/ros2actionclient/examples

Asked by nadavis on 2023-07-03 03:33:11 UTC

Thanks! I will take a look at that fork

Asked by dgarcialopez on 2023-07-05 13:32:31 UTC