#include <mofa_bridge.h>
Public Member Functions | |
MofaBridge () | |
void | open () |
Private Member Functions | |
bool | obs_request_callback (iri_wam_common_msgs::obs_request::Request &req, iri_wam_common_msgs::obs_request::Response &res) |
void | pcl2_sub_callback (const sensor_msgs::PointCloud2ConstPtr &msg) |
void | reloadRGB () |
Private Attributes | |
float * | ai |
float * | ci |
bool | connected |
CSocketClient * | csocket |
Socket server that accepts the WAM connection only. | |
std::list< std::string > | events |
list of internal events | |
CEventServer * | eventserver |
Eventserver (singleton) | |
bool | flag_mpcl2 |
int | idx |
ros::Publisher | labeled_pcl2_publisher |
std::ofstream | matlab_xyzrgb |
std::ifstream | matlab_xyzrgb_in |
sensor_msgs::PointCloud2ConstPtr * | msg_ |
int | nc |
ros::NodeHandle | nh |
int | nr |
int | num_objects |
std::set< int > | numobjAset |
std::set< int > | numobjBset |
std::set< int > | numobjset |
ros::ServiceServer | obs_request |
ros::Subscriber | pcl2_sub |
pcl::PointCloud< pcl::PointXYZRGB > | pcl_xyzrgb |
int | port |
std::string | serverip |
CMutex | socketmutex |
mutex protecting writes on the socket | |
float * | xi |
float * | yi |
float * | zi |
Definition at line 66 of file mofa_bridge.h.
Definition at line 6 of file mofa_bridge.cpp.
bool MofaBridge::obs_request_callback | ( | iri_wam_common_msgs::obs_request::Request & | req, |
iri_wam_common_msgs::obs_request::Response & | res | ||
) | [private] |
Definition at line 82 of file mofa_bridge.cpp.
void MofaBridge::open | ( | ) |
Definition at line 49 of file mofa_bridge.cpp.
void MofaBridge::pcl2_sub_callback | ( | const sensor_msgs::PointCloud2ConstPtr & | msg | ) | [private] |
Definition at line 72 of file mofa_bridge.cpp.
void MofaBridge::reloadRGB | ( | ) | [private] |
Definition at line 178 of file mofa_bridge.cpp.
float* MofaBridge::ai [private] |
Definition at line 107 of file mofa_bridge.h.
float* MofaBridge::ci [private] |
Definition at line 105 of file mofa_bridge.h.
bool MofaBridge::connected [private] |
Definition at line 74 of file mofa_bridge.h.
CSocketClient* MofaBridge::csocket [private] |
Socket server that accepts the WAM connection only.
Definition at line 81 of file mofa_bridge.h.
std::list<std::string> MofaBridge::events [private] |
list of internal events
Definition at line 87 of file mofa_bridge.h.
CEventServer* MofaBridge::eventserver [private] |
Eventserver (singleton)
Definition at line 84 of file mofa_bridge.h.
bool MofaBridge::flag_mpcl2 [private] |
Definition at line 95 of file mofa_bridge.h.
int MofaBridge::idx [private] |
Definition at line 97 of file mofa_bridge.h.
Definition at line 116 of file mofa_bridge.h.
std::ofstream MofaBridge::matlab_xyzrgb [private] |
Definition at line 109 of file mofa_bridge.h.
std::ifstream MofaBridge::matlab_xyzrgb_in [private] |
Definition at line 110 of file mofa_bridge.h.
sensor_msgs::PointCloud2ConstPtr* MofaBridge::msg_ [private] |
Definition at line 100 of file mofa_bridge.h.
int MofaBridge::nc [private] |
Definition at line 99 of file mofa_bridge.h.
ros::NodeHandle MofaBridge::nh [private] |
Definition at line 113 of file mofa_bridge.h.
int MofaBridge::nr [private] |
Definition at line 98 of file mofa_bridge.h.
int MofaBridge::num_objects [private] |
Definition at line 89 of file mofa_bridge.h.
std::set<int> MofaBridge::numobjAset [private] |
Definition at line 90 of file mofa_bridge.h.
std::set<int> MofaBridge::numobjBset [private] |
Definition at line 91 of file mofa_bridge.h.
std::set<int> MofaBridge::numobjset [private] |
Definition at line 92 of file mofa_bridge.h.
ros::ServiceServer MofaBridge::obs_request [private] |
Definition at line 128 of file mofa_bridge.h.
ros::Subscriber MofaBridge::pcl2_sub [private] |
Definition at line 125 of file mofa_bridge.h.
pcl::PointCloud<pcl::PointXYZRGB> MofaBridge::pcl_xyzrgb [private] |
Definition at line 101 of file mofa_bridge.h.
int MofaBridge::port [private] |
Definition at line 76 of file mofa_bridge.h.
std::string MofaBridge::serverip [private] |
Definition at line 75 of file mofa_bridge.h.
CMutex MofaBridge::socketmutex [private] |
mutex protecting writes on the socket
Definition at line 78 of file mofa_bridge.h.
float* MofaBridge::xi [private] |
Definition at line 102 of file mofa_bridge.h.
float* MofaBridge::yi [private] |
Definition at line 103 of file mofa_bridge.h.
float* MofaBridge::zi [private] |
Definition at line 104 of file mofa_bridge.h.