Typedefs | Functions | Variables
main.cpp File Reference
#include <stdlib.h>
#include <string>
#include <math.h>
#include <algorithm>
#include <iostream>
#include <vector>
#include "head_pose_estimation/CRForestEstimator.h"
#include <ros/ros.h>
#include "sensor_msgs/Image.h"
#include "sensor_msgs/PointCloud2.h"
#include "image_transport/image_transport.h"
#include <cv_bridge/cv_bridge.h>
#include <sensor_msgs/image_encodings.h>
#include <pcl_ros/point_cloud.h>
#include <pcl/point_types.h>
#include <kdl/frames.hpp>
#include <angles/angles.h>
#include <geometry_msgs/PoseStamped.h>
#include <geometry_msgs/PointStamped.h>
#include <tf/transform_listener.h>
#include <tf/transform_broadcaster.h>
#include "people_msgs/PositionMeasurement.h"
#include "people_msgs/PositionMeasurementArray.h"
Include dependency graph for main.cpp:

Go to the source code of this file.

Typedefs

typedef pcl::PointCloud
< pcl::PointXYZ > 
PointCloud

Functions

void cloudCallback (const sensor_msgs::PointCloud2ConstPtr &msg)
void loadConfig ()
int main (int argc, char *argv[])
void peopleCallback (const people_msgs::PositionMeasurementArray::ConstPtr &msg)

Variables

tf::TransformBroadcasterbroadcaster
CRForestEstimator estimator
string g_cloud_frame
bool g_cloud_ready = false
std::vector< std::vector< Vote > > g_clusters
CRForestEstimatorg_Estimate
double g_head_depth = 0.5
bool g_head_depth_ready = false
string g_head_target_frame
Mat g_im3D
double g_larger_radius_ratio = 1.f
int g_max_z = 0
double g_maxv = 800.f
std::vector< cv::Vec< float,
POSE_SIZE > > 
g_means
int g_ntrees
int g_p_height
int g_p_width
double g_pitch_bias = 0
float g_prob_th = 1.0f
double g_roll_bias = 0
double g_smaller_radius_ratio = 6.f
int g_stride = 5
int g_th = 400
tf::StampedTransform g_transform
bool g_transform_ready = false
string g_treepath
std::vector< Voteg_votes
double g_yaw_bias = 0
tf::TransformListenerlistener
ros::Publisher pose_pub

Typedef Documentation

typedef pcl::PointCloud<pcl::PointXYZ> PointCloud

Definition at line 81 of file main.cpp.


Function Documentation

void cloudCallback ( const sensor_msgs::PointCloud2ConstPtr &  msg)

Definition at line 170 of file main.cpp.

void loadConfig ( )

Definition at line 141 of file main.cpp.

int main ( int  argc,
char *  argv[] 
)

Definition at line 286 of file main.cpp.

void peopleCallback ( const people_msgs::PositionMeasurementArray::ConstPtr &  msg)

Definition at line 158 of file main.cpp.


Variable Documentation

Definition at line 134 of file main.cpp.

Definition at line 130 of file main.cpp.

string g_cloud_frame

Definition at line 124 of file main.cpp.

bool g_cloud_ready = false

Definition at line 119 of file main.cpp.

std::vector< std::vector< Vote > > g_clusters

Definition at line 138 of file main.cpp.

Definition at line 111 of file main.cpp.

double g_head_depth = 0.5

Definition at line 122 of file main.cpp.

bool g_head_depth_ready = false

Definition at line 118 of file main.cpp.

Definition at line 116 of file main.cpp.

Mat g_im3D

Definition at line 113 of file main.cpp.

Definition at line 106 of file main.cpp.

int g_max_z = 0

Definition at line 96 of file main.cpp.

double g_maxv = 800.f

Definition at line 102 of file main.cpp.

std::vector< cv::Vec<float,POSE_SIZE> > g_means

Definition at line 137 of file main.cpp.

int g_ntrees

Definition at line 90 of file main.cpp.

Definition at line 94 of file main.cpp.

int g_p_width

Definition at line 92 of file main.cpp.

double g_pitch_bias = 0

Definition at line 127 of file main.cpp.

float g_prob_th = 1.0f

Definition at line 100 of file main.cpp.

double g_roll_bias = 0

Definition at line 126 of file main.cpp.

Definition at line 108 of file main.cpp.

int g_stride = 5

Definition at line 104 of file main.cpp.

int g_th = 400

Definition at line 98 of file main.cpp.

Definition at line 135 of file main.cpp.

bool g_transform_ready = false

Definition at line 120 of file main.cpp.

string g_treepath

Definition at line 88 of file main.cpp.

std::vector< Vote > g_votes

Definition at line 139 of file main.cpp.

double g_yaw_bias = 0

Definition at line 128 of file main.cpp.

Definition at line 133 of file main.cpp.

Definition at line 131 of file main.cpp.



head_pose_estimation
Author(s): Dan Lazewatsky
autogenerated on Wed Aug 26 2015 11:41:44