MCPcopy Create free account
hub / github.com/Robotics-STAR-Lab/H2-Mapping / point_callback

Function point_callback

src/dvins/pose_graph/src/pose_graph_node.cpp:114–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112}
113
114void point_callback(const sensor_msgs::PointCloudConstPtr &point_msg)
115{
116 //ROS_INFO("point_callback!");
117 if(!LOOP_CLOSURE)
118 return;
119 m_buf.lock();
120 point_buf.push(point_msg);
121 m_buf.unlock();
122 /*
123 for (unsigned int i = 0; i < point_msg->points.size(); i++)
124 {
125 printf("%d, 3D point: %f, %f, %f 2D point %f, %f \n",i , point_msg->points[i].x,
126 point_msg->points[i].y,
127 point_msg->points[i].z,
128 point_msg->channels[i].values[0],
129 point_msg->channels[i].values[1]);
130 }
131 */
132}
133
134void pose_callback(const nav_msgs::Odometry::ConstPtr &pose_msg)
135{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected