RemoveForceSensorLinkOffsetService_impl.cpp
Go to the documentation of this file.
00001 // -*- mode: c++; indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
00002 #include <iostream>
00003 #include "RemoveForceSensorLinkOffsetService_impl.h"
00004 #include "RemoveForceSensorLinkOffset.h"
00005 
00006 RemoveForceSensorLinkOffsetService_impl::RemoveForceSensorLinkOffsetService_impl() : m_rmfsoff(NULL)
00007 {
00008 }
00009 
00010 RemoveForceSensorLinkOffsetService_impl::~RemoveForceSensorLinkOffsetService_impl()
00011 {
00012 }
00013 
00014 CORBA::Boolean RemoveForceSensorLinkOffsetService_impl::setForceMomentOffsetParam(const char* i_name_, const OpenHRP::RemoveForceSensorLinkOffsetService::forcemomentOffsetParam &i_param_)
00015 {
00016   return m_rmfsoff->setForceMomentOffsetParam(std::string(i_name_), i_param_);
00017 }
00018 
00019 CORBA::Boolean RemoveForceSensorLinkOffsetService_impl::getForceMomentOffsetParam(const char *i_name_, OpenHRP::RemoveForceSensorLinkOffsetService::forcemomentOffsetParam_out i_param_)
00020 {
00021   i_param_ = new OpenHRP::RemoveForceSensorLinkOffsetService::forcemomentOffsetParam();
00022   i_param_->force_offset.length(3);
00023   i_param_->moment_offset.length(3);
00024   i_param_->link_offset_centroid.length(3);
00025   return m_rmfsoff->getForceMomentOffsetParam(std::string(i_name_), *i_param_);
00026 }
00027 
00028 CORBA::Boolean RemoveForceSensorLinkOffsetService_impl::loadForceMomentOffsetParams(const char *filename)
00029 {
00030         return m_rmfsoff->loadForceMomentOffsetParams(std::string(filename));
00031 };
00032 
00033 CORBA::Boolean RemoveForceSensorLinkOffsetService_impl::dumpForceMomentOffsetParams(const char *filename)
00034 {
00035         return m_rmfsoff->dumpForceMomentOffsetParams(std::string(filename));
00036 };
00037 
00038 CORBA::Boolean RemoveForceSensorLinkOffsetService_impl::removeForceSensorOffset(const ::OpenHRP::RemoveForceSensorLinkOffsetService::StrSequence& names, CORBA::Double tm)
00039 {
00040         return m_rmfsoff->removeForceSensorOffset(names, tm);
00041 }
00042 
00043 void RemoveForceSensorLinkOffsetService_impl::rmfsoff(RemoveForceSensorLinkOffset *i_rmfsoff)
00044 {
00045         m_rmfsoff = i_rmfsoff;
00046 }
00047 


hrpsys
Author(s): AIST, Fumio Kanehiro
autogenerated on Wed Sep 6 2017 02:35:55