Skip to content

tim-fan/map_to_odom_publisher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Map To Odom Publisher

1. Description

ROS package containing a single node for publishing mapodom transforms.

Subscribes to topic current_pose (type nav_msgs/Odometry) in map frame, looks up the current odombase_link transform from tf, and computes and publishes the current mapodom transform.

This is useful if you have a localisation system which publishes to a pose topic, but does not publish the map to odom transform as required by REP 105.

2. Nodes

2.1 map_to_odom_publisher

Publishes the mapodom transform to tf, based on current pose topic.

2.1.1 Subscribed Topics

  • current_pose (nav_msgs/Odometry)
    • The current pose of the robot
  • tf
    • listens for the odombase_link transform

2.1.2 Published Topics

  • tf
    • publishes the mapodom transform

2.1.3 Parameters

  • ~odom_frame_id (string, default: "odom")
    • The name of the odometric frame of the robot
  • ~base_frame_id (string, default: "base_link")
    • The name of of the robot frame
  • ~global_frame_id (string, default: "map")
    • The name of the global frame
  • ~transform_tolerance (double, default: 0.1)
    • Timeout to use for tf lookups

Acknowledgements

The source for this node is a modified version of fake_localization.cpp from the fake_localization package, with most of the features stripped out.

About

ROS node for publishing map->odom transforms

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published