-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(pandar_description): add pandar_qt128 description
Signed-off-by: Tomohito Ando <[email protected]>
- Loading branch information
1 parent
cf6acf3
commit a271146
Showing
1 changed file
with
60 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
<?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"/> | ||
</geometry> | ||
<origin xyz="0 0.051 0.0144" rpy="1.57 0 0"/> | ||
<material name="gray_material"/> | ||
</visual> | ||
</link> | ||
|
||
<!-- Link for Laser Firing Position --> | ||
<link name="${name}"/> | ||
</xacro:macro> | ||
</robot> |