Skip to content

Commit 3e0f270

Browse files
committed
Adding a servo wheel
1 parent a48a3da commit 3e0f270

File tree

2 files changed

+97
-0
lines changed

2 files changed

+97
-0
lines changed

defaultFixedServo.xml

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
<root>
2+
<appendage>
3+
4+
<name>wheel</name>
5+
<cadEngine>
6+
<git>https://github.com/madhephaestus/VexVitaminsRobot.git</git>
7+
<file>VexVitaminsRobotCad.groovy</file>
8+
</cadEngine>
9+
<kinematics>
10+
<git>https://github.com/madhephaestus/carl-the-hexapod.git</git>
11+
<file>DefaultDhSolver.groovy</file>
12+
</kinematics>
13+
<link>
14+
<name>wheel</name>
15+
<deviceName>virtualDev</deviceName>
16+
<type>virtual</type>
17+
<index>0</index>
18+
<scale>1.0</scale>
19+
<upperLimit>1000000.0</upperLimit>
20+
<lowerLimit>-1000000.0</lowerLimit>
21+
<upperVelocity>328.0</upperVelocity>
22+
<lowerVelocity>-328.0</lowerVelocity>
23+
<staticOffset>0.0</staticOffset>
24+
<deviceTheoreticalMax>2.147483647E9</deviceTheoreticalMax>
25+
<deviceTheoreticalMin>-2.147483648E9</deviceTheoreticalMin>
26+
<isLatch>true</isLatch>
27+
<indexLatch>145.0</indexLatch>
28+
<isStopOnLatch>false</isStopOnLatch>
29+
<homingTPS>10000000</homingTPS>
30+
31+
<passive>false</passive>
32+
<mass>0.01</mass>
33+
<centerOfMassFromCentroid>
34+
<x>0.0</x>
35+
<y>0.0</y>
36+
<z>0.0</z>
37+
<rotw>1.0</rotw>
38+
<rotx>0.0</rotx>
39+
<roty>0.0</roty>
40+
<rotz>0.0</rotz>
41+
</centerOfMassFromCentroid>
42+
<imuFromCentroid>
43+
<x>0.0</x>
44+
<y>0.0</y>
45+
<z>0.0</z>
46+
<rotw>1.0</rotw>
47+
<rotx>-0.0</rotx>
48+
<roty>-0.0</roty>
49+
<rotz>-0.0</rotz>
50+
</imuFromCentroid>
51+
52+
<DHParameters>
53+
<Delta>0.0</Delta>
54+
<Theta>0.0</Theta>
55+
<Radius>52.0</Radius>
56+
<Alpha>0.0</Alpha>
57+
</DHParameters>
58+
59+
</link>
60+
61+
<ZframeToRAS
62+
>
63+
<x>0.0</x>
64+
<y>0.0</y>
65+
<z>0.0</z>
66+
<rotw>1.0</rotw>
67+
<rotx>-0.0</rotx>
68+
<roty>-0.0</roty>
69+
<rotz>-0.0</rotz>
70+
71+
</ZframeToRAS>
72+
73+
<baseToZframe>
74+
75+
<x>58.2</x>
76+
<y>-12.599999999999998</y>
77+
<z>12.6</z>
78+
<rotw>0.5048458934646433</rotw>
79+
<rotx>0.5048458934646445</rotx>
80+
<roty>0.49510667926406</roty>
81+
<rotz>-0.4951066792640614</rotz>
82+
83+
</baseToZframe>
84+
85+
</appendage>
86+
</root>

limbOptions.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,17 @@
3232
batteryPeakWatt:1.28
3333
}
3434
},
35+
{
36+
name:"Servo Fixed Wheel",
37+
type:wheel,
38+
url:"https://github.com/CommonWealthRobotics/BowlerStudioExampleRobots.git",
39+
file:"defaultFixedServo.xml",
40+
consumes:{
41+
servoChannels:2,
42+
voltages:[3.7,5,6],
43+
batteryPeakWatt:1.28
44+
}
45+
},
3546
{
3647
name:"Vex Fixed Wheel",
3748
type:wheel,

0 commit comments

Comments
 (0)