Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
iri_ana_description
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
labrobotica
ros
robots
ana
iri_ana_description
Commits
dd8ae42b
Commit
dd8ae42b
authored
6 years ago
by
Sergi Hernandez
Browse files
Options
Downloads
Patches
Plain Diff
Added the realsense depth camera to the Ana robot.
parent
3a9f496a
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
urdf/sensors.xacro
+17
-9
17 additions, 9 deletions
urdf/sensors.xacro
with
17 additions
and
9 deletions
urdf/sensors.xacro
+
17
−
9
View file @
dd8ae42b
...
@@ -2,11 +2,11 @@
...
@@ -2,11 +2,11 @@
<root
xmlns:xacro=
"http://ros.org/wiki/xacro"
>
<root
xmlns:xacro=
"http://ros.org/wiki/xacro"
>
<xacro:include
filename=
"$(find iri_velodyne_lidar_description)/urdf/velodyne_vlp16.xacro"
/>
<xacro:include
filename=
"$(find iri_velodyne_lidar_description)/urdf/velodyne_vlp16.xacro"
/>
<xacro:include
filename=
"$(find iri_realsense_depth_description)/urdf/realsense.xacro"
/>
<xacro:macro
name=
"sensors"
params=
"name parent *origin"
>
<xacro:macro
name=
"sensors"
params=
"name parent *origin"
>
<link
name=
"box"
>
<link
name=
"
${name}_
box"
>
<inertial>
<inertial>
<mass
value=
"4.00000000"
/>
<mass
value=
"4.00000000"
/>
<origin
xyz=
"-0.02349208 0.00000000 0.20998619"
rpy=
"0 0 0"
/>
<origin
xyz=
"-0.02349208 0.00000000 0.20998619"
rpy=
"0 0 0"
/>
...
@@ -33,14 +33,9 @@
...
@@ -33,14 +33,9 @@
</collision>
</collision>
</link>
</link>
<gazebo
reference=
"box"
>
<joint
name=
"joint_${parent}_to_${name}_box"
type=
"fixed"
>
<material>
Gazebo/Grey
</material>
</gazebo>
<joint
name=
"joint_${parent}_to_box"
type=
"fixed"
>
<parent
link=
"${parent}"
/>
<parent
link=
"${parent}"
/>
<child
link=
"box"
/>
<child
link=
"
${name}_
box"
/>
<origin
xyz=
"0 0 0.3"
rpy=
"0 0 0"
/>
<origin
xyz=
"0 0 0.3"
rpy=
"0 0 0"
/>
</joint>
</joint>
...
@@ -48,6 +43,19 @@
...
@@ -48,6 +43,19 @@
<origin
xyz=
"0.0 0.0 0.1"
rpy=
"0 0 0"
/>
<origin
xyz=
"0.0 0.0 0.1"
rpy=
"0 0 0"
/>
</xacro:velodyne_vlp16>
</xacro:velodyne_vlp16>
<link
name=
"${name}_realsense_support"
>
</link>
<joint
name=
"joint_${parent}_to_${name}_realsense_support"
type=
"fixed"
>
<parent
link=
"${parent}"
/>
<child
link=
"${name}_realsense_support"
/>
<origin
xyz=
"0.26374 0 -0.0485"
rpy=
"0 0 0"
/>
</joint>
<xacro:realsense_depth
parent=
"${name}_realsense_support"
model=
"d435"
sim_config=
"$(find iri_ana_gazebo)/config/ana_realsense_config.yaml"
>
<origin
xyz=
"0.0 0.0 0.0265"
rpy=
"0 0.52 0"
/>
</xacro:realsense_depth>
</xacro:macro>
</xacro:macro>
</root>
</root>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment