1 #ifndef SLAM_CTOR_CORE_POSE_CORRECTION_TF_PUBLISHER_H 2 #define SLAM_CTOR_CORE_POSE_CORRECTION_TF_PUBLISHER_H 11 #include "../core/states/world.h" 13 template <
typename ObservationType>
19 bool is_async =
false) :
static tf::Quaternion createQuaternionFromRPY(double roll, double pitch, double yaw)
std::mutex _map2odom_mutex
tf::TransformBroadcaster _tf_brcst
TFSIMD_FORCE_INLINE void setZ(tfScalar z)
std::string _tf_odom_frame_id
std::string _tf_map_frame_id
std::string tf_odom_frame_id(const PropertiesProvider &props)
virtual void handle_transformed_msg(const boost::shared_ptr< ObservationType >, const tf::StampedTransform &t) override
TFSIMD_FORCE_INLINE Quaternion inverse(const Quaternion &q)
PoseCorrectionTfPublisher(const std::string &tf_map_frame_id, const std::string &tf_odom_frame_id, bool is_async=false)
virtual void on_pose_update(const RobotPose &pose) override
std::thread _transform_publisher
std::string tf_map_frame_id()
tf::Transform _last_odom2base
void publish_map_to_odom()