Function joint_limits::update_prev_command

Function Documentation

void joint_limits::update_prev_command(const JointControlInterfacesData &desired, JointControlInterfacesData &prev_command)

Updates the previous command with the desired command.

Parameters:
  • prev_command – The previous command to update.

  • desired – The desired command which is limited.