Basic RT components and utilities  ..

Overview

This component reads sensors and write commands to actuators.

implementation_idRobotHardware
categoryexample

Data Ports

Input Ports

port namedata typeunitdescription
qRefRTC::TimedDoubleSeq[rad]joint angle commands

Output Ports

Output data ports for gyros, accelerometers and force/torque sensors are created automatically based on information read from a VRML model.

port namedata typeunitdescription
qRTC::TimedDoubleSeq[rad]measured joint angles
servoStateRTC::TimedLongSeq[rad]status of joint servo
emergencySignalRTC::TimedLong[rad]Emergency signal
name of gyro defined in a VRML modelRTC::TimedAngularVelocity3D[rad/s]angular velocities
name of accelerometer defined in a VRML modelRTC::TimedAcceleration3D[rad/(s^2)]acceleration
name of force/torque sensor defined in a VRML modelRTC::TimedDoubleSeq[N],[Nm]force/torque

Service Ports

Service Providers

port nameinterface nameservice typeIDLdescription
RobotHardwareServiceservice0RobotHardwareServiceOpenHRP::RobotHardwareService

Service Consumers

N/A

Configuration Variables

keytypeunitdescription
isDemoModeint1:demo mode, 0:otherwise. When the robot is in demo mode, joint servo error limits and force limits are not checked.
servoErrorLimitstd::vector<double>[rad]joint servo error limits. If any servo error exceeds its limit, all joint servos are turned off. When 0 is set, servo error is not checked
fzLimitRatiodouble<double>force limit. If force in Z direction exceeds this limit, all joint servos are turned off. The limit is given by a ratio to weight of the robot.

Configuration File

keytypeunitdescription
modelstd::stringURL of a VRML model
sensor_id.right_leg_force_sensorunsigned intID of a force/torque sensor whose Z force is checked to detect emergency
sensor_id.leg_leg_force_sensorunsigned intID of a force/torque sensor whose Z force is checked to detect emergency