ServoControllerService_impl.h
Go to the documentation of this file.
1 // -*- mode: c++; indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
2 #ifndef __SERVOCONTROLLER_SERVICE_H__
3 #define __SERVOCONTROLLER_SERVICE_H__
4 
5 #include "hrpsys/idl/ServoControllerService.hh"
6 
7 using namespace OpenHRP;
8 
9 class ServoController;
10 
12  : public virtual POA_OpenHRP::ServoControllerService,
13  public virtual PortableServer::RefCountServantBase
14 {
15 public:
20 
24  virtual ~ServoControllerService_impl();
25 
26  CORBA::Boolean setJointAngle(const CORBA::Short id, CORBA::Double jv, CORBA::Double tm);
27  CORBA::Boolean setJointAngles(const OpenHRP::ServoControllerService::dSequence& jvs, CORBA::Double tm);
28  CORBA::Boolean getJointAngle(const CORBA::Short id, CORBA::Double &jv);
29  CORBA::Boolean getJointAngles(OpenHRP::ServoControllerService::dSequence_out jvs);
30 
31  CORBA::Boolean addJointGroup(const char* gname, const OpenHRP::ServoControllerService::iSequence& ids);
32  CORBA::Boolean removeJointGroup(const char* gname);
33  CORBA::Boolean setJointAnglesOfGroup(const char *gname, const OpenHRP::ServoControllerService::dSequence& jvs, CORBA::Double tm);
34 
35  CORBA::Boolean setMaxTorque(const CORBA::Short id, const CORBA::Short percentage);
36  CORBA::Boolean setReset(const CORBA::Short id);
37  CORBA::Boolean getDuration(const CORBA::Short id, CORBA::Double &duration);
38  CORBA::Boolean getSpeed(const CORBA::Short id, CORBA::Double &speed);
39  CORBA::Boolean getMaxTorque(const CORBA::Short id, CORBA::Short &percentage);
40  CORBA::Boolean getTorque(const CORBA::Short id, CORBA::Double &torque);
41  CORBA::Boolean getTemperature(const CORBA::Short id, CORBA::Double &temperature);
42  CORBA::Boolean getVoltage(const CORBA::Short id, CORBA::Double &voltage);
43  CORBA::Boolean servoOn();
44  CORBA::Boolean servoOff();
45 
46  void servo(ServoController *i_servo);
47 private:
49 };
50 
51 #endif
def servoOn(joint="all")
Definition: PA10.py:77
int temperature(int s)
def servoOff(joint="all")
Definition: PA10.py:86
static std::vector< int > servo
Definition: iob.cpp:17
sample RT component which has one data input port and one data output port


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