YARP
Yet Another Robot Platform
WrenchStampedRosPublisher.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT)
3
* SPDX-License-Identifier: BSD-3-Clause
4
*/
5
6
7
#ifndef YARP_DEV_WRENCHROSPUBLISHER_H
8
#define YARP_DEV_WRENCHROSPUBLISHER_H
9
10
#include "
GenericSensorRosPublisher.h
"
11
#include <
yarp/rosmsg/geometry_msgs/WrenchStamped.h
>
12
29
class
WrenchStampedRosPublisher
:
public
GenericSensorRosPublisher
<yarp::rosmsg::geometry_msgs::WrenchStamped>
30
{
31
// Interface of the wrapped device
32
yarp::dev::ISixAxisForceTorqueSensors
* m_iFTsens{
nullptr
};
33
34
public
:
35
using
GenericSensorRosPublisher<yarp::rosmsg::geometry_msgs::WrenchStamped>::GenericSensorRosPublisher
;
36
37
using
GenericSensorRosPublisher<yarp::rosmsg::geometry_msgs::WrenchStamped>::open
;
38
using
GenericSensorRosPublisher<yarp::rosmsg::geometry_msgs::WrenchStamped>::close
;
39
using
GenericSensorRosPublisher<yarp::rosmsg::geometry_msgs::WrenchStamped>::attachAll
;
40
using
GenericSensorRosPublisher<yarp::rosmsg::geometry_msgs::WrenchStamped>::detachAll
;
41
42
/* PeriodicRateThread methods */
43
void
run
()
override
;
44
45
protected
:
46
bool
viewInterfaces
()
override
;
47
};
48
49
#endif
GenericSensorRosPublisher.h
GenericSensorRosPublisher
This abstract template needs to be specialized in a ROS Publisher, for a specific ROS mesagge/sensor ...
Definition:
GenericSensorRosPublisher.h:47
WrenchStampedRosPublisher
WrenchStampedRosPublisher: This wrapper connects to a device and publishes a ROS topic of type geomet...
Definition:
WrenchStampedRosPublisher.h:30
WrenchStampedRosPublisher::viewInterfaces
bool viewInterfaces() override
Definition:
WrenchStampedRosPublisher.cpp:10
WrenchStampedRosPublisher::run
void run() override
Loop function.
Definition:
WrenchStampedRosPublisher.cpp:18
yarp::dev::ISixAxisForceTorqueSensors
Device interface to one or multiple six axis force torque sensor.
Definition:
MultipleAnalogSensorsInterfaces.h:416
WrenchStamped.h
YARP
3.5.1
src
devices
multipleAnalogSensorsRosPublishers
WrenchStampedRosPublisher.h
Generated on Sat Dec 25 2021 02:23:02 for YARP by
1.9.1