Function husarion_ugv_hardware_interfaces::CheckIfJointNameContainValidSequence

Function Documentation

bool husarion_ugv_hardware_interfaces::CheckIfJointNameContainValidSequence(const std::string &name, const std::string &sequence)

Checks whether joint name contains valid sequence, it can be used in three ways:

  1. Prefix sequence_jointname or namespace/sequence_jointname

  2. Infix jointname1_sequence_jointname2

  3. Postfix jointname_sequence

Returns:

true if sequence is present in name and is valid