2023-09-21 09:11:04 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<robot xmlns:xacro="http://www.ros.org/wiki/xacro" >
|
|
|
|
<xacro:arg name="camera_name" default="oak" />
|
|
|
|
<xacro:arg name="camera_model" default="OAK-D" />
|
|
|
|
<xacro:arg name="base_frame" default="oak-d_frame" />
|
|
|
|
<xacro:arg name="parent_frame" default="oak-d-base-frame" />
|
|
|
|
<xacro:arg name="cam_pos_x" default="0.0" />
|
|
|
|
<xacro:arg name="cam_pos_y" default="0.0" />
|
|
|
|
<xacro:arg name="cam_pos_z" default="0.0" />
|
|
|
|
<xacro:arg name="cam_roll" default="0.0" />
|
|
|
|
<xacro:arg name="cam_pitch" default="0.0" />
|
|
|
|
<xacro:arg name="cam_yaw" default="0.0" />
|
|
|
|
|
|
|
|
<xacro:include filename="$(find depthai_descriptions)/urdf/include/depthai_macro.urdf.xacro"/>
|
|
|
|
|
|
|
|
<link name="$(arg parent_frame)"/>
|
|
|
|
<xacro:depthai_camera camera_name = "$(arg camera_name)" parent = "$(arg parent_frame)" camera_model = "$(arg camera_model)" base_frame = "$(arg base_frame)" cam_pos_x = "$(arg cam_pos_x)" cam_pos_y = "$(arg cam_pos_y)" cam_pos_z = "$(arg cam_pos_z)" cam_roll = "$(arg cam_roll)" cam_pitch = "$(arg cam_pitch)" cam_yaw = "$(arg cam_yaw)"/>
|
|
|
|
|
|
|
|
<xacro:arg name="has_imu" default="false" />
|
|
|
|
|
2023-09-22 06:45:26 +00:00
|
|
|
<!-- <xacro:include filename="$(find depthai_descriptions)/urdf/include/base_macro.urdf.xacro"/> -->
|
2023-09-21 09:11:04 +00:00
|
|
|
|
2023-09-22 06:42:13 +00:00
|
|
|
<!-- <link name="$(arg parent_frame)"/> -->
|
2023-09-22 07:08:21 +00:00
|
|
|
<!-- <xacro:base camera_name = "$(arg camera_name)" parent = "$(arg parent_frame)" camera_model = "$(arg camera_model)" base_frame = "$(arg base_frame)" cam_pos_x = "$(arg cam_pos_x)" cam_pos_y = "$(arg cam_pos_y)" cam_pos_z = "$(arg cam_pos_z)" cam_roll = "$(arg cam_roll)" cam_pitch = "$(arg cam_pitch)" cam_yaw = "$(arg cam_yaw)" has_imu="$(arg has_imu)"/> -->
|
2023-09-21 09:11:04 +00:00
|
|
|
|
|
|
|
<joint name="oak-d-base-joint" type="fixed">
|
|
|
|
<parent link="chassis"/>
|
|
|
|
<child link="oak-d-base-frame"/>
|
2023-09-22 07:12:30 +00:00
|
|
|
<origin xyz="${chassis_length/2 + 0.010} 0 ${chassis_height/2 - 0.010}" rpy="0 0 0"/>
|
2023-09-21 09:11:04 +00:00
|
|
|
</joint>
|
|
|
|
|
|
|
|
|
2023-09-22 06:42:13 +00:00
|
|
|
<!-- <link name="oak-d-base-frame">
|
|
|
|
</link> -->
|
2023-09-21 09:11:04 +00:00
|
|
|
|
|
|
|
</robot>
|