-
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve nanosaur description and configurations
- Loading branch information
Showing
12 changed files
with
193 additions
and
37 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
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
Binary file not shown.
Binary file not shown.
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
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,42 @@ | ||
<?xml version="1.0"?> | ||
<robot name="nanosaur_flap_LD06" | ||
xmlns:xacro="http://ros.org/wiki/xacro"> | ||
|
||
<xacro:macro name="nanosaur_flap_LD06" params="parent"> | ||
|
||
<joint name="nanosaur_flap_joint" type="fixed"> | ||
<origin xyz="0 0 0" rpy="0 0 0" /> | ||
<parent link="${parent}"/> | ||
<child link="nanosaur_flap"/> | ||
</joint> | ||
|
||
<link name="nanosaur_flap"> | ||
<visual> | ||
<geometry><mesh filename="${path_meshes}/nanosaur_flap_LD06.stl" scale="0.001 0.001 0.001"/></geometry> | ||
<material name="Green" /> | ||
</visual> | ||
</link> | ||
|
||
<joint name="LD06_joint" type="fixed"> | ||
<origin xyz="-0.057 0 0.065" rpy="0 0 -${M_PI/2}" /> | ||
<parent link="${parent}"/> | ||
<child link="LD06"/> | ||
</joint> | ||
|
||
<link name="LD06"> | ||
<visual> | ||
<geometry><mesh filename="${path_meshes}/parts/LD06.stl" /></geometry> | ||
<material name="Black" /> | ||
</visual> | ||
<collision> | ||
<origin xyz="0 0 0.017" rpy="0 0 0" /> | ||
<geometry> | ||
<cylinder length="0.036" radius="0.02"/> | ||
</geometry> | ||
<material name="Black" /> | ||
</collision> | ||
</link> | ||
|
||
</xacro:macro> | ||
|
||
</robot> |
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
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,38 @@ | ||
<?xml version="1.0"?> | ||
<robot name="nanosaur_head" | ||
xmlns:xacro="http://ros.org/wiki/xacro"> | ||
|
||
<xacro:include filename="$(find nanosaur_description)/urdf/head/d435.urdf.xacro" /> | ||
<xacro:include filename="$(find nanosaur_description)/urdf/head/d435i_imu_modules.urdf.xacro"/> | ||
|
||
<xacro:macro name="nanosaur_head" params="parent"> | ||
|
||
<gazebo reference="head"> | ||
<material>Gazebo/Green</material> | ||
<!-- Ignition color reference --> | ||
<visual> | ||
<material> | ||
<ambient>0.0 0.5 0.0 1.0</ambient> | ||
<diffuse>0.0 0.5 0.0 1.0</diffuse> | ||
<specular>0.0 0.5 0.0 1.0</specular> | ||
</material> | ||
</visual> | ||
</gazebo> | ||
|
||
<joint name="head_joint" type="fixed"> | ||
<origin xyz="0 0 0" rpy="0 0 0" /> | ||
<parent link="${parent}"/> | ||
<child link="head"/> | ||
</joint> | ||
|
||
<link name="head"> | ||
<visual> | ||
<geometry> | ||
<mesh filename="${path_meshes}/nanosaur_head.stl" scale="0.001 0.001 0.001"/> | ||
</geometry> | ||
<material name="Green" /> | ||
</visual> | ||
</link> | ||
|
||
</xacro:macro> | ||
</robot> |
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,43 @@ | ||
<?xml version="1.0"?> | ||
<robot name="nanosaur_head_realsense" | ||
xmlns:xacro="http://ros.org/wiki/xacro"> | ||
|
||
<xacro:include filename="$(find nanosaur_description)/urdf/head/d435.urdf.xacro" /> | ||
<xacro:include filename="$(find nanosaur_description)/urdf/head/d435i_imu_modules.urdf.xacro"/> | ||
|
||
<xacro:macro name="nanosaur_head_realsense" params="parent name:=camera use_nominal_extrinsics:=false"> | ||
|
||
<gazebo reference="head"> | ||
<material>Gazebo/Green</material> | ||
<!-- Ignition color reference --> | ||
<visual> | ||
<material> | ||
<ambient>0.0 0.5 0.0 1.0</ambient> | ||
<diffuse>0.0 0.5 0.0 1.0</diffuse> | ||
<specular>0.0 0.5 0.0 1.0</specular> | ||
</material> | ||
</visual> | ||
</gazebo> | ||
|
||
<joint name="head_joint" type="fixed"> | ||
<origin xyz="0 0 0" rpy="0 0 0" /> | ||
<parent link="${parent}"/> | ||
<child link="head"/> | ||
</joint> | ||
|
||
<link name="head"> | ||
<visual> | ||
<geometry> | ||
<mesh filename="${path_meshes}/nanosaur_head_realsense_d435.stl" scale="0.001 0.001 0.001"/> | ||
</geometry> | ||
<material name="Green" /> | ||
</visual> | ||
</link> | ||
|
||
<xacro:sensor_d435 parent="${parent}" name="${name}" use_nominal_extrinsics="${use_nominal_extrinsics}"> | ||
<origin xyz="0.026 0 0.058" rpy="0 0 0" /> | ||
</xacro:sensor_d435> | ||
<xacro:d435i_imu_modules name="${name}" use_nominal_extrinsics="${use_nominal_extrinsics}"/> | ||
|
||
</xacro:macro> | ||
</robot> |
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
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
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