i should be learning
yet i am refactoring this is not a poem pain.
This commit is contained in:
@@ -42,30 +42,30 @@ def generate_launch_description():
|
||||
name='lidar_2_broadcaster',
|
||||
arguments=["-1.9", "1", "1", "0", "0", "0", "map", "lidar_2_link"]
|
||||
),
|
||||
Node(
|
||||
package='gazebo_ros',
|
||||
executable='spawn_entity.py',
|
||||
arguments=['-entity', robot_name,
|
||||
'-topic', 'robot_description',
|
||||
'-x', '-1',
|
||||
'-y', '-1',
|
||||
'-z', '1',
|
||||
'-Y', '0'], # Yaw
|
||||
output='screen'
|
||||
),
|
||||
#Node(
|
||||
# package='gazebo_ros',
|
||||
# executable='spawn_entity.py',
|
||||
# arguments=['-entity', robot_name,
|
||||
# '-topic', 'robot_description',
|
||||
# '-x', '-1',
|
||||
# '-y', '-1',
|
||||
# '-z', '1',
|
||||
# '-Y', '0'], # Yaw
|
||||
# output='screen'
|
||||
#),
|
||||
# Subscribe to the joint states of the robot, and publish the 3D pose of each link.
|
||||
Node(
|
||||
package='robot_state_publisher',
|
||||
executable='robot_state_publisher',
|
||||
parameters=[{'robot_description': Command(['xacro ', urdf_path])}]
|
||||
),
|
||||
#Node(
|
||||
# package='robot_state_publisher',
|
||||
# executable='robot_state_publisher',
|
||||
# parameters=[{'robot_description': Command(['xacro ', urdf_path])}]
|
||||
#),
|
||||
|
||||
# Publish the joint states of the robot
|
||||
Node(
|
||||
package='joint_state_publisher',
|
||||
executable='joint_state_publisher',
|
||||
name='joint_state_publisher'
|
||||
)
|
||||
#Node(
|
||||
# package='joint_state_publisher',
|
||||
# executable='joint_state_publisher',
|
||||
# name='joint_state_publisher'
|
||||
#)
|
||||
|
||||
# ,
|
||||
# Node(
|
||||
|
||||
Reference in New Issue
Block a user