Skip to content

Commit

Permalink
Fix test case
Browse files Browse the repository at this point in the history
  • Loading branch information
dmronga committed Dec 4, 2024
1 parent a20f6b7 commit 15133de
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/config/robot_controllers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@ controller_manager:

whole_body_controller:
ros__parameters:
udpate_rate: 1000
control_mode: velocity
command_interfaces: ["position"]
state_interfaces: ["position"]
task_names: ["ee_pose"]
joint_weights: [1.0,1.0,1.0,1.0,1.0,1.0,1.0]
robot_model:
file: install/wbc_ros/share/wbc_ros/models/urdf/iiwa.urdf
type: rbdl
type: pinocchio
tasks:
ee_pose:
type: cart
Expand Down
5 changes: 5 additions & 0 deletions test/simple_launch.test.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ def generate_test_description():
parameters=[robot_description,robot_controllers],
arguments=['--ros-args', '--log-level', 'fatal']
),
launch_ros.actions.Node(
package='robot_state_publisher', namespace='/', executable='robot_state_publisher',
parameters=[robot_description],
arguments=['--ros-args', '--log-level', 'fatal']
),
launch_ros.actions.Node(
package='controller_manager', namespace='/', executable='spawner',
arguments=['whole_body_controller', '--controller-manager', ['/', 'controller_manager']],
Expand Down

0 comments on commit 15133de

Please sign in to comment.