#include <vrpn_client_ros.h>
|
static void VRPN_CALLBACK | handle_accel (void *userData, const vrpn_TRACKERACCCB tracker_accel) |
|
static void VRPN_CALLBACK | handle_pose (void *userData, const vrpn_TRACKERCB tracker_pose) |
|
static void VRPN_CALLBACK | handle_twist (void *userData, const vrpn_TRACKERVELCB tracker_twist) |
|
Definition at line 55 of file vrpn_client_ros.h.
Create and initialize VrpnTrackerRos using an existing underlying VRPN connection object. The underlying connection object is responsible for calling the tracker's mainloop.
Definition at line 63 of file vrpn_client_ros.cpp.
vrpn_client_ros::VrpnTrackerRos::VrpnTrackerRos |
( |
std::string |
tracker_name, |
|
|
std::string |
host, |
|
|
ros::NodeHandle |
nh |
|
) |
| |
Create and initialize VrpnTrackerRos, creating a new connection to tracker_name. This constructor will register timer callbacks on nh to call mainloop.
Definition at line 84 of file vrpn_client_ros.cpp.
vrpn_client_ros::VrpnTrackerRos::~VrpnTrackerRos |
( |
| ) |
|
void VRPN_CALLBACK vrpn_client_ros::VrpnTrackerRos::handle_accel |
( |
void * |
userData, |
|
|
const vrpn_TRACKERACCCB |
tracker_accel |
|
) |
| |
|
staticprivate |
void VRPN_CALLBACK vrpn_client_ros::VrpnTrackerRos::handle_pose |
( |
void * |
userData, |
|
|
const vrpn_TRACKERCB |
tracker_pose |
|
) |
| |
|
staticprivate |
void VRPN_CALLBACK vrpn_client_ros::VrpnTrackerRos::handle_twist |
( |
void * |
userData, |
|
|
const vrpn_TRACKERVELCB |
tracker_twist |
|
) |
| |
|
staticprivate |
void vrpn_client_ros::VrpnTrackerRos::init |
( |
std::string |
tracker_name, |
|
|
ros::NodeHandle |
nh, |
|
|
bool |
create_mainloop_timer |
|
) |
| |
|
private |
void vrpn_client_ros::VrpnTrackerRos::mainloop |
( |
| ) |
|
geometry_msgs::AccelStamped vrpn_client_ros::VrpnTrackerRos::accel_msg_ |
|
private |
std::vector<ros::Publisher> vrpn_client_ros::VrpnTrackerRos::accel_pubs_ |
|
private |
bool vrpn_client_ros::VrpnTrackerRos::broadcast_tf_ |
|
private |
ros::Timer vrpn_client_ros::VrpnTrackerRos::mainloop_timer |
|
private |
geometry_msgs::PoseStamped vrpn_client_ros::VrpnTrackerRos::pose_msg_ |
|
private |
std::vector<ros::Publisher> vrpn_client_ros::VrpnTrackerRos::pose_pubs_ |
|
private |
bool vrpn_client_ros::VrpnTrackerRos::process_sensor_id_ |
|
private |
std::string vrpn_client_ros::VrpnTrackerRos::tracker_name |
|
private |
geometry_msgs::TransformStamped vrpn_client_ros::VrpnTrackerRos::transform_stamped_ |
|
private |
geometry_msgs::TwistStamped vrpn_client_ros::VrpnTrackerRos::twist_msg_ |
|
private |
std::vector<ros::Publisher> vrpn_client_ros::VrpnTrackerRos::twist_pubs_ |
|
private |
bool vrpn_client_ros::VrpnTrackerRos::use_server_time_ |
|
private |
The documentation for this class was generated from the following files: