Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ROS Noetic support #23

Open
MrKeith99 opened this issue Jul 10, 2022 · 0 comments
Open

ROS Noetic support #23

MrKeith99 opened this issue Jul 10, 2022 · 0 comments

Comments

@MrKeith99
Copy link

Here you have some changes I have made so that it is possible to run it on ROS Noetic.
※Most of the changes are changing xacro.py to xacro, and update the transmissions from EffortJointInterface to hardware_interface/EffortJointInterface

  • thormang3_description > launch
    • thormang3_mpc.launch

old:
<param name="robot_description" command="$(find xacro)/xacro.py '$(find thormang3_description)/urdf/thormang3.xacro'" />

update:
<param name="robot_description" command="$(find xacro)/xacro '$(find thormang3_description)/urdf/thormang3.xacro'" />

  • thormang3_opc.launch

old:
<!--param name="robot_description" command="$(find xacro)/xacro.py '$(find thormang3_description)/urdf/thormang3.xacro'" /-->

update:
<!--param name="robot_description" command="$(find xacro)/xacro '$(find thormang3_description)/urdf/thormang3.xacro'" /-->

  • thormang3_rviz.launch

old:
<param name="robot_description" command="$(find xacro)/xacro.py '$(find thormang3_description)/urdf/thormang3.xacro'" />

update:
<param name="robot_description" command="$(find xacro)/xacro '$(find thormang3_description)/urdf/thormang3.xacro'" />

  • thormang3_description > urdf
    • thormang3.transmissions.xacro

old:

			<joint name="${name}">
				<hardwareInterface>EffortJointInterface</hardwareInterface>
			</joint>
			
			<actuator name="${name}_motor">
				<hardwareInterface>EffortJointInterface</hardwareInterface>
				<mechanicalReduction>1</mechanicalReduction>
			</actuator>

update:

			<joint name="${name}">
				<hardwareInterface>hardware_interface/EffortJointInterface</hardwareInterface>
			</joint>
			
			<actuator name="${name}_motor">
				<hardwareInterface>hardware_interface/EffortJointInterface</hardwareInterface>
				<mechanicalReduction>1</mechanicalReduction>
			</actuator>
  • thormang3_gazebo > urdf
    • robotis_world.launch

old:
<param name="robot_description" command="$(find xacro)/xacro.py '$(find thormang3_description)/urdf/thormang3.xacro'" />

update:
<param name="robot_description" command="$(find xacro)/xacro '$(find thormang3_description)/urdf/thormang3.xacro'" />

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant