YARP
Yet Another Robot Platform
PoseStampedRosPublisher.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2006-2020 Istituto Italiano di Tecnologia (IIT)
3  * All rights reserved.
4  *
5  * This software may be modified and distributed under the terms of the
6  * BSD-3-Clause license. See the accompanying LICENSE file for details.
7  */
8 
9 
10 #ifndef YARP_DEV_POSEROSPUBLISHER_H
11 #define YARP_DEV_POSEROSPUBLISHER_H
12 
15 
32 class PoseStampedRosPublisher : public GenericSensorRosPublisher<yarp::rosmsg::geometry_msgs::PoseStamped>
33 {
34  // Interface of the wrapped device
35  yarp::dev::IOrientationSensors* m_iOrientationSensors{ nullptr };
36  yarp::dev::IPositionSensors* m_iPositionSensors {nullptr};
37 
38 public:
40 
43 
46 
47  /* PeriodicRateThread methods */
48  void run() override;
49 
50 protected:
51  bool viewInterfaces() override;
52 };
53 
54 #endif
GenericSensorRosPublisher.h
yarp::dev::IOrientationSensors
Device interface to one or multiple orientation sensors, such as IMUs with on board estimation algori...
Definition: MultipleAnalogSensorsInterfaces.h:274
GenericSensorRosPublisher
This abstract template needs to be specialized in a ROS Publisher, for a specific ROS mesagge/sensor ...
Definition: GenericSensorRosPublisher.h:50
PoseStampedRosPublisher
PoseStampedRosPublisher: This wrapper connects to a device and publishes a ROS topic of type geometry...
Definition: PoseStampedRosPublisher.h:33
PoseStampedRosPublisher::run
void run() override
Loop function.
Definition: PoseStampedRosPublisher.cpp:29
PoseStampedRosPublisher::viewInterfaces
bool viewInterfaces() override
Definition: PoseStampedRosPublisher.cpp:19
yarp::dev::IPositionSensors
Device interface to one or multiple position sensors, such as UWB localization sensors.
Definition: MultipleAnalogSensorsInterfaces.h:216
PoseStamped.h