Initial_value for joints in fake_system_hardware#45
Initial_value for joints in fake_system_hardware#45JensVanhooydonck wants to merge 1 commit intoxArm-Developer:humblefrom
Conversation
|
I'm interested in this PR. I would also like to set an initial value for the robot using fake hardware. @JensVanhooydonck , how do you set the initial position? I tried adding the <joint name="${prefix}joint3">
<command_interface name="position">
<param name="min">${joint3_lower_limit}</param>
<param name="max">${joint3_upper_limit}</param>
</command_interface>
<command_interface name="velocity">
<param name="min">-3.14</param>
<param name="max">3.14</param>
</command_interface>
<state_interface name="position">
<param name="initial_value">0.5</param>
</state_interface>
<state_interface name="velocity"/>
<!-- <state_interface name="effort"/> -->
</joint> |
|
@DaniGarciaLopez This is indeed how I assign these values. |
|
Okay, yes, it works. I was just sourcing an incorrect file. Thanks, @JensVanhooydonck! |
|
Hi, Dr. Denis here, maintainer of ros2_control. I am wondering, why do you have your implementation of the From what I have understood, you have just a version cut down to your manipulators - this is the reason of asking. |
Add initial_value in the fake_hardware_interface.