File tree 2 files changed +40
-1
lines changed 2 files changed +40
-1
lines changed Original file line number Diff line number Diff line change 21
21
22
22
<!-- Axis q8641 -->
23
23
<xacro : include filename =" $(find robotnik_sensors)/urdf/axis_q8641.urdf.xacro" />
24
-
24
+
25
+ <!-- BLK ARC -->
26
+ <xacro : include filename =" $(find robotnik_sensors)/urdf/blk_arc.urdf.xacro" />
25
27
26
28
<!-- Flir AX8 -->
27
29
<xacro : include filename =" $(find robotnik_sensors)/urdf/flir_ax8.urdf.xacro" />
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" ?>
2
+ <robot name =" sensor_blk_arc" xmlns : xacro =" http://wiki.ros.org/xacro" >
3
+
4
+ <xacro : macro name =" sensor_blk_arc" params =" prefix parent *origin" >
5
+
6
+ <joint name =" ${prefix}_joint" type =" fixed" >
7
+ <xacro : insert_block name =" origin" />
8
+ <parent link =" ${parent}" />
9
+ <child link =" ${prefix}_link" />
10
+ </joint >
11
+
12
+ <link name =" ${prefix}_link" >
13
+ <inertial >
14
+ <origin xyz =" 0.0 0 0.0" rpy =" 0 0 0" />
15
+ <mass value =" 0.79" />
16
+ <xacro : solid_cuboid_inertia m =" 0.125" w =" 0.025" h =" 0.054" d =" 0.079" />
17
+ </inertial >
18
+ <visual >
19
+ <origin xyz =" 0.0 0 0" rpy =" 0 0 0" /> <!-- to center the .dae model -->
20
+ <material name =" fotonic_color" >
21
+ <color rgba =" 0.5 0.5 0.5 1" />
22
+ </material >
23
+ <geometry >
24
+ <cylinder radius =" 0.04" length =" 0.12" />
25
+ </geometry >
26
+ </visual >
27
+ <collision >
28
+ <origin xyz =" 0.0 0 0" rpy =" 0 0 0" />
29
+ <geometry >
30
+ <cylinder radius =" 0.04" length =" 0.12" />
31
+ </geometry >
32
+ </collision >
33
+ </link >
34
+
35
+ </xacro : macro >
36
+
37
+ </robot >
You can’t perform that action at this time.
0 commit comments