CollisionDetectorService_impl.cpp
Go to the documentation of this file.
2 #include "CollisionDetector.h"
3 
5 {
6 }
7 
9 {
10 }
11 
13 {
14  return m_collision->enable();
15 }
16 
18 {
19  return m_collision->disable();
20 }
21 
22 CORBA::Boolean CollisionDetectorService_impl::setTolerance(const char *i_link_pair_name, CORBA::Double d_tolerance)
23 {
24  return m_collision->setTolerance(i_link_pair_name, d_tolerance);
25 }
26 
27 CORBA::Boolean CollisionDetectorService_impl::setCollisionLoop(CORBA::Short loop)
28 {
29  return m_collision->setCollisionLoop(loop);
30 }
31 
32 CORBA::Boolean CollisionDetectorService_impl::getCollisionStatus(OpenHRP::CollisionDetectorService::CollisionState_out state)
33 {
34  state = new OpenHRP::CollisionDetectorService::CollisionState;
35  return m_collision->getCollisionStatus(*state);
36 }
37 
39 {
40  m_collision = i_collision;
41 }
42 
CORBA::Boolean getCollisionStatus(OpenHRP::CollisionDetectorService::CollisionState_out state)
void collision(CollisionDetector *i_collision)
bool getCollisionStatus(OpenHRP::CollisionDetectorService::CollisionState &state)
bool setCollisionLoop(int input_loop)
bool setTolerance(const char *i_link_pair_name, double i_tolerance)
sample RT component which has one data input port and one data output port
CORBA::Boolean setTolerance(const char *i_link_pair_name, CORBA::Double d_tolerance)
CORBA::Boolean setCollisionLoop(CORBA::Short loop)


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