Skip to content

Commit

Permalink
remove dual state publisher
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonR99 committed Nov 14, 2024
1 parent e5e8d2e commit 4c49b88
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions src/rove_bringup/launch/sim.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@ def generate_launch_description():
pkg_ros_gz_sim = get_package_share_directory("ros_gz_sim")
pkg_ovis = get_package_share_directory("ovis_bringup")

# Get the URDF file
urdf_path = os.path.join(pkg_rove_description, "urdf", "rove.urdf.xacro")
robot_desc = ParameterValue(Command(["xacro ", urdf_path]), value_type=str)

# Get simulation file
world_file_name = "worlds/base_world.world"
world = os.path.join(pkg_rove_description, world_file_name)
Expand Down Expand Up @@ -89,21 +85,6 @@ def generate_launch_description():
output="screen",
)

# Takes the description and joint angles as inputs and publishes
# the 3D poses of the robot links
robot_state_publisher = Node(
package="robot_state_publisher",
executable="robot_state_publisher",
name="robot_state_publisher",
output="both",
parameters=[
{"robot_description": robot_desc},
{
"use_sim_time": True,
},
],
)

# fake human tracker
human_tracker = Node(
package="rove_navigation",
Expand Down Expand Up @@ -155,7 +136,6 @@ def generate_launch_description():
[
gz_sim,
bridge,
robot_state_publisher,
spawn_walls,
spawn_actor,
spawn_rove,
Expand Down

0 comments on commit 4c49b88

Please sign in to comment.