MCPcopy Create free account
hub / github.com/EdwardLiuyc/StaticMapping / imu_callback

Function imu_callback

ros_node/static_mapping_node.cpp:71–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69}
70
71void imu_callback(const sensor_msgs::Imu& imu_msg) {
72 ImuMsg::Ptr incomming_imu(new ImuMsg);
73 *incomming_imu = static_map_ros::ToLocalImu(imu_msg);
74 map_builder->InsertImuMsg(incomming_imu);
75}
76
77void odom_callback(const nav_msgs::Odometry& odom_msg) {
78 OdomMsg::Ptr local_odom(new OdomMsg);

Callers 1

mainFunction · 0.85

Calls 2

ToLocalImuFunction · 0.85
InsertImuMsgMethod · 0.80

Tested by

no test coverage detected