Public Types | Public Member Functions | Static Public Member Functions | Private Attributes
vrpn_client_ros::VrpnClientRos Class Reference

#include <vrpn_client_ros.h>

List of all members.

Public Types

typedef std::shared_ptr
< VrpnClientRos
Ptr
typedef std::unordered_map
< std::string,
VrpnTrackerRos::Ptr
TrackerMap

Public Member Functions

void mainloop ()
void updateTrackers ()
 VrpnClientRos (ros::NodeHandle nh, ros::NodeHandle private_nh)

Static Public Member Functions

static std::string getHostStringFromParams (ros::NodeHandle host_nh)

Private Attributes

ConnectionPtr connection_
std::string host_
ros::Timer mainloop_timer
ros::NodeHandle output_nh_
ros::Timer refresh_tracker_timer_
TrackerMap trackers_

Detailed Description

Definition at line 102 of file vrpn_client_ros.h.


Member Typedef Documentation

Definition at line 106 of file vrpn_client_ros.h.

typedef std::unordered_map<std::string, VrpnTrackerRos::Ptr> vrpn_client_ros::VrpnClientRos::TrackerMap

Definition at line 107 of file vrpn_client_ros.h.


Constructor & Destructor Documentation

Create and initialize VrpnClientRos object in the private_nh namespace.

Definition at line 308 of file vrpn_client_ros.cpp.


Member Function Documentation

Definition at line 342 of file vrpn_client_ros.cpp.

Call mainloop of underlying VRPN connection and all registered VrpnTrackerRemote objects.

Definition at line 358 of file vrpn_client_ros.cpp.

Examine vrpn_Connection's senders and create new trackers as necessary.

Definition at line 371 of file vrpn_client_ros.cpp.


Member Data Documentation

Underlying VRPN connection object

Definition at line 133 of file vrpn_client_ros.h.

Definition at line 127 of file vrpn_client_ros.h.

Definition at line 140 of file vrpn_client_ros.h.

Definition at line 128 of file vrpn_client_ros.h.

Definition at line 140 of file vrpn_client_ros.h.

Map of registered trackers, accessible by name

Definition at line 138 of file vrpn_client_ros.h.


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


vrpn_client_ros
Author(s): Paul Bovbel
autogenerated on Thu Jun 6 2019 18:13:13