o3de / o3de-extras

Other
63 stars 63 forks source link

Currently `JointsManipulationRequests` uses redundant namespace. #502

Open michalpelka opened 1 year ago

michalpelka commented 1 year ago

JointsManipulationRequests is a bus that allows to affect manipulators using in-o3de communication. It has address policy by EntityId, and allows developers to affect the joints of the robot using method like:

virtual AZ::Outcome<void, AZStd::string> MoveJointToPosition(const AZStd::string& jointName, JointPosition position) = 0;

The problem is that if the robot has a namespace that was set with the ROS2 Frame component, it will affect jointName argument of the above-mentioned function. This is problematic since:

michalpelka commented 1 year ago

According to https://github.com/UniversalRobots/Universal_Robots_ROS2_Driver, the joint names should not be namespaced at all also in ROS 2. In another words please adjust reporting ROS 2 Joint state to use no namespace. A namespace is in service/topic name.