Skip to content

Commit

Permalink
namespace and controller name fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
svastits committed Dec 20, 2024
1 parent 40fb7e3 commit bfcb1bf
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ def generate_launch_description():
launch_arguments={
"namespace": "test1",
"controller_config": f"{test_config_dir + 'test1_ros2_controller_config.yaml'}", # noqa: E501
"jtc_config": f"{test_config_dir + 'test1_joint_trajectory_controller_config.yaml'}", # noqa: E501
"jic_config": f"{test_config_dir + 'test1_joint_impedance_controller_config.yaml'}", # noqa: E501
"ec_config": f"{test_config_dir + 'test1_effort_controller_config.yaml'}",
"rviz_config": f"{get_package_share_directory('iiqka_moveit_example') + '/config/multi_robot.rviz'}", # noqa: E501
}.items(),
),
Expand All @@ -53,9 +50,6 @@ def generate_launch_description():
launch_arguments={
"namespace": "test2",
"controller_config": f"{test_config_dir + 'test2_ros2_controller_config.yaml'}", # noqa: E501
"jtc_config": f"{test_config_dir + 'test2_joint_trajectory_controller_config.yaml'}", # noqa: E501
"jic_config": f"{test_config_dir + 'test2_joint_impedance_controller_config.yaml'}", # noqa: E501
"ec_config": f"{test_config_dir + 'test2_effort_controller_config.yaml'}",
"robot_model": "lbr_iisy11_r1300",
"x": "2",
}.items(),
Expand Down
2 changes: 1 addition & 1 deletion kuka_iiqka_eac_driver/config/effort_controller_config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
effort_controller:
/**/effort_controller:
ros__parameters:
joints:
- joint_1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
joint_group_impedance_controller:
/**/joint_group_impedance_controller:
ros__parameters:
joints:
- joint_1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
joint_trajectory_controller:
/**/joint_trajectory_controller:
ros__parameters:
joints:
- joint_1
Expand Down
2 changes: 1 addition & 1 deletion kuka_iiqka_eac_driver/launch/startup.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def launch_setup(context, *args, **kwargs):
get_package_share_directory("kuka_iiqka_eac_driver") + "/config/driver_config.yaml"
)

controller_manager_node = ns.perform(context) + "/controller_manager"
controller_manager_node = "controller_manager"

control_node = Node(
namespace=ns,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ test1/controller_manager:
joint_group_impedance_controller:
type: kuka_controllers/JointGroupImpedanceController
effort_controller:
type: effort_controllers/JointGroupPositionController
type: effort_controllers/JointGroupEffortController
control_mode_handler:
type: kuka_controllers/ControlModeHandler
event_broadcaster:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ test2/controller_manager:
joint_group_impedance_controller:
type: kuka_controllers/JointGroupImpedanceController
effort_controller:
type: effort_controllers/JointGroupPositionController
type: effort_controllers/JointGroupEffortController
control_mode_handler:
type: kuka_controllers/ControlModeHandler
event_broadcaster:
Expand Down

0 comments on commit bfcb1bf

Please sign in to comment.