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 
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:
36 
41 
42  /* PeriodicRateThread methods */
43  void run() override;
44 
45 protected:
46  bool viewInterfaces() override;
47 };
48 
49 #endif
This abstract template needs to be specialized in a ROS Publisher, for a specific ROS mesagge/sensor ...
WrenchStampedRosPublisher: This wrapper connects to a device and publishes a ROS topic of type geomet...
void run() override
Loop function.
Device interface to one or multiple six axis force torque sensor.