Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
iri_uvc_camera_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
sensors
mono_cameras
iri_uvc_camera_description
Commits
26820fee
Commit
26820fee
authored
4 years ago
by
Fernando Herrero
Browse files
Options
Downloads
Patches
Plain Diff
Add uvc_wideangle_camera.xacro
parent
4425469c
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/uvc_wideangle_camera.xacro
+53
-0
53 additions, 0 deletions
urdf/uvc_wideangle_camera.xacro
with
53 additions
and
0 deletions
urdf/uvc_wideangle_camera.xacro
0 → 100644
+
53
−
0
View file @
26820fee
<?xml version="1.0"?>
<root
xmlns:xacro=
"http://ros.org/wiki/xacro"
>
<xacro:include
filename=
"$(find iri_camera_gazebo)/urdf/wideangle_camera.gazebo"
/>
<xacro:macro
name=
"uvc_wideangle_camera"
params=
"name parent resolution model *origin sim_config"
>
<link
name=
"${name}_uvc_camera_base"
>
<inertial>
<mass
value=
"0.07700000"
/>
<origin
xyz=
"-0.03379724 0.00000000 0.00000000"
rpy=
"0 0 0"
/>
<inertia
ixx=
"0.00001570"
ixy=
"0.00000000"
ixz=
"0.0"
iyy=
"0.00001824"
iyz=
"0.0"
izz=
"0.00001824"
/>
</inertial>
<visual>
<origin
xyz=
"0 0 0"
rpy=
"0 0 0"
/>
<geometry>
<mesh
filename=
"package://iri_uvc_camera_description/meshes/${resolution}_uvc_camera_${model}.stl"
/>
</geometry>
<material
name=
"DarkGrey"
>
<color
rgba=
"0.2 0.2 0.2 1.0"
/>
</material>
</visual>
<collision>
<origin
xyz=
"0 0 0"
rpy=
"0 0 0"
/>
<geometry>
<mesh
filename=
"package://iri_uvc_camera_description/meshes/low_res_uvc_camera_${model}.stl"
/>
</geometry>
</collision>
</link>
<joint
name=
"joint_${parent}_to_${name}_uvc_camera_base"
type=
"fixed"
>
<parent
link=
"${parent}"
/>
<child
link=
"${name}_uvc_camera_base"
/>
<xacro:insert_block
name=
"origin"
/>
</joint>
<link
name=
"${name}_uvc_camera_optical"
>
</link>
<joint
name=
"joint_${name}_uvc_camera_base_to_${name}_uvc_camera_optical"
type=
"fixed"
>
<parent
link=
"${name}_uvc_camera_base"
/>
<child
link=
"${name}_uvc_camera_optical"
/>
<origin
xyz=
"0.0 0.0 0.0"
rpy=
"-1.5707 0 -1.5707"
/>
</joint>
<xacro:iri_wideangle_camera_gazebo
name=
"${name}_uvc"
config=
"${sim_config}"
/>
</xacro:macro>
</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