InertialMeasurementUnit.cpp
Go to the documentation of this file.
1 /*
2  * This file is part of ArmarX.
3  *
4  * Copyright (C) 2012-2016, High Performance Humanoid Technologies (H2T), Karlsruhe Institute of Technology (KIT), all rights reserved.
5  *
6  * ArmarX is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License version 2 as
8  * published by the Free Software Foundation.
9  *
10  * ArmarX is distributed in the hope that it will be useful, but
11  * WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program. If not, see <http://www.gnu.org/licenses/>.
17  *
18  * @package RobotAPI::ArmarXObjects::InertialMeasurementUnit
19  * @author Markus Grotz ( markus-grotz at web dot de )
20  * @date 2015
21  * @copyright http://www.gnu.org/licenses/gpl-2.0.txt
22  * GNU General Public License
23  */
24 
26 
27 namespace armarx
28 {
29  void
31  {
32  offeringTopic(getProperty<std::string>("IMUTopicName").getValue());
33  onInitIMU();
34  }
35 
36  void
38  {
39  IMUTopicPrx = getTopic<InertialMeasurementUnitListenerPrx>(
40  getProperty<std::string>("IMUTopicName").getValue());
41  onStartIMU();
42  }
43 
44  void
46  {
47  }
48 
49  void
51  {
52  onExitIMU();
53  }
54 
57  {
60  }
61 } // namespace armarx
armarx::InertialMeasurementUnit::onExitIMU
virtual void onExitIMU()=0
armarx::InertialMeasurementUnit::IMUTopicPrx
InertialMeasurementUnitListenerPrx IMUTopicPrx
Definition: InertialMeasurementUnit.h:103
armarx::InertialMeasurementUnit::onInitIMU
virtual void onInitIMU()=0
armarx::InertialMeasurementUnit::createPropertyDefinitions
PropertyDefinitionsPtr createPropertyDefinitions() override
Definition: InertialMeasurementUnit.cpp:56
InertialMeasurementUnit.h
armarx::InertialMeasurementUnit::onConnectComponent
void onConnectComponent() override
Definition: InertialMeasurementUnit.cpp:37
armarx::InertialMeasurementUnit::onDisconnectComponent
void onDisconnectComponent() override
Definition: InertialMeasurementUnit.cpp:45
armarx::InertialMeasurementUnit::onInitComponent
void onInitComponent() override
Definition: InertialMeasurementUnit.cpp:30
armarx::Component::getConfigIdentifier
std::string getConfigIdentifier()
Retrieve config identifier for this component as set in constructor.
Definition: Component.cpp:79
armarx::ManagedIceObject::offeringTopic
void offeringTopic(const std::string &name)
Registers a topic for retrival after initialization.
Definition: ManagedIceObject.cpp:300
IceUtil::Handle
Definition: forward_declarations.h:30
armarx::InertialMeasurementUnit::onExitComponent
void onExitComponent() override
Definition: InertialMeasurementUnit.cpp:50
armarx::InertialMeasurementUnit::onStartIMU
virtual void onStartIMU()=0
armarx::PropertyDefinitionsPtr
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.
Definition: forward_declarations.h:35
armarx::InertialMeasurementUnitPropertyDefinitions
Definition: InertialMeasurementUnit.h:40
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition: ArmarXTimeserver.cpp:27