#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>
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 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.
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.
vector<Point32> cluster_centers_g |
Definition at line 66 of file query_lo_cop.cpp.
vector<Point32> cluster_covs_g |
Definition at line 66 of file query_lo_cop.cpp.
Definition at line 65 of file query_lo_cop.cpp.