ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

kukyakya's profile - activity

2016-09-01 08:24:13 -0500 received badge  Famous Question (source)
2015-12-24 07:32:49 -0500 received badge  Notable Question (source)
2015-12-02 07:16:16 -0500 received badge  Popular Question (source)
2015-12-01 16:11:52 -0500 asked a question [ros_control] VelocityJointInterface with an actuator with no sensor feedback

This question is related to ros_control.

I'm working on a platform having an actuator with an embedded controller. The only thing I can do is to send a velocity command and trust the controller, I can not read the current position or velocity.

VelocityJointInterface seems to be the right interface, but JointHandle, the handle of the interface, inherits from JointStateHandle which needs valid pointers to all of position, velocity, and effort.

The first option was to make a dummy storage for position and effort (which will never be updated). It works fine for me but it'll malfunction if I use some controllers that assume those fields are correctly updated and use them, like PID controllers.

The second one is to write a new interface but I don't think it's a right way to do it since it hurts 'abstraction'.

Is there any way to disable some fields or mark them as 'N/A' without adding a new interface?