Skip to content

Commit

Permalink
Make odom child frame parameterizable.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmirabel authored and Olivier Stasse committed Apr 9, 2020
1 parent f43cf76 commit 46f6d30
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/sot_loader.cpp
Expand Up @@ -118,6 +118,11 @@ SotLoader::SotLoader()

freeFlyerPose_.header.frame_id = "odom";
freeFlyerPose_.child_frame_id = "base_link";
if (ros::param::get("/sot/tf_base_link",
freeFlyerPose_.child_frame_id)) {
ROS_INFO_STREAM("Publishing " << freeFlyerPose_.child_frame_id << " wrt "
<< freeFlyerPose_.header.frame_id);
}
}

SotLoader::~SotLoader() {
Expand Down

0 comments on commit 46f6d30

Please sign in to comment.