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

Invalid parameter "transmission_hw_interface" #32

Open
mingmou123 opened this issue Apr 29, 2021 · 2 comments
Open

Invalid parameter "transmission_hw_interface" #32

mingmou123 opened this issue Apr 29, 2021 · 2 comments

Comments

@mingmou123
Copy link

is there someone meet the same problem?
I guess it's because universal-robot official add transmission_hw_interface which cause the ur5.urdf.xacro is not consistant with the u5_joint_limited_robot.urdf.xacro.
when i delete the hw_interface, i met another problem "XML parsing error: mismatched tag: line 66, column 4

@ashishagg70
Copy link

ashishagg70 commented Jun 24, 2021

can you attach your ur5.urdf.xacro file. or just see it should be like following:

`<xacro:macro name="ur5_robot" params="prefix joint_limited
shoulder_pan_lower_limit:=${-2pi} shoulder_pan_upper_limit:=${2pi}
shoulder_lift_lower_limit:=${-pi} shoulder_lift_upper_limit:=${pi}
elbow_joint_lower_limit:=${-pi} elbow_joint_upper_limit:=${pi}
wrist_1_lower_limit:=${-pi} wrist_1_upper_limit:=${pi}
wrist_2_lower_limit:=${-pi} wrist_2_upper_limit:=${pi}
wrist_3_lower_limit:=${-pi} wrist_3_upper_limit:=${pi}
transmission_hw_interface:=hardware_interface/PositionJointInterface">

.
.
.
.
<xacro:ur_arm_transmission prefix="${prefix}" hw_interface="hardware_interface/PositionJointInterface"/>`

as suggested in #13 (comment)

@ashishagg70 ashishagg70 mentioned this issue Jun 24, 2021
@JinchuanMa
Copy link

can you attach your ur5.urdf.xacro file. or just see it should be like following:

`<xacro:macro name="ur5_robot" params="prefix joint_limited shoulder_pan_lower_limit:=${-2_pi} shoulder_pan_upper_limit:=${2_pi} shoulder_lift_lower_limit:=${-pi} shoulder_lift_upper_limit:=${pi} elbow_joint_lower_limit:=${-pi} elbow_joint_upper_limit:=${pi} wrist_1_lower_limit:=${-pi} wrist_1_upper_limit:=${pi} wrist_2_lower_limit:=${-pi} wrist_2_upper_limit:=${pi} wrist_3_lower_limit:=${-pi} wrist_3_upper_limit:=${pi} transmission_hw_interface:=hardware_interface/PositionJointInterface">

. . . . <xacro:ur_arm_transmission prefix="${prefix}" hw_interface="hardware_interface/PositionJointInterface"/>`

as suggested in #13 (comment)

nice

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

3 participants