Skip to content

Commit

Permalink
[dynamixel_general_hw] Enable to use substitution args in config files
Browse files Browse the repository at this point in the history
  • Loading branch information
pazeshun committed Dec 16, 2024
1 parent a756e68 commit bfba5ab
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
joint_state_controller:
type: joint_state_controller/JointStateController
publish_rate: 20
publish_rate: $(arg control_rate)

position_joint_trajectory_controller:
type: position_controllers/JointTrajectoryController
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
joint_state_controller:
type: joint_state_controller/JointStateController
publish_rate: 20
publish_rate: $(arg control_rate)

position_joint_trajectory_controller:
type: position_controllers/JointTrajectoryController
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
joint_state_controller:
type: joint_state_controller/JointStateController
publish_rate: 20
publish_rate: $(arg control_rate)

joint_group_velocity_controller:
type: velocity_controllers/JointGroupVelocityController
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
joint_state_controller:
type: joint_state_controller/JointStateController
publish_rate: 20
publish_rate: $(arg control_rate)

joint_group_effort_controller:
type: effort_controllers/JointGroupEffortController
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
joint_state_controller:
type: joint_state_controller/JointStateController
publish_rate: 20
publish_rate: $(arg control_rate)

position_joint_trajectory_controller:
type: position_controllers/JointTrajectoryController
Expand Down
4 changes: 2 additions & 2 deletions dynamixel_general_hw/launch/dynamixel_general_control.launch
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@
publish_input_voltage: $(arg publish_input_voltage)
write_read_interval: $(arg write_read_interval)
</rosparam>
<rosparam param="dynamixel_info" file="$(arg dynamixel_info_file)" command="load" />
<rosparam param="dynamixel_info" file="$(arg dynamixel_info_file)" command="load" subst_value="true" />
</node>

<rosparam file="$(arg controllers_file)" command="load" />
<rosparam file="$(arg controllers_file)" command="load" subst_value="true" />
<node name="controller_spawner" pkg="controller_manager" type="spawner" respawn="false" output="screen"
args="$(arg controllers_to_start)" />

Expand Down

0 comments on commit bfba5ab

Please sign in to comment.