Public Member Functions | Private Member Functions | Private Attributes
ViconReceiver Class Reference

List of all members.

Public Member Functions

void startGrabbing ()
void stopGrabbing ()
 ViconReceiver ()
 ~ViconReceiver ()

Private Member Functions

bool calibrateSegmentCallback (vicon_bridge::viconCalibrateSegment::Request &req, vicon_bridge::viconCalibrateSegment::Response &resp)
void createSegment (const string subject_name, const string segment_name)
void createSegmentThread (const string subject_name, const string segment_name)
void diagnostics (diagnostic_updater::DiagnosticStatusWrapper &stat)
bool grabPoseCallback (vicon_bridge::viconGrabPose::Request &req, vicon_bridge::viconGrabPose::Response &resp)
void grabThread ()
bool init_vicon ()
bool process_frame ()
void process_markers (const ros::Time &frame_time, unsigned int vicon_frame_num)
void process_subjects (const ros::Time &frame_time)
bool shutdown_vicon ()

Private Attributes

bool broadcast_tf_
ros::ServiceServer calibrate_segment_server_
diagnostic_updater::Updater diag_updater
unsigned int droppedFrameCount
tf::Transform flyer_transform
unsigned int frame_datum
unsigned int frameCount
diagnostic_updater::FrequencyStatus freq_status_
bool grab_frames_
boost::thread grab_frames_thread_
string host_name_
unsigned int lastFrameNumber
ros::ServiceServer m_grab_vicon_pose_service_server
bool marker_data_enabled
ros::Publisher marker_pub_
double max_freq_
double min_freq_
unsigned int n_markers
unsigned int n_unlabeled_markers
ros::NodeHandle nh
ros::NodeHandle nh_priv
ros::Time now_time
bool publish_markers_
bool publish_tf_
bool segment_data_enabled
SegmentMap segment_publishers_
boost::mutex segments_mutex_
string stream_mode_
tf::TransformBroadcaster tf_broadcaster_
string tf_ref_frame_id_
ros::Time time_datum
std::vector< std::string > time_log_
string tracked_frame_suffix_
bool unlabeled_marker_data_enabled

Detailed Description

Definition at line 149 of file vicon_bridge.cpp.


Constructor & Destructor Documentation

Definition at line 209 of file vicon_bridge.cpp.

Definition at line 250 of file vicon_bridge.cpp.


Member Function Documentation

bool ViconReceiver::calibrateSegmentCallback ( vicon_bridge::viconCalibrateSegment::Request &  req,
vicon_bridge::viconCalibrateSegment::Response &  resp 
) [inline, private]

Definition at line 683 of file vicon_bridge.cpp.

void ViconReceiver::createSegment ( const string  subject_name,
const string  segment_name 
) [inline, private]

Definition at line 367 of file vicon_bridge.cpp.

void ViconReceiver::createSegmentThread ( const string  subject_name,
const string  segment_name 
) [inline, private]

Definition at line 323 of file vicon_bridge.cpp.

Definition at line 262 of file vicon_bridge.cpp.

bool ViconReceiver::grabPoseCallback ( vicon_bridge::viconGrabPose::Request &  req,
vicon_bridge::viconGrabPose::Response &  resp 
) [inline, private]

Definition at line 627 of file vicon_bridge.cpp.

void ViconReceiver::grabThread ( ) [inline, private]

Definition at line 372 of file vicon_bridge.cpp.

bool ViconReceiver::init_vicon ( ) [inline, private]

Definition at line 272 of file vicon_bridge.cpp.

bool ViconReceiver::process_frame ( ) [inline, private]

Definition at line 413 of file vicon_bridge.cpp.

void ViconReceiver::process_markers ( const ros::Time frame_time,
unsigned int  vicon_frame_num 
) [inline, private]

Definition at line 546 of file vicon_bridge.cpp.

void ViconReceiver::process_subjects ( const ros::Time frame_time) [inline, private]

Definition at line 459 of file vicon_bridge.cpp.

bool ViconReceiver::shutdown_vicon ( ) [inline, private]

Definition at line 402 of file vicon_bridge.cpp.

void ViconReceiver::startGrabbing ( ) [inline]

Definition at line 195 of file vicon_bridge.cpp.

void ViconReceiver::stopGrabbing ( ) [inline]

Definition at line 203 of file vicon_bridge.cpp.


Member Data Documentation

Definition at line 186 of file vicon_bridge.cpp.

Definition at line 173 of file vicon_bridge.cpp.

Definition at line 155 of file vicon_bridge.cpp.

unsigned int ViconReceiver::droppedFrameCount [private]

Definition at line 177 of file vicon_bridge.cpp.

Definition at line 169 of file vicon_bridge.cpp.

unsigned int ViconReceiver::frame_datum [private]

Definition at line 179 of file vicon_bridge.cpp.

unsigned int ViconReceiver::frameCount [private]

Definition at line 176 of file vicon_bridge.cpp.

Definition at line 158 of file vicon_bridge.cpp.

Definition at line 188 of file vicon_bridge.cpp.

boost::thread ViconReceiver::grab_frames_thread_ [private]

Definition at line 189 of file vicon_bridge.cpp.

string ViconReceiver::host_name_ [private]

Definition at line 161 of file vicon_bridge.cpp.

unsigned int ViconReceiver::lastFrameNumber [private]

Definition at line 175 of file vicon_bridge.cpp.

Definition at line 172 of file vicon_bridge.cpp.

Definition at line 183 of file vicon_bridge.cpp.

Definition at line 165 of file vicon_bridge.cpp.

double ViconReceiver::max_freq_ [private]

Definition at line 157 of file vicon_bridge.cpp.

double ViconReceiver::min_freq_ [private]

Definition at line 156 of file vicon_bridge.cpp.

unsigned int ViconReceiver::n_markers [private]

Definition at line 180 of file vicon_bridge.cpp.

unsigned int ViconReceiver::n_unlabeled_markers [private]

Definition at line 181 of file vicon_bridge.cpp.

Definition at line 152 of file vicon_bridge.cpp.

Definition at line 153 of file vicon_bridge.cpp.

Definition at line 170 of file vicon_bridge.cpp.

Definition at line 186 of file vicon_bridge.cpp.

Definition at line 186 of file vicon_bridge.cpp.

Definition at line 182 of file vicon_bridge.cpp.

Definition at line 190 of file vicon_bridge.cpp.

boost::mutex ViconReceiver::segments_mutex_ [private]

Definition at line 191 of file vicon_bridge.cpp.

string ViconReceiver::stream_mode_ [private]

Definition at line 160 of file vicon_bridge.cpp.

Definition at line 167 of file vicon_bridge.cpp.

Definition at line 162 of file vicon_bridge.cpp.

Definition at line 178 of file vicon_bridge.cpp.

std::vector<std::string> ViconReceiver::time_log_ [private]

Definition at line 192 of file vicon_bridge.cpp.

Definition at line 163 of file vicon_bridge.cpp.

Definition at line 184 of file vicon_bridge.cpp.


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


vicon_bridge
Author(s):
autogenerated on Mon Sep 14 2015 03:57:50