#include <vrpn_client_ros.h>
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_ |
Definition at line 102 of file vrpn_client_ros.h.
typedef std::shared_ptr<VrpnClientRos> vrpn_client_ros::VrpnClientRos::Ptr |
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.
vrpn_client_ros::VrpnClientRos::VrpnClientRos | ( | ros::NodeHandle | nh, |
ros::NodeHandle | private_nh | ||
) |
Create and initialize VrpnClientRos object in the private_nh namespace.
Definition at line 308 of file vrpn_client_ros.cpp.
std::string vrpn_client_ros::VrpnClientRos::getHostStringFromParams | ( | ros::NodeHandle | host_nh | ) | [static] |
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.
Underlying VRPN connection object
Definition at line 133 of file vrpn_client_ros.h.
std::string vrpn_client_ros::VrpnClientRos::host_ [private] |
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.