Basic RT components and utilities  315.12.1

Overview

This component limits joint-level error and alerts by beep sound. This component checks two types of errors:

Type of errorDescriptionBeep soundLimitation
Soft errorJoint angle error between ref and act becomes large. 4 times / 1[s]Limit joint error within some threshould
Position errorReference joint position violates the joint range.2 times / 1[s]Limit joint angle within upper limit and lower limit

For soft error, this component observes the error between reference joint angle and actual joint angle. If the error exceeds a threshould, this component overwrite output reference joint angles to limit error within the threshould. At the same time, this component makes beep sound 4 times per 1[s].

For position error, this component checks whether input reference joint angle is within the joint range. If input reference joint angle exceeds the joint range, this component overwrite output reference joint angles to keep output reference joint angle within the range. At the same time, this component makes beep sound 2 times per 1[s].

If the cause of errors are removed, error flags and beep sound are removed.

Since this RTC is stable RTC, we support both direct beeping from this RTC and beepring through BeeperRTC.

implementation_idNullComponent
categoryexample

Data Ports

Input Ports

port namedata typeunitdescription
qRefRTC::TimedDouble[deg]Input reference joint angles
qCurrentRTC::TimedDouble[deg]Actual joint angles

Output Ports

port namedata typeunitdescription
qRTC::TimedDouble[deg]Output reference joint angles

Service Ports

Service Providers

port nameinterface nameservice typeIDLdescription
SoftErrorLimiterServiceservice0SoftErrorLimiterServiceOpenHRP::SoftErrorLimiterService

Service Consumers

N/A

Configuration Variables

nametypeunitdefault valuedescription
debugLevelint0debug level

Configuration File

keytypeunitdescription
dtdouble[s]sampling time
modelstd::stringURL of a VRML model