-
Notifications
You must be signed in to change notification settings - Fork 23
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
feat(pandar_description): add pandar_qt128 description #44
Changes from all commits
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,59 @@ | ||||||||||||
<?xml version="1.0"?> | ||||||||||||
<robot name="pandar_qt128" xmlns:xacro="http://ros.org/wiki/xacro"> | ||||||||||||
<!-- Define materials --> | ||||||||||||
<material name="gray_material"> | ||||||||||||
<color rgba="0.9 0.9 0.9 1.0"/> | ||||||||||||
</material> | ||||||||||||
|
||||||||||||
<xacro:macro name="PandarQT-128" params="name parent x y z roll pitch yaw"> | ||||||||||||
<!-- Joint for LiDAR base link --> | ||||||||||||
<joint name="${name}_base_mount_joint" type="fixed"> | ||||||||||||
<origin rpy="${roll} ${pitch} ${yaw}" xyz="${x} ${y} ${z}"/> | ||||||||||||
<parent link="${parent}"/> | ||||||||||||
<child link="${name}_base_link"/> | ||||||||||||
</joint> | ||||||||||||
<!-- Joint for Laser Firing Position --> | ||||||||||||
<joint name="${name}_base_scan_joint" type="fixed"> | ||||||||||||
<origin xyz="0 0 0.0582" rpy="0 0 0"/> | ||||||||||||
<parent link="${name}_base_link"/> | ||||||||||||
<child link="${name}"/> | ||||||||||||
</joint> | ||||||||||||
|
||||||||||||
<!-- Link for LiDAR base link --> | ||||||||||||
<link name="${name}_base_link"> | ||||||||||||
<!-- LiDAR visualization from bottom --> | ||||||||||||
<visual> | ||||||||||||
<geometry> | ||||||||||||
<cylinder length="0.029" radius="0.043"/> | ||||||||||||
</geometry> | ||||||||||||
<origin xyz="0 0 0.0144" rpy="0 0 0"/> | ||||||||||||
<material name="gray_material"/> | ||||||||||||
</visual> | ||||||||||||
<visual> | ||||||||||||
<geometry> | ||||||||||||
<cylinder length="0.0481" radius="0.043"/> | ||||||||||||
</geometry> | ||||||||||||
<origin xyz="0 0 0.0528" rpy="0 0 0"/> | ||||||||||||
<material name="gray_material"/> | ||||||||||||
</visual> | ||||||||||||
<visual> | ||||||||||||
<geometry> | ||||||||||||
<cylinder length="0.007" radius="0.043"/> | ||||||||||||
</geometry> | ||||||||||||
<origin xyz="0 0 0.08" rpy="0 0 0"/> | ||||||||||||
<material name="gray_material"/> | ||||||||||||
</visual> | ||||||||||||
<!-- LiDAR connector visualization --> | ||||||||||||
<visual> | ||||||||||||
<geometry> | ||||||||||||
<cylinder length="0.015" radius="0.0057"/> | ||||||||||||
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. |
||||||||||||
</geometry> | ||||||||||||
<origin xyz="0 0.051 0.0144" rpy="1.57 0 0"/> | ||||||||||||
<material name="gray_material"/> | ||||||||||||
</visual> | ||||||||||||
</link> | ||||||||||||
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.
sensor_component_description/pandar_description/urdf/pandar_qt.xacro Lines 55 to 59 in cf6acf3
|
||||||||||||
|
||||||||||||
<!-- Link for Laser Firing Position --> | ||||||||||||
<link name="${name}"/> | ||||||||||||
</xacro:macro> | ||||||||||||
</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.
The naming convention of
PandarQT-128
complies withPandarOT-128
sensor_component_description/pandar_description/urdf/pandar_ot128.xacro
Line 3 in cf6acf3