flexivrobotics / flexiv_ros2

ROS 2 integration of RDK for Flexiv robots.
Apache License 2.0
25 stars 11 forks source link

Fix/Joint Torque Interface #5

Closed munseng-flexiv closed 1 year ago

munseng-flexiv commented 1 year ago

When the joint torque interface is started or switched from another interface (e.g. joint position), the controller manager starts the RDK joint torque control mode and streams zero torques to all joints via streamJointTorque() initially. This PR is to fix this issue by withholding from calling streamJointTorque() until the first user command from the joint effort controller arrives.