roadmap icon indicating copy to clipboard operation
roadmap copied to clipboard

“Configuration/Movement/Safety-critical" interfaces definition and use

Open destogl opened this issue 3 years ago • 2 comments

destogl avatar Feb 09 '22 17:02 destogl

This covers also the following proposals:

  • @fmauch: Proper connection of ports and lifecycle (Configure “writable in inactive”)
  • @christophfroehlich / @saikishor: Fix the HW command interfaces being available in the configured state, rather they should be only marked available upon activation of the HW

Proposal from @destogl

We add an additional method write_when_inactive, and this is called from the INACTIVE state check in the hardware components. Maybe we also can have multiple lists of command interfaces (depending on storage) and we give only those at argument (map or list) that are accessible then. This depends on change from me and @mamueluth

destogl avatar Dec 06 '23 18:12 destogl

Adding new class and new tag:

Add a new tag in the URDF:

<joint name="${prefix}joint2">
    <configuration_interface name="position">
      <param name="min">-1</param>
      <param name="max">1</param>
    </configuration_interface>
    <state_interface name="position"/>
  </joint>

Then, add a new field in the CommandInterface, marking this for RM.

destogl avatar Mar 11 '24 18:03 destogl