Skip to content

Commit

Permalink
replace world_tf_publisher
Browse files Browse the repository at this point in the history
  • Loading branch information
fmessmer committed Jul 5, 2022
1 parent f776e71 commit edd0f64
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 40 deletions.
2 changes: 1 addition & 1 deletion cob_gazebo_worlds/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ install(DIRECTORY Media launch test urdf
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
)

catkin_install_python(PROGRAMS scripts/elevator.py scripts/tf_publisher.py
catkin_install_python(PROGRAMS scripts/elevator.py
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)
2 changes: 1 addition & 1 deletion cob_gazebo_worlds/launch/display_world.launch
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
<remap from="robot_description" to="world_description"/>
</node>

<node name="world_tf_publisher" pkg="cob_gazebo_worlds" type="tf_publisher.py" respawn="false" output="screen" />
<node pkg="tf2_ros" type="static_transform_publisher" name="world_tf_publisher" args="0 0 0 0 0 0 1 map world" />

</launch>
2 changes: 1 addition & 1 deletion cob_gazebo_worlds/launch/world_urdf.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
a gazebo_ros_control_plugin needs to be added ogether with an additional joint_state_controller -->
<include ns="world" file="$(find cob_gazebo_worlds)/launch/world_joint_state_publisher.launch"/>

<node name="world_tf_publisher" pkg="cob_gazebo_worlds" type="tf_publisher.py" respawn="false" output="screen" />
<node pkg="tf2_ros" type="static_transform_publisher" name="world_tf_publisher" args="0 0 0 0 0 0 1 map world" />
</group>

</launch>
1 change: 1 addition & 0 deletions cob_gazebo_worlds/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
<exec_depend>rospy</exec_depend>
<exec_depend>std_msgs</exec_depend>
<exec_depend>tf</exec_depend>
<exec_depend>tf2_ros</exec_depend>
<exec_depend>velocity_controllers</exec_depend>
<exec_depend>xacro</exec_depend>

Expand Down
37 changes: 0 additions & 37 deletions cob_gazebo_worlds/scripts/tf_publisher.py

This file was deleted.

0 comments on commit edd0f64

Please sign in to comment.