Public Member Functions | Static Public Member Functions | Protected Attributes | Static Protected Attributes
ROSInterface Class Reference

#include <ROSInterface.h>

Inheritance diagram for ROSInterface:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 ROSInterface (std::string topic)
virtual ~ROSInterface ()

Static Public Member Functions

static ros::Time getROSTime ()
static void setROSTime (const ros::Time &time)

Protected Attributes

ros::NodeHandle nh_
std::string topic

Static Protected Attributes

static ros::Time current_time_

Detailed Description

Definition at line 65 of file ROSInterface.h.


Constructor & Destructor Documentation

ROSInterface::ROSInterface ( std::string  topic) [inline]

Definition at line 73 of file ROSInterface.h.

virtual ROSInterface::~ROSInterface ( ) [inline, virtual]

Definition at line 78 of file ROSInterface.h.


Member Function Documentation

static ros::Time ROSInterface::getROSTime ( ) [inline, static]

Retrieve the current ROS time. Use this instead of calling ros::Time::now() when setting the timestamp of your messages.

Definition at line 96 of file ROSInterface.h.

static void ROSInterface::setROSTime ( const ros::Time time) [inline, static]

Sets the static ros time in the ROSInterface, to be called once per simulation step

Definition at line 86 of file ROSInterface.h.


Member Data Documentation

Definition at line 70 of file ROSInterface.h.

Definition at line 69 of file ROSInterface.h.

std::string ROSInterface::topic [protected]

Definition at line 68 of file ROSInterface.h.


The documentation for this class was generated from the following files:


uwsim
Author(s): Mario Prats , Javier Perez
autogenerated on Fri Aug 28 2015 13:28:58