Whenever I use the joint position mode and a position_controllers/JointPositionController
the controller / hardware interface still commands the input as velocity/speed instead of the position value.
However, I bypass this problem by using my self-adjusted PID position controller and the velocity joint interface: velocity_controllers/JointPositionController.
Hence, I have not yet looked into the code in order to find the cause.
Just for the record.