2 #ifndef __NULL_SERVICE_H__ 3 #define __NULL_SERVICE_H__ 5 #include "hrpsys/idl/TorqueControllerService.hh" 12 :
public virtual POA_OpenHRP::TorqueControllerService,
13 public virtual PortableServer::RefCountServantBase
19 CORBA::Boolean enableTorqueController(
const char *jointName);
20 CORBA::Boolean enableMultipleTorqueControllers(
const OpenHRP::TorqueControllerService::StrSequence& jnames);
21 CORBA::Boolean disableTorqueController(
const char *jointName);
22 CORBA::Boolean disableMultipleTorqueControllers(
const OpenHRP::TorqueControllerService::StrSequence& jnames);
24 CORBA::Boolean startTorqueControl(
const char *jointName);
25 CORBA::Boolean startMultipleTorqueControls(
const OpenHRP::TorqueControllerService::StrSequence& jnames);
26 CORBA::Boolean stopTorqueControl(
const char *jointName);
27 CORBA::Boolean stopMultipleTorqueControls(
const OpenHRP::TorqueControllerService::StrSequence& jnames);
28 CORBA::Boolean setReferenceTorque(
const char *jointName,
double tauRef);
29 CORBA::Boolean setMultipleReferenceTorques(
const OpenHRP::TorqueControllerService::StrSequence& jnames,
const OpenHRP::TorqueControllerService::dSequence& tauRefs);
30 CORBA::Boolean setTorqueControllerParam(
const char *jointName,
const OpenHRP::TorqueControllerService::torqueControllerParam& i_param);
31 CORBA::Boolean getTorqueControllerParam(
const char *jointName, OpenHRP::TorqueControllerService::torqueControllerParam& i_param);
sample RT component which has one data input port and one data output port
TorqueController * m_torque_controller