Difference between revisions of "Turtlebot3 Waffle Nuc URDF 20240623"
From wikidb
(→Intel Nuc Platform) |
(→LIDAR Placement) |
||
Line 84: | Line 84: | ||
... | ... | ||
+ | </pre> | ||
+ | |||
+ | = Tools = | ||
+ | |||
+ | == check_urdf == | ||
+ | |||
+ | <pre> | ||
+ | |||
+ | $ check_urdf turtlebot3_waffle_nuc.urdf | ||
+ | robot name is: turtlebot3_waffle_nuc | ||
+ | ---------- Successfully Parsed XML --------------- | ||
+ | r oot Link: base_footprint has 1 child(ren) | ||
+ | child(1): base_link | ||
+ | child(1): caster_back_left_link | ||
+ | child(2): caster_back_right_link | ||
+ | child(3): imu_link | ||
+ | child(4): line_link | ||
+ | child(5): nuc_platform | ||
+ | child(1): scan_platform_link | ||
+ | child(1): base_scan | ||
+ | child(6): wheel_left_link | ||
+ | child(7): wheel_right_link | ||
</pre> | </pre> |
Revision as of 10:32, 23 June 2024
Contents
New URDF
Header Lines
<?xml version="1.0" ?> <robot name="turtlebot3_waffle_nuc" xmlns:xacro="http://ros.org/wiki/xacro">
Intel Nuc Platform
<!-- Add nuc_link Add a platform for the Nuc 5.0 x 10.5 x 0.25 inches --> <joint name="nuc_joint" type="fixed"> <parent link="base_link"/> <child link="nuc_platform"/> <origin xyz="-0.137 0.0 0.092" rpy="0 0 0"/> </joint> <link name="nuc_platform"> <visual> <geometry> <box size="0.127 0.267 0.00635"/> </geometry> <material name="transparent black"/> </visual> </link>
LIDAR Scan Platform
<!-- Add scanplatform_link Add a platform for the Nuc 3.0 x 10.5 x 0.25 inches --> <joint name="scan_platform_joint" type="fixed"> <parent link="nuc_platform"/> <child link="scan_platform_link"/> <origin xyz="-0.0127 0.0 0.0556" rpy="0 0 0"/> </joint> <link name="scan_platform_link"> <visual> <geometry> <box size="0.063 0.267 0.00635"/> </geometry> <material name="transparent black"/> </visual> </link>
LIDAR Placement
Modifications to the LIDAR placement
<!-- modify scan code to use scan_platform link as reference adjust scanner location --> <joint name="scan_joint" type="fixed"> <parent link="scan_platform_link"/> <child link="base_scan"/> <origin xyz="-0.00635 0 0.0420" rpy="0 0 0"/> </joint> <link name="base_scan"> <visual> <origin xyz="0 0 0" rpy="0 0 0"/> <geometry> <mesh filename="package://turtlebot3_description/meshes/sensors/lds.stl" scale="0.001 0.001 0.001"/> </geometry> <material name="dark"/> </visual> ...
Tools
check_urdf
$ check_urdf turtlebot3_waffle_nuc.urdf robot name is: turtlebot3_waffle_nuc ---------- Successfully Parsed XML --------------- r oot Link: base_footprint has 1 child(ren) child(1): base_link child(1): caster_back_left_link child(2): caster_back_right_link child(3): imu_link child(4): line_link child(5): nuc_platform child(1): scan_platform_link child(1): base_scan child(6): wheel_left_link child(7): wheel_right_link