Skip to content

Commit

Permalink
Enabled both hardware tags for arm
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcalderon03 committed Jul 29, 2023
1 parent 914fdd4 commit 06b0a4d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
7 changes: 3 additions & 4 deletions urc_arm_moveit_config/config/WalliiArmV3.ros2_control.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@

<ros2_control name="${name}" type="system">
<hardware>
<!-- TODO make a launch param to switch between real/fake hardware -->
<!-- gazebo_ros2_control/GazeboSystem -->
<!-- mock_components/GenericSystem -->
<plugin>mock_components/GenericSystem</plugin>
<!-- TODO make a launch param to switch between real/fake hardware. You can only use ONE. -->
<plugin>gazebo_ros2_control/GazeboSystem</plugin> <!-- Use for functionality in Gazebo -->
<!-- <plugin>mock_components/GenericSystem</plugin> --> <!--Use for functionality in RVIZ2-->
</hardware>
<joint name="shoulderjoint">
<command_interface name="position"/>
Expand Down
7 changes: 3 additions & 4 deletions urc_gazebo/urdf/WalliiArmV3.urdf
Original file line number Diff line number Diff line change
Expand Up @@ -558,10 +558,9 @@

<ros2_control name="arm_control" type="system">
<hardware>
<!-- TODO make a launch param to switch between real/fake hardware -->
<!-- gazebo_ros2_control/GazeboSystem -->
<!-- mock_components/GenericSystem -->
<plugin>mock_components/GenericSystem</plugin>
<!-- TODO make a launch param to switch between real/fake hardware. You can only use ONE. -->
<plugin>gazebo_ros2_control/GazeboSystem</plugin> <!--Use for functionality in Gazebo-->
<!--<plugin>mock_components/GenericSystem</plugin>--> <!--Use for functionality in Gazebo-->
<plugin>ros2_control_demo_hardware/VelocityActuatorHardware</plugin>
</hardware>

Expand Down

0 comments on commit 06b0a4d

Please sign in to comment.