Basic RT components and utilities
315.12.1
|
import "ServoControllerService.idl";
Public Types | |
typedef sequence< short > | iSequence |
typedef sequence< double > | dSequence |
Public Member Functions | |
boolean | setJointAngle (in short id, in double jv, in double tm) |
Interpolate just one joint angle specified by id using duration tm. | |
boolean | setJointAngles (in dSequence jvs, in double tm) |
Interpolate all joint angles on servo moters using duration specified by tm. | |
boolean | getJointAngle (in short id, out double jv) |
Obttain just one joint angle specified by id. | |
boolean | getJointAngles (out dSequence jvs) |
Interpolate all joint angles on servo moters. | |
boolean | addJointGroup (in string gname, in iSequence ids) |
add a joint group | |
boolean | removeJointGroup (in string gname) |
remove a joint group | |
boolean | setJointAnglesOfGroup (in string gname, in dSequence jvs, in double tm) |
Interpolate joint angles in a group using duration specified by tm. | |
boolean | setMaxTorque (in short id, in short percentage) |
Interpolate just one joint max torque specified by id. | |
boolean | setReset (in short id) |
Reset servo settings. | |
boolean | getDuration (in short id, out double duration) |
Get servo duration. | |
boolean | getSpeed (in short id, out double speed) |
Get servo speed. | |
boolean | getMaxTorque (in short id, out short percentage) |
Get servo maxTorque. | |
boolean | getTorque (in short id, out double torque) |
Get servo torque. | |
boolean | getTemperature (in short id, out double temperature) |
Get servo temperature. | |
boolean | getVoltage (in short id, out double voltage) |
Get servo voltage. | |
boolean | servoOn () |
boolean | servoOff () |
typedef sequence<double> OpenHRP::ServoControllerService::dSequence |
typedef sequence<short> OpenHRP::ServoControllerService::iSequence |
boolean OpenHRP::ServoControllerService::addJointGroup | ( | in string | gname, |
in iSequence | ids | ||
) |
add a joint group
gname | name of the joint group |
ids | list of joint ids |
boolean OpenHRP::ServoControllerService::getDuration | ( | in short | id, |
out double | duration | ||
) |
Get servo duration.
id | joint id |
duration | servo duration |
boolean OpenHRP::ServoControllerService::getJointAngle | ( | in short | id, |
out double | jv | ||
) |
Obttain just one joint angle specified by id.
Function returns without waiting for interpolation to finish
id | joint id |
jv | joint angle |
boolean OpenHRP::ServoControllerService::getJointAngles | ( | out dSequence | jvs | ) |
Interpolate all joint angles on servo moters.
Returns without waiting for whole sequence to be sent to robot.
jvs | sequence of joint angles |
boolean OpenHRP::ServoControllerService::getMaxTorque | ( | in short | id, |
out short | percentage | ||
) |
Get servo maxTorque.
id | joint id |
percentage | servo maxTorque(1~100[%], per 1) |
boolean OpenHRP::ServoControllerService::getSpeed | ( | in short | id, |
out double | speed | ||
) |
Get servo speed.
id | joint id |
speed | servo speed |
boolean OpenHRP::ServoControllerService::getTemperature | ( | in short | id, |
out double | temperature | ||
) |
Get servo temperature.
id | joint id |
temperature | servo temperature |
boolean OpenHRP::ServoControllerService::getTorque | ( | in short | id, |
out double | torque | ||
) |
Get servo torque.
id | joint id |
torque | servo torque |
boolean OpenHRP::ServoControllerService::getVoltage | ( | in short | id, |
out double | voltage | ||
) |
Get servo voltage.
id | joint id |
voltage | servo voltage |
boolean OpenHRP::ServoControllerService::removeJointGroup | ( | in string | gname | ) |
remove a joint group
gname | name of the joint group |
boolean OpenHRP::ServoControllerService::servoOff | ( | ) |
boolean OpenHRP::ServoControllerService::servoOn | ( | ) |
boolean OpenHRP::ServoControllerService::setJointAngle | ( | in short | id, |
in double | jv, | ||
in double | tm | ||
) |
Interpolate just one joint angle specified by id using duration tm.
Function returns without waiting for interpolation to finish
id | joint id |
jv | joint angle |
tm | duration |
boolean OpenHRP::ServoControllerService::setJointAngles | ( | in dSequence | jvs, |
in double | tm | ||
) |
Interpolate all joint angles on servo moters using duration specified by tm.
Returns without waiting for whole sequence to be sent to robot.
jvs | sequence of joint angles |
tm | duration |
boolean OpenHRP::ServoControllerService::setJointAnglesOfGroup | ( | in string | gname, |
in dSequence | jvs, | ||
in double | tm | ||
) |
Interpolate joint angles in a group using duration specified by tm.
Returns without waiting for whole sequence to be sent to robot.
gname | name of the joint group |
jvs | sequence of joint angles |
tm | duration |
boolean OpenHRP::ServoControllerService::setMaxTorque | ( | in short | id, |
in short | percentage | ||
) |
Interpolate just one joint max torque specified by id.
Function returns without waiting for interpolation to finish
id | joint id |
percentage | servo maxTorque(1~100[%]) |
boolean OpenHRP::ServoControllerService::setReset | ( | in short | id | ) |
Reset servo settings.
id | joint id |