- Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathProgram.cs
More file actions
Latest commit
23 lines (21 loc) · 729 Bytes
/
Copy pathProgram.cs
File metadata and controls
23 lines (21 loc) · 729 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
usingSystem;
usingSystem.Windows.Forms;
namespaceUseArm
{
classMainClass
{
publicstaticvoidMain(string[]args)
{
/*ArmMotorController a = new ArmMotorController();
a.MoveMotors();*/
constdoubleDegToRad=Math.PI/180.0;
Arma=newArm((0,0,Math.PI/2,Math.PI/2,-4*Math.PI,4*Math.PI,6.8),
(0,0,-76*DegToRad,100*DegToRad,0,0,28.0),
(0,0,-168.51*DegToRad,-10*DegToRad,0,0,28.0),
(0,12.75,-Math.PI/2,Math.PI/2));
varVis=newArmVisualizer(a);
Vis.Show();
Application.Run(Vis);
}
}
}