| 69 | } |
| 70 | |
| 71 | void 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 | |
| 77 | void odom_callback(const nav_msgs::Odometry& odom_msg) { |
| 78 | OdomMsg::Ptr local_odom(new OdomMsg); |
no test coverage detected