-
Notifications
You must be signed in to change notification settings - Fork 6
/
6_wheel_config.urdf.xacro
114 lines (85 loc) · 4.88 KB
/
6_wheel_config.urdf.xacro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<?xml version='1.0'?>
<!--
Copyright (c) 2021
KELO Robotics GmbH
Author:
Sushant Chavan
This software is published under a dual-license: GNU Lesser General Public
License LGPL 2.1 and BSD license. The dual-license implies that users of this
code may choose which terms they prefer.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Neither the name of Locomotec nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License LGPL as
published by the Free Software Foundation, either version 2.1 of the
License, or (at your option) any later version or the BSD license.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License LGPL and the BSD license for more details.
You should have received a copy of the GNU Lesser General Public
License LGPL and BSD license along with this program.
-->
<robot xmlns:xacro="http://ros.org/wiki/xacro" name="6_wheel_config" >
<xacro:arg name="movable_joints" default="true"/>
<!-- Include desired robile bricks -->
<xacro:include filename="$(find robile_description)/urdf/robile_bricks/robile_active_wheel_brick.urdf.xacro" />
<xacro:include filename="$(find robile_description)/urdf/robile_bricks/robile_cpu_brick.urdf.xacro" />
<xacro:include filename="$(find robile_description)/urdf/robile_bricks/robile_master_battery_brick.urdf.xacro" />
<xacro:include filename="$(find robile_description)/urdf/robile_bricks/robile_empty_brick.urdf.xacro" />
<link name="base_link"/>
<!-- Build platform using robile bricks -->
<xacro:robile_active_wheel_brick name="robile_1" parent="base_link" movable_joints="$(arg movable_joints)">
<origin xyz="0.233 0.466 0.05" rpy="0.0 0.0 0.0"/>
</xacro:robile_active_wheel_brick>
<xacro:robile_empty_brick name="robile_2" parent="base_link">
<origin xyz="0 0.466 0.05" rpy="0.0 0.0 0.0"/>
</xacro:robile_empty_brick>
<xacro:robile_active_wheel_brick name="robile_3" parent="base_link" movable_joints="$(arg movable_joints)">
<origin xyz="-0.233 0.466 0.05" rpy="0.0 0.0 0.0"/>
</xacro:robile_active_wheel_brick>
<xacro:robile_empty_brick name="robile_4" parent="base_link">
<origin xyz="0.233 0.233 0.05" rpy="0.0 0.0 0.0"/>
</xacro:robile_empty_brick>
<xacro:robile_master_battery_brick name="robile_5" parent="base_link">
<origin xyz="0 0.233 0.05" rpy="0.0 0.0 0.0"/>
</xacro:robile_master_battery_brick>
<xacro:robile_empty_brick name="robile_6" parent="base_link">
<origin xyz="-0.233 0.233 0.05" rpy="0.0 0.0 0.0"/>
</xacro:robile_empty_brick>
<xacro:robile_active_wheel_brick name="robile_7" parent="base_link" movable_joints="$(arg movable_joints)">
<origin xyz="0.233 0 0.05" rpy="0.0 0.0 0.0"/>
</xacro:robile_active_wheel_brick>
<xacro:robile_empty_brick name="robile_8" parent="base_link">
<origin xyz="0 0 0.05" rpy="0.0 0.0 0.0"/>
</xacro:robile_empty_brick>
<xacro:robile_active_wheel_brick name="robile_9" parent="base_link" movable_joints="$(arg movable_joints)">
<origin xyz="-0.233 0 0.05" rpy="0.0 0.0 0.0"/>
</xacro:robile_active_wheel_brick>
<xacro:robile_empty_brick name="robile_10" parent="base_link">
<origin xyz="0.233 -0.233 0.05" rpy="0.0 0.0 0.0"/>
</xacro:robile_empty_brick>
<xacro:robile_cpu_brick name="robile_11" parent="base_link">
<origin xyz="0 -0.233 0.05" rpy="0.0 0.0 0.0"/>
</xacro:robile_cpu_brick>
<xacro:robile_empty_brick name="robile_12" parent="base_link">
<origin xyz="-0.233 -0.233 0.05" rpy="0.0 0.0 0.0"/>
</xacro:robile_empty_brick>
<xacro:robile_active_wheel_brick name="robile_13" parent="base_link" movable_joints="$(arg movable_joints)">
<origin xyz="0.233 -0.466 0.05" rpy="0.0 0.0 0.0"/>
</xacro:robile_active_wheel_brick>
<xacro:robile_empty_brick name="robile_14" parent="base_link">
<origin xyz="0 -0.466 0.05" rpy="0.0 0.0 0.0"/>
</xacro:robile_empty_brick>
<xacro:robile_active_wheel_brick name="robile_15" parent="base_link" movable_joints="$(arg movable_joints)">
<origin xyz="-0.233 -0.466 0.05" rpy="0.0 0.0 0.0"/>
</xacro:robile_active_wheel_brick>
</robot>