RobotWebTools / rosbridge_suite

Server Implementations of the rosbridge v2 Protocol
https://robotwebtools.github.io
BSD 3-Clause "New" or "Revised" License
863 stars 506 forks source link

ROS 2 send_action_goal Operation not Recognized #931

Open TheGuyWithoutH opened 6 days ago

TheGuyWithoutH commented 6 days ago

Description After installing rosbridge_server with apt-get, I try to run the example of action client in ROS 2 from roslibjs. The ros client is connected but then when the example code tries to send the action request, the following message appears on the rosbridge-server terminal:

[rosbridge_websocket-1] [INFO] [1719650740.191282598] [rosbridge_websocket]: Calling services in existing thread
[rosbridge_websocket-1] [INFO] [1719650740.192217869] [rosbridge_websocket]: Client connected. 1 clients total.
[rosbridge_websocket-1] [ERROR] [1719650740.192975287] [rosbridge_websocket]: [Client b6ab93b5-4dd4-414e-9655-a7eb2581237d] [id: send_action_goal:/fibonacci:1] Unknown operation: send_action_goal.  Allowed operations: ['call_service', 'advertise', 'unadvertise', 'publish', 'subscribe', 'unsubscribe', 'fragment', 'advertise_service', 'service_response', 'unadvertise_service']

Given the list of allowed operations, it seems that the actions of the rosbridge protocol are not included. How can it be? I checked the Protocol documentation that explicitly talks about send_action_goal, so I am confused.

Steps To Reproduce

vcharpenay commented 4 days ago

I ran into the same problem but it seems the current release simply doesn't include actions. PR #886 was merged after the the code base was tagged v1.3.2 (Nov 10th last year vs. Sept 7th).

TheGuyWithoutH commented 4 days ago

Okay thanks! I will try installing directly from the repo. It seemed weird that this feature is already mentionned in other documentation without being released yet.

Is there a release date planned?