YARP
Yet Another Robot Platform
WrenchStampedRosPublisher.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_WRENCHROSPUBLISHER_H
11
#define YARP_DEV_WRENCHROSPUBLISHER_H
12
13
#include "
GenericSensorRosPublisher.h
"
14
#include <
yarp/rosmsg/geometry_msgs/WrenchStamped.h
>
15
32
class
WrenchStampedRosPublisher
:
public
GenericSensorRosPublisher
<yarp::rosmsg::geometry_msgs::WrenchStamped>
33
{
34
// Interface of the wrapped device
35
yarp::dev::ISixAxisForceTorqueSensors
* m_iFTsens{
nullptr
};
36
37
public
:
38
using
GenericSensorRosPublisher<yarp::rosmsg::geometry_msgs::WrenchStamped>::GenericSensorRosPublisher
;
39
40
using
GenericSensorRosPublisher<yarp::rosmsg::geometry_msgs::WrenchStamped>::open
;
41
using
GenericSensorRosPublisher<yarp::rosmsg::geometry_msgs::WrenchStamped>::close
;
42
using
GenericSensorRosPublisher<yarp::rosmsg::geometry_msgs::WrenchStamped>::attachAll
;
43
using
GenericSensorRosPublisher<yarp::rosmsg::geometry_msgs::WrenchStamped>::detachAll
;
44
45
/* PeriodicRateThread methods */
46
void
run
()
override
;
47
48
protected
:
49
bool
viewInterfaces
()
override
;
50
};
51
52
#endif
WrenchStamped.h
GenericSensorRosPublisher.h
GenericSensorRosPublisher
This abstract template needs to be specialized in a ROS Publisher, for a specific ROS mesagge/sensor ...
Definition:
GenericSensorRosPublisher.h:50
yarp::dev::ISixAxisForceTorqueSensors
Device interface to one or multiple six axis force torque sensor.
Definition:
MultipleAnalogSensorsInterfaces.h:419
WrenchStampedRosPublisher::run
void run() override
Loop function.
Definition:
WrenchStampedRosPublisher.cpp:21
WrenchStampedRosPublisher
WrenchStampedRosPublisher: This wrapper connects to a device and publishes a ROS topic of type geomet...
Definition:
WrenchStampedRosPublisher.h:33
WrenchStampedRosPublisher::viewInterfaces
bool viewInterfaces() override
Definition:
WrenchStampedRosPublisher.cpp:13
YARP
3.4.100+20201223.2+gitb8ea4d712
src
devices
multipleAnalogSensorsRosPublishers
WrenchStampedRosPublisher.h
Generated on Sun Jan 3 2021 02:46:23 for YARP by
1.8.20