Skip to content

Commit b422d49

Browse files
authored
Fix for forward_velocity_controller test (UniversalRobots#1076)
* Update config with correct parameters and names * Changed name for better description of the file
1 parent 76402a5 commit b422d49

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
publisher_forward_velocity_controller:
22
ros__parameters:
33

4-
controller_name: "forward_velocity_controller"
4+
publish_topic: "forward_velocity_controller/commands"
55
wait_sec_between_publish: 5
66

7-
goal_names: ["pos1", "pos2", "pos3"]
8-
pos1: [0.0, 0.0, 0.0, 0.0, 0.0, 0.05]
9-
pos2: [0.0, 0.0, 0.0, 0.0, 0.0, -0.05]
10-
pos3: [0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
7+
goal_names: ["vel1", "vel2", "vel3"]
8+
vel1: [0.0, 0.0, 0.0, 0.0, 0.0, 0.5]
9+
vel2: [0.0, 0.0, 0.0, 0.0, 0.0, -0.5]
10+
vel3: [0.0, 0.0, 0.0, 0.0, 0.0, 0.0]

ur_robot_driver/launch/test_forward_velocity_controller.launch.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838

3939

4040
def generate_launch_description():
41-
velocity_goals = PathJoinSubstitution(
41+
velocity_config = PathJoinSubstitution(
4242
[FindPackageShare("ur_robot_driver"), "config", "test_velocity_goal_publishers_config.yaml"]
4343
)
4444

@@ -48,7 +48,7 @@ def generate_launch_description():
4848
package="ros2_controllers_test_nodes",
4949
executable="publisher_forward_position_controller",
5050
name="publisher_forward_velocity_controller",
51-
parameters=[velocity_goals],
51+
parameters=[velocity_config],
5252
output="screen",
5353
)
5454
]

0 commit comments

Comments
 (0)