Defines | Functions | Variables
query_lo_cop.cpp File Reference
#include <ros/ros.h>
#include <vision_srvs/srvjlo.h>
#include <vision_srvs/cop_call.h>
#include <vision_msgs/partial_lo.h>
#include <vision_msgs/cop_answer.h>
#include <geometry_msgs/Point32.h>
#include <sensor_msgs/PointCloud.h>
#include <point_cloud_mapping/geometry/statistics.h>
Include dependency graph for query_lo_cop.cpp:

Go to the source code of this file.

Defines

#define ID_WORLD   1
#define JLO_DELETE   "del"
#define JLO_FRAMEQUERY   "framequery"
#define JLO_IDQUERY   "idquery"
#define JLO_UPDATE   "update"

Functions

bool call_cop (vector< unsigned int > pos_ids, std::string stTopicName, ros::ServiceClient client)
void clusters_cb (const PointCloudConstPtr &cloud)
void cop_cb (const boost::shared_ptr< const cop_answer > &msg)
int main (int argc, char *argv[])
vector< unsigned int > update_jlo (vector< Point32 > cluster_centers, vector< Point32 > cluster_covs, ros::ServiceClient client)

Variables

vector< Point32 > cluster_centers_g
vector< Point32 > cluster_covs_g
bool exit_cb = false

Define Documentation

#define ID_WORLD   1

Definition at line 63 of file query_lo_cop.cpp.

#define JLO_DELETE   "del"

Definition at line 61 of file query_lo_cop.cpp.

#define JLO_FRAMEQUERY   "framequery"

Definition at line 60 of file query_lo_cop.cpp.

#define JLO_IDQUERY   "idquery"

Definition at line 59 of file query_lo_cop.cpp.

#define JLO_UPDATE   "update"

Definition at line 62 of file query_lo_cop.cpp.


Function Documentation

bool call_cop ( vector< unsigned int >  pos_ids,
std::string  stTopicName,
ros::ServiceClient  client 
)

Definition at line 162 of file query_lo_cop.cpp.

void clusters_cb ( const PointCloudConstPtr cloud)

Definition at line 82 of file query_lo_cop.cpp.

void cop_cb ( const boost::shared_ptr< const cop_answer > &  msg)

Definition at line 67 of file query_lo_cop.cpp.

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

Subscribe for cop answer

Definition at line 196 of file query_lo_cop.cpp.

vector<unsigned int> update_jlo ( vector< Point32 >  cluster_centers,
vector< Point32 >  cluster_covs,
ros::ServiceClient  client 
)

Definition at line 98 of file query_lo_cop.cpp.


Variable Documentation

Definition at line 66 of file query_lo_cop.cpp.

Definition at line 66 of file query_lo_cop.cpp.

bool exit_cb = false

Definition at line 65 of file query_lo_cop.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends Defines


prolog_perception
Author(s): Dejan Pangercic
autogenerated on Thu May 23 2013 15:21:21