RobotHardwareService_impl.h
Go to the documentation of this file.
1 // -*-C++-*-
2 
3 #ifndef ROBOTHARDWARESERVICE_IMPL_H
4 #define ROBOTHARDWARESERVICE_IMPL_H
5 
6 #include <boost/intrusive_ptr.hpp>
7 #include "hrpsys/idl/RobotHardwareService.hh"
8 
9 #include "robot.h"
10 
12  : public virtual POA_OpenHRP::RobotHardwareService,
13  public virtual PortableServer::RefCountServantBase
14 {
15 public:
18 
19  void getStatus(OpenHRP::RobotHardwareService::RobotState_out rs);
20  void getStatus2(OpenHRP::RobotHardwareService::RobotState2_out rs);
21 
22  CORBA::Boolean power(const char* jname, OpenHRP::RobotHardwareService::SwitchStatus ss);
23  CORBA::Boolean servo(const char* jname, OpenHRP::RobotHardwareService::SwitchStatus ss);
24  void setServoGainPercentage(const char *jname, double limit);
25  void setServoTorqueGainPercentage(const char *jname, double limit);
26  void setServoErrorLimit(const char *jname, double limit);
29  void initializeJointAngle(const char* name, const char* option);
30  CORBA::Boolean addJointGroup(const char* gname, const OpenHRP::RobotHardwareService::StrSequence& jnames);
31  CORBA::Boolean readDigitalInput(::OpenHRP::RobotHardwareService::OctSequence_out din);
32  CORBA::Long lengthDigitalInput();
33  CORBA::Boolean writeDigitalOutput(const ::OpenHRP::RobotHardwareService::OctSequence& dout);
34  CORBA::Boolean writeDigitalOutputWithMask(const ::OpenHRP::RobotHardwareService::OctSequence& dout, const ::OpenHRP::RobotHardwareService::OctSequence& mask);
35  CORBA::Long lengthDigitalOutput();
36  CORBA::Boolean readDigitalOutput(::OpenHRP::RobotHardwareService::OctSequence_out dout);
37  CORBA::Boolean setJointInertia(const char* name, ::CORBA::Double mn);
38  void setJointInertias(const ::OpenHRP::RobotHardwareService::DblSequence& mns);
41  void setDisturbanceObserverGain(::CORBA::Double gain);
42  void setJointControlMode(const char *jname, OpenHRP::RobotHardwareService::JointControlMode jcm);
43  //
44  void setRobot(boost::shared_ptr<robot>& i_robot) { m_robot = i_robot; }
45 private:
47 };
48 #endif
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)
JCOPY_OPTION option
CORBA::Boolean writeDigitalOutputWithMask(const ::OpenHRP::RobotHardwareService::OctSequence &dout, const ::OpenHRP::RobotHardwareService::OctSequence &mask)
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)
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)


hrpsys
Author(s): AIST, Fumio Kanehiro
autogenerated on Thu May 6 2021 02:41:51