|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
16 bool ok = m_poly->
view(m_iFTsens);
17 m_iFTsens->getSixAxisForceTorqueSensorFrameName(m_sens_index, m_framename);
28 wrench_ros_data.
clear();
yarp::os::Publisher< yarp::rosmsg::geometry_msgs::WrenchStamped > m_publisher
const yarp::os::LogComponent & GENERICSENSORROSPUBLISHER()
yarp::rosmsg::geometry_msgs::Vector3 force
#define YARP_LOG_COMPONENT(name,...)
bool view(T *&x)
Get an interface to the device driver.
yarp::rosmsg::geometry_msgs::Vector3 torque
virtual bool getSixAxisForceTorqueSensorMeasure(size_t sens_index, yarp::sig::Vector &out, double ×tamp) const =0
Get the last reading of the specified sensor.
const size_t m_sens_index
void write(bool forceStrict=false)
Write the current object being returned by Publisher::prepare.
yarp::rosmsg::geometry_msgs::Wrench wrench
Port & asPort() override
Get the concrete Port being used for communication.
void run() override
Loop function.
WrenchStampedRosPublisher: This wrapper connects to a device and publishes a ROS topic of type geomet...
yarp::rosmsg::std_msgs::Header header
T & prepare()
Access the object which will be transmitted by the next call to yarp::os::Publisher::write.
bool isOpen() const
Check if the port has been opened.