Skip to content

Commit

Permalink
Port to tf2 and enable using static broadcaster
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Bovbel authored and Jackie Kay committed Mar 14, 2016
1 parent b38ebed commit 19294fb
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ project(robot_state_publisher)

find_package(orocos_kdl REQUIRED)
find_package(catkin REQUIRED
COMPONENTS roscpp rosconsole rostime tf tf2_ros tf2_kdl kdl_parser cmake_modules rostest
COMPONENTS roscpp rosconsole rostime tf tf2_ros tf2_kdl kdl_parser cmake_modules
)
find_package(Eigen REQUIRED)

Expand Down
1 change: 0 additions & 1 deletion package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,4 @@
<run_depend>tf2_kdl</run_depend>

<build_depend>rostest</build_depend>

</package>
2 changes: 1 addition & 1 deletion src/joint_state_listener.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ JointStateListener::JointStateListener(const KDL::Tree& tree, const MimicMap& m,
double publish_freq;
n_tilde.param("publish_frequency", publish_freq, 50.0);
// set whether to use the /tf_static latched static transform broadcaster
n_tilde.param("use_tf_static", use_tf_static_, true);
n_tilde.param("use_tf_static", use_tf_static_, false);
// get the tf_prefix parameter from the closest namespace
std::string tf_prefix_key;
n_tilde.searchParam("tf_prefix", tf_prefix_key);
Expand Down

0 comments on commit 19294fb

Please sign in to comment.