ROS-TCP-Connector icon indicating copy to clipboard operation
ROS-TCP-Connector copied to clipboard

ActionServer and ActionClient ROS Support

Open ptiwari0664 opened this issue 3 years ago • 3 comments

Feature Request: At present Action server and client modules are not supported in the ros unity connection. As a result of this, many manipulator services are not enabled.

ptiwari0664 avatar May 10 '22 04:05 ptiwari0664

@ptiwari0664 Thank you for this request. It is on our radar and in our backlog.

sarah-gibson avatar May 11 '22 00:05 sarah-gibson

For a recent research project, we ended up developing a very simple implementation of a ROS action client. I doubt it is feature complete, or entirely correct but you can find it in our repository: https://github.com/scottwillmoore/fetch_vr. The implementation is in the unity/Assets/Fetch VR/Scripts/Robotics folder.

In case you try to use our implementation, the current messages generated by ROS TCP Connector for ROS actions were not ideal, as the they were not generic, which made it a little more difficult to develop a reusable action client. I ended up using reflection to implement my own feedback/goal/result messages to workaround this issue. It is important to note that this does require manual registration of your action messages as seen in unity/Assets/Fetch VR/Scripts/Extensions/ROSExtensions.cs.

scottwillmoore avatar May 13 '22 08:05 scottwillmoore

Hello @sarah-gibson, I wanted to ask if there is any progress on the issue, and if you can give any timeline on when the feature would be available? I'm currently using a rather ugly workaround with what is available, and Action Servers would be a much more appropriate solution for us.

Ushtarador avatar Nov 23 '22 13:11 Ushtarador