3 #ifndef ROBOTHARDWARESERVICE_IMPL_H 4 #define ROBOTHARDWARESERVICE_IMPL_H 6 #include <boost/intrusive_ptr.hpp> 7 #include "hrpsys/idl/RobotHardwareService.hh" 12 :
public virtual POA_OpenHRP::RobotHardwareService,
13 public virtual PortableServer::RefCountServantBase
19 void getStatus(OpenHRP::RobotHardwareService::RobotState_out rs);
20 void getStatus2(OpenHRP::RobotHardwareService::RobotState2_out rs);
22 CORBA::Boolean
power(
const char* jname, OpenHRP::RobotHardwareService::SwitchStatus ss);
23 CORBA::Boolean
servo(
const char* jname, OpenHRP::RobotHardwareService::SwitchStatus ss);
30 CORBA::Boolean
addJointGroup(
const char* gname,
const OpenHRP::RobotHardwareService::StrSequence& jnames);
31 CORBA::Boolean
readDigitalInput(::OpenHRP::RobotHardwareService::OctSequence_out din);
33 CORBA::Boolean
writeDigitalOutput(const ::OpenHRP::RobotHardwareService::OctSequence& dout);
34 CORBA::Boolean
writeDigitalOutputWithMask(const ::OpenHRP::RobotHardwareService::OctSequence& dout, const ::OpenHRP::RobotHardwareService::OctSequence&
mask);
36 CORBA::Boolean
readDigitalOutput(::OpenHRP::RobotHardwareService::OctSequence_out dout);
38 void setJointInertias(const ::OpenHRP::RobotHardwareService::DblSequence& mns);
42 void setJointControlMode(
const char *jname, OpenHRP::RobotHardwareService::JointControlMode jcm);
CORBA::Long lengthDigitalInput()
virtual ~RobotHardwareService_impl()
RobotHardwareService_impl()
void getStatus(OpenHRP::RobotHardwareService::RobotState_out rs)
CORBA::Boolean addJointGroup(const char *gname, const OpenHRP::RobotHardwareService::StrSequence &jnames)
void setJointControlMode(const char *jname, OpenHRP::RobotHardwareService::JointControlMode jcm)
CORBA::Boolean writeDigitalOutput(const ::OpenHRP::RobotHardwareService::OctSequence &dout)
CORBA::Boolean readDigitalOutput(::OpenHRP::RobotHardwareService::OctSequence_out dout)
void setServoTorqueGainPercentage(const char *jname, double limit)
png_infop png_charpp name
boost::shared_ptr< robot > m_robot
void setDisturbanceObserverGain(::CORBA::Double gain)
void getStatus2(OpenHRP::RobotHardwareService::RobotState2_out rs)
void removeForceSensorOffset()
CORBA::Boolean writeDigitalOutputWithMask(const ::OpenHRP::RobotHardwareService::OctSequence &dout, const ::OpenHRP::RobotHardwareService::OctSequence &mask)
CORBA::Long lengthDigitalOutput()
void disableDisturbanceObserver()
void calibrateInertiaSensor()
CORBA::Boolean setJointInertia(const char *name,::CORBA::Double mn)
png_infop int png_uint_32 mask
CORBA::Boolean readDigitalInput(::OpenHRP::RobotHardwareService::OctSequence_out din)
void setJointInertias(const ::OpenHRP::RobotHardwareService::DblSequence &mns)
void enableDisturbanceObserver()
CORBA::Boolean power(const char *jname, OpenHRP::RobotHardwareService::SwitchStatus ss)
void setServoGainPercentage(const char *jname, double limit)
CORBA::Boolean servo(const char *jname, OpenHRP::RobotHardwareService::SwitchStatus ss)
void initializeJointAngle(const char *name, const char *option)
void setRobot(boost::shared_ptr< robot > &i_robot)
void setServoErrorLimit(const char *jname, double limit)