#include <mc_rbdyn/RobotModule.h>
Public Member Functions | |
Safety () | |
Safety (double percentVMax, double actualCommandDiffTrigger=DEFAULT_ACTUAL_COMMAND_DIFF_TRIGGER, double releaseSafetyOffset=DEFAULT_RELEASE_OFFSET, unsigned int overCommandLimitIterN=DEFAULT_OVER_COMMAND_LIMIT_ITER_N) | |
void | load (const mc_rtc::Configuration &config) |
mc_rtc::Configuration | save () const |
Public Attributes | |
double | percentVMax |
double | actualCommandDiffTrigger |
double | releaseSafetyOffset |
unsigned int | overCommandLimitIterN |
Static Public Attributes | |
static constexpr double | DEFAULT_PERCENT_VMAX = 0.25 |
static constexpr double | DEFAULT_ACTUAL_COMMAND_DIFF_TRIGGER = mc_rtc::constants::toRad(8.) |
static constexpr double | DEFAULT_RELEASE_OFFSET = mc_rtc::constants::toRad(2) |
static constexpr unsigned int | DEFAULT_OVER_COMMAND_LIMIT_ITER_N = 5 |
Holds information regarding gripper control safety parameters
|
inline |
|
inline |
void mc_rbdyn::RobotModule::Gripper::Safety::load | ( | const mc_rtc::Configuration & | config | ) |
Load safety parameters from a configuration object
mc_rtc::Configuration mc_rbdyn::RobotModule::Gripper::Safety::save | ( | ) | const |
Save safety parameters
double mc_rbdyn::RobotModule::Gripper::Safety::actualCommandDiffTrigger |
Difference between the command and the reality that triggers the safety
|
staticconstexpr |
Difference between the command and the reality that triggers the safety
|
staticconstexpr |
Number of iterations before the security is triggered
|
staticconstexpr |
Percentage of max velocity of active joints in the gripper
|
staticconstexpr |
Release offset [gripper units]
unsigned int mc_rbdyn::RobotModule::Gripper::Safety::overCommandLimitIterN |
Number of iterations before the security is triggered
double mc_rbdyn::RobotModule::Gripper::Safety::percentVMax |
Percentage of max velocity of active joints in the gripper
double mc_rbdyn::RobotModule::Gripper::Safety::releaseSafetyOffset |
Offset by which the gripper is released when safety is triggered