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

Function pose_callback

src/dvins/pose_graph/src/pose_graph_node.cpp:134–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132}
133
134void pose_callback(const nav_msgs::Odometry::ConstPtr &pose_msg)
135{
136 //ROS_INFO("pose_callback!");
137 if(!LOOP_CLOSURE)
138 return;
139 m_buf.lock();
140 pose_buf.push(pose_msg);
141 m_buf.unlock();
142 /*
143 printf("pose t: %f, %f, %f q: %f, %f, %f %f \n", pose_msg->pose.pose.position.x,
144 pose_msg->pose.pose.position.y,
145 pose_msg->pose.pose.position.z,
146 pose_msg->pose.pose.orientation.w,
147 pose_msg->pose.pose.orientation.x,
148 pose_msg->pose.pose.orientation.y,
149 pose_msg->pose.pose.orientation.z);
150 */
151}
152
153void imu_forward_callback(const nav_msgs::Odometry::ConstPtr &forward_msg)
154{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected