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
68de5fa7
Commit
68de5fa7
authored
5 years ago
by
Alejandro Lopez Gestoso
Browse files
Options
Downloads
Patches
Plain Diff
Included a first version of the pan and tilt to check that all is working
parent
09e34c40
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
config/ana_pan_tilt_xacro.yaml
+5
-0
5 additions, 0 deletions
config/ana_pan_tilt_xacro.yaml
package.xml
+1
-0
1 addition, 0 deletions
package.xml
urdf/include/sensors.xacro
+42
-0
42 additions, 0 deletions
urdf/include/sensors.xacro
with
48 additions
and
0 deletions
config/ana_pan_tilt_xacro.yaml
0 → 100644
+
5
−
0
View file @
68de5fa7
pan_joint_name
:
pan
tilt_joint_name
:
tilt
load_name
:
camera_base_frame
joint_interface
:
EffortJointInterface
This diff is collapsed.
Click to expand it.
package.xml
+
1
−
0
View file @
68de5fa7
...
@@ -55,6 +55,7 @@
...
@@ -55,6 +55,7 @@
<exec_depend>
iri_velodyne_lidar_description
</exec_depend>
<exec_depend>
iri_velodyne_lidar_description
</exec_depend>
<exec_depend>
iri_bno055_imu_description
</exec_depend>
<exec_depend>
iri_bno055_imu_description
</exec_depend>
<exec_depend>
iri_realsense_depth_description
</exec_depend>
<exec_depend>
iri_realsense_depth_description
</exec_depend>
<exec_depend>
iri_dynamixel_pan_tilt_description
</exec_depend>
...
...
This diff is collapsed.
Click to expand it.
urdf/include/sensors.xacro
+
42
−
0
View file @
68de5fa7
...
@@ -4,6 +4,10 @@
...
@@ -4,6 +4,10 @@
<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:include
filename=
"$(find iri_realsense_depth_description)/urdf/realsense.xacro"
/>
<xacro:include
filename=
"$(find iri_bno055_imu_description)/urdf/bno055_imu.xacro"
/>
<xacro:include
filename=
"$(find iri_bno055_imu_description)/urdf/bno055_imu.xacro"
/>
<xacro:include
filename=
"$(find iri_dynamixel_pan_tilt_description)/urdf/pan_tilt.xacro"
/>
<xacro:property
name=
"pan_tilt_xacro_conf"
value=
"$(find iri_ana_description)/config/ana_pan_tilt_xacro.yaml"
/>
<xacro:property
name=
"pan_tilt_xacro_properties"
value=
"${load_yaml(pan_tilt_xacro_conf)}"
/>
<xacro:macro
name=
"sensors"
params=
"name parent"
>
<xacro:macro
name=
"sensors"
params=
"name parent"
>
...
@@ -63,6 +67,44 @@
...
@@ -63,6 +67,44 @@
<origin
xyz=
"0.11928 -0.08805 0.23061"
rpy=
"0 -1.5707 0"
/>
<origin
xyz=
"0.11928 -0.08805 0.23061"
rpy=
"0 -1.5707 0"
/>
</xacro:bno055_imu>
</xacro:bno055_imu>
<link
name=
"${pan_tilt_xacro_properties['load_name']}"
>
<visual>
<geometry>
<box
size=
".05 .05 .01"
/>
</geometry>
<origin
rpy=
"0 ${pi/2} 0"
xyz=
"0 0 .025"
/>
<material
name=
"blue"
>
<color
rgba=
"0 0 .8 1"
/>
</material>
</visual>
<inertial>
<origin
rpy=
"0 ${pi/2} 0"
xyz=
"0 0 .025"
/>
<mass
value=
"1"
/>
<inertia
ixx=
"0.0001"
ixy=
"0.0"
ixz=
"0.0"
iyy=
"0.0001"
iyz=
"0.0"
izz=
"0.0001"
/>
</inertial>
</link>
<link
name=
"camera_optical_frame"
/>
<gazebo
reference=
"${pan_tilt_xacro_properties['load_name']}"
>
<mu1>
0.2
</mu1>
<mu2>
0.2
</mu2>
<material>
Gazebo/Blue
</material>
</gazebo>
<joint
name=
"${pan_tilt_xacro_properties['load_name']}_to_camera_optical_frame"
type=
"fixed"
>
<parent
link=
"${pan_tilt_xacro_properties['load_name']}"
/>
<child
link=
"camera_optical_frame"
/>
<origin
xyz=
"0.0 0.0 0.025"
rpy=
"${pi/2} 0 -${pi/2}"
/>
</joint>
<xacro:pan_tilt
parent=
"${name}_box"
pan_joint_name=
"${pan_tilt_xacro_properties['pan_joint_name']}"
tilt_joint_name=
"${pan_tilt_xacro_properties['tilt_joint_name']}"
load_name=
"${pan_tilt_xacro_properties['load_name']}"
joint_interface=
"${pan_tilt_xacro_properties['joint_interface']}"
sim_config=
"$(find iri_ana_gazebo)/config/ana_pan_tilt_gazebo.yaml"
>
<origin
xyz=
"0.15 0.0 0.2"
rpy=
"0 0 0"
/>
</xacro:pan_tilt>
</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