-
Notifications
You must be signed in to change notification settings - Fork 220
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
Kr210 kinematics update #124
base: melodic-devel
Are you sure you want to change the base?
Changes from 5 commits
a08e884
bf8cf1f
8824b8a
ff1b3d2
0e8c463
d756f43
bf6c255
7677311
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<launch> | ||
<param name="robot_description" command="$(find xacro)/xacro --inorder '$(find kuka_kr210_support)/urdf/kr210l150-2.xacro'" /> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line no loner works with most recent changes. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This file is non-existent now. |
||
</launch> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
<launch> | ||
<param name="robot_description" command="$(find xacro)/xacro.py '$(find kuka_kr210_support)/urdf/kr210l150.xacro'" /> | ||
<arg name="variant" default="" /> | ||
<param name="robot_description" command="$(find xacro)/xacro --inorder '$(find kuka_kr210_support)/urdf/kr210l150.xacro' variant:=$(arg variant)" /> | ||
</launch> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<launch> | ||
<include file="$(find kuka_kr210_support)/launch/load_kr210l150-2.launch" /> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same as above... update to use new variant arguments There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This file is non-existent now. |
||
<node name="joint_state_publisher" pkg="joint_state_publisher" type="joint_state_publisher"> | ||
<param name="use_gui" value="true" /> | ||
</node> | ||
<node name="robot_state_publisher" pkg="robot_state_publisher" type="robot_state_publisher" /> | ||
<node name="rviz" pkg="rviz" type="rviz" args="-d $(find industrial_robot_client)/config/robot_state_visualize.rviz" required="true" /> | ||
</launch> |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version="1.0" ?> | ||
<launch> | ||
<group ns="load_kr210l150-2__"> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. underscores There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This file is non-existent now. |
||
<include file="$(find kuka_kr210_support)/launch/load_kr210l150-2.launch"/> | ||
</group> | ||
|
||
<group ns="test_kr210l150-2__"> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. dash to underscore There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This file is non-existent now. |
||
<include file="$(find kuka_kr210_support)/launch/test_kr210l150-2.launch"/> | ||
</group> | ||
</launch> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version="1.0" ?> | ||
<launch> | ||
<group ns="load_kr210l150__"> | ||
<include file="$(find kuka_kr210_support)/launch/load_kr210l150.launch"/> | ||
</group> | ||
|
||
<group ns="test_kr210l150__"> | ||
<include file="$(find kuka_kr210_support)/launch/test_kr210l150.launch"/> | ||
</group> | ||
</launch> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0"?> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I would move this code into the kr210l150_macro.xacro and then delete this file. The There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done. Committed/pushed. I had a tricky time figuring out how to get at the
|
||
<robot xmlns:xacro="http://wiki.ros.org/xacro"> | ||
<xacro:macro name="kuka_kr210l150_a3" params="prefix variant"> | ||
<joint name="${prefix}joint_a3" type="revolute"> | ||
<xacro:if value="${variant == ''}"> | ||
<origin xyz="0 0 1.25" rpy="0 ${radians(90)} 0"/> | ||
</xacro:if> | ||
<xacro:if value="${variant == '_2'}"> | ||
<origin xyz="0 0 1.25" rpy="0 0 0"/> | ||
</xacro:if> | ||
<parent link="${prefix}link_2"/> | ||
<child link="${prefix}link_3"/> | ||
<axis xyz="0 1 0"/> | ||
<xacro:if value="${variant == ''}"> | ||
<limit lower="${radians(-209)}" upper="${radians(65)}" effort="0" velocity="${radians(81)}"/> | ||
</xacro:if> | ||
<xacro:if value="${variant == '_2'}"> | ||
<limit lower="${radians(-119)}" upper="${radians(155)}" effort="0" velocity="${radians(81)}"/> | ||
</xacro:if> | ||
</joint> | ||
</xacro:macro> | ||
</robot> |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<?xml version="1.0" ?> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should have a corresponding There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I was thinking not anymore? I apologize as I flopped back and forth on trying to use an argument, then quasi giving up and just making replicate macro/xacro, launch, and test files, then going back to an argument. So I figured the path was either:
|
||
<robot name="kuka_kr210" xmlns:xacro="http://wiki.ros.org/xacro"> | ||
<robot name="kuka_kr210l150" xmlns:xacro="http://wiki.ros.org/xacro"> | ||
<xacro:include filename="$(find kuka_kr210_support)/urdf/kr210l150_macro.xacro"/> | ||
<xacro:kuka_kr210l150 prefix=""/> | ||
</robot> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would rename this file to
load_kr210l150_2.launch
(i.e., no dashes)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file is non-existent now.