Quantcast
Channel: Tellingmachine - Robotics
Viewing all articles
Browse latest Browse all 2

Dice Playing Robot

$
0
0

Introduction

This fall semester I took a intermediate robotics class at the Saddleback Community College. I had big ambitions and came up with all kinds of project ideas. At the end I ran out of time to build something really phenomenal. But at least I completed the little application that is the topic of this blog post.

Dice Playing Robot

Figure 1: Dice playing robot

Building instructions

There is not a lot of additional material required to build this little demo project.

Parts needed

The-Making-of the AL5C robotic arm movie

I took photos of each step during the building process and combined them into a face paced slideshow movie.

Playing Dice Movie

This movie shows the robot in action.

Control Program

You need two files to run this program. First you have to load RIOS SSC32 with the attached calibration file and then you need to import the RIOS SSC32 instructions from the CSV file.

Calibration Data

The calibration data is contained in a file called: ConfigSSC32AL5C.cfg. The content of this file is listed here:

true
true
4
481
1
895
-90
90
true
false
4
490
95
700
-90
90
true
true
4
471
186
943
-65
90
true
false
4
514
1
1000
-90
90
true
true
4
486
200
786
20
90
true
false
4
519
1
1000
-65
65
true
false
4
500
50
950
-90
90
true
false
4
500
50
950
-90
90
128
128
128
128

RIOS SSC32 Instructions

Here are the instructions for the dice playing robot. I exported them into a CSV file.

PROJECT;SEQUENCE;STEP;MOVEKIND;OUTPUT;INPUT;COUNTER1;COUNTER2;COUNTER3;COUNTER4;COUNTER5;COUNTER6;COUNTER7;COUNTER8;INP_ACTION;DISTANC
E;XPOS;YPOS;ZPOS;BASE;SHOULDER;ELBOW;WRIST;WRISTROT;WRISTTABLE;GRIP;EXTRA7;RATE7;EXTRA8;RATE8;LIFT;SPEED;PAUSE;INFO1;INFO2
4DicePlayingRobot;000001;000001;0;;;;;;;;;;;;6.9108047490;6.8724370000;14.6829195020;0.7272062300;6.0403000000;90.0000000000;-54.35270
00000;-39.0090000000;2.5375000000;-3.3556000000;54.0444000000;0.0000013400;4;0.0000013400;4;0;75;;;
4DicePlayingRobot;000002;000001;0;;;;;;;;;;;;23.8733978270;23.8639640810;31.3291358950;0.6710574630;1.6107000000;-9.0744000000;50.8917
000000;-45.3153000000;2.4074000000;-3.3556000000;75.0683000000;0.0000013400;4;0.0000013400;4;0;75;;;
4DicePlayingRobot;000003;000001;0;;;;;;;;;;;;21.2880744930;21.2544345860;2.1079392430;-1.1962989570;-3.2215000000;-20.9752000000;-15.8
587000000;-33.7838000000;27.7828000000;-70.5556000000;79.7270000000;0.0000013400;4;0.0000013400;4;0;75;;;
4DicePlayingRobot;000004;000001;0;;;;;;;;;;;;21.2880744930;21.2355194090;2.1079392430;1.4949314590;4.0268000000;-20.9752000000;-15.858
7000000;-33.7838000000;27.7828000000;-70.5556000000;37.0819000000;0.0000013400;4;0.0000013400;4;0;75;;;
4DicePlayingRobot;000005;000001;0;;;;;;;;;;;;12.1220493320;12.1112728120;20.8207054140;0.5110238190;2.4161000000;28.1157000000;4.61690
00000;-82.4324000000;6.9620000000;-49.6447000000;36.9625000000;0.0000013400;4;0.0000013400;4;0;75;;;
4DicePlayingRobot;000006;000001;0;;;;;;;;;;;;21.1274490360;18.8616313930;18.9891967770;9.5188236240;26.7785000000;-0.7438000000;19.154
6000000;-69.6396000000;8.2633000000;-51.1928000000;36.9625000000;0.0000013400;4;0.0000013400;4;0;75;;;
4DicePlayingRobot;000007;000001;0;;;;;;;;;;;;21.1416225430;18.8742847440;18.9337692260;9.5252094270;26.7785000000;-0.7438000000;18.949
8000000;-69.4595000000;8.2633000000;-51.1928000000;80.9215000000;0.0000013400;4;0.0000013400;4;0;75;;;
4DicePlayingRobot;000008;000001;0;;;;;;;;;;;;23.8733978270;23.8639640810;31.3291358950;0.6710574630;1.6107000000;-9.0744000000;50.8917
000000;-45.3153000000;2.4074000000;-3.3556000000;75.0683000000;0.0000013400;4;0.0000013400;4;0;75;;;
4DicePlayingRobot;000009;000001;0;;;;;;;;;;;;30.2263793950;29.6007270810;1.7728811500;6.1180849080;11.6779000000;-54.5950000000;40.039
6000000;-60.8108000000;-15.8108000000;-75.3556000000;75.0683000000;0.0000013400;4;0.0000013400;4;0;75;;;
4DicePlayingRobot;000010;000001;0;;;;;;;;;;;;29.8135528560;29.4738349910;5.3849124910;4.4878740310;8.6577000000;-45.0744000000;35.5350
000000;-59.9099000000;-15.8108000000;-69.3556000000;75.0683000000;0.0000013400;4;0.0000013400;4;0;75;;;
4DicePlayingRobot;000011;000001;0;;;;;;;;;;;;30.6404361720;30.2234725950;2.9826607700;5.0376610760;9.4631000000;-51.0248000000;36.9683
000000;-55.4054000000;-15.8108000000;-69.3556000000;48.6689000000;0.0000013400;4;0.0000013400;4;0;75;;;
4DicePlayingRobot;000012;000001;0;;;;;;;;;;;;12.1220493320;12.1112728120;20.8207054140;0.5110238190;2.4161000000;28.1157000000;4.61690
00000;-82.4324000000;6.9620000000;-49.6447000000;36.9625000000;0.0000013400;4;0.0000013400;4;0;75;;;
4DicePlayingRobot;000013;000001;0;;;;;;;;;;;;21.1274490360;18.8616313930;18.9891967770;9.5188236240;26.7785000000;-0.7438000000;19.154
6000000;-69.6396000000;8.2633000000;-51.1928000000;36.9625000000;0.0000013400;4;0.0000013400;4;0;75;;;
4DicePlayingRobot;000014;000001;0;;;;;;;;;;;;21.1416225430;18.8742847440;18.9337692260;9.5252094270;26.7785000000;-0.7438000000;18.949
8000000;-69.4595000000;8.2633000000;-51.1928000000;80.9215000000;0.0000013400;4;0.0000013400;4;0;75;;;
4DicePlayingRobot;000015;000001;0;;;;;;;;;;;;23.8733978270;23.8639640810;31.3291358950;0.6710574630;1.6107000000;-9.0744000000;50.8917
000000;-45.3153000000;2.4074000000;-3.3556000000;75.0683000000;0.0000013400;4;0.0000013400;4;0;75;;;
4DicePlayingRobot;000016;000001;0;;;;;;;;;;;;29.6039905550;29.4898223880;7.4806351660;-2.5974292760;-5.0336000000;-45.9669000000;45.56
80000000;-72.7027000000;11.5165000000;-72.9556000000;75.0683000000;0.0000013400;4;0.0000013400;4;0;75;;;
4DicePlayingRobot;000017;000001;0;;;;;;;;;;;;29.5699234010;29.4558868410;3.2880332470;-2.5944402220;-5.0336000000;-48.3471000000;34.10
17000000;-58.8288000000;5.6607000000;-72.9556000000;75.0683000000;0.0000013400;4;0.0000013400;4;0;75;;;
4DicePlayingRobot;000018;000001;0;;;;;;;;;;;;29.9172821040;29.8639144900;2.9941253660;-1.7861788270;-3.4228000000;-50.1322000000;36.14
93000000;-59.0090000000;13.9890000000;-72.9556000000;20.0000000000;0.0000013400;4;0.0000013400;4;0;75;;;
4DicePlayingRobot;000019;000001;0;;;;;;;;;;;;12.1220493320;12.1112728120;20.8207054140;0.5110238190;2.4161000000;28.1157000000;4.61690
00000;-82.4324000000;6.9620000000;-49.6447000000;36.9625000000;0.0000013400;4;0.0000013400;4;0;75;;;
4DicePlayingRobot;000020;000001;0;;;;;;;;;;;;21.1274490360;18.8616313930;18.9891967770;9.5188236240;26.7785000000;-0.7438000000;19.154
6000000;-69.6396000000;8.2633000000;-51.1928000000;36.9625000000;0.0000013400;4;0.0000013400;4;0;75;;;
4DicePlayingRobot;000021;000001;0;;;;;;;;;;;;21.1416225430;18.8742847440;18.9337692260;9.5252094270;26.7785000000;-0.7438000000;18.949
8000000;-69.4595000000;8.2633000000;-51.1928000000;80.9215000000;0.0000013400;4;0.0000013400;4;0;75;;;
4DicePlayingRobot;000022;000001;0;;;;;;;;;;;;23.8733978270;23.8639640810;31.3291358950;0.6710574630;1.6107000000;-9.0744000000;50.8917
000000;-45.3153000000;2.4074000000;-3.3556000000;75.0683000000;0.0000013400;4;0.0000013400;4;0;75;;;
4DicePlayingRobot;000023;000001;0;;;;;;;;;;;;28.0240135190;26.7245082860;2.0343966480;-8.4348087310;-17.5168000000;-44.4793000000;22.6
354000000;-52.3423000000;34.2893000000;-74.1556000000;75.0683000000;0.0000013400;4;0.0000013400;4;0;75;;;
4DicePlayingRobot;000024;000001;0;;;;;;;;;;;;28.0240135190;26.7245082860;2.0343966480;-8.4348087310;-17.5168000000;-44.4793000000;22.6
354000000;-52.3423000000;34.2893000000;-74.1556000000;26.3311000000;0.0000013400;4;0.0000013400;4;0;75;;;
4DicePlayingRobot;000025;000001;0;;;;;;;;;;;;12.1220493320;12.1112728120;20.8207054140;0.5110238190;2.4161000000;28.1157000000;4.61690
00000;-82.4324000000;6.9620000000;-49.6447000000;36.9625000000;0.0000013400;4;0.0000013400;4;0;75;;;
4DicePlayingRobot;000026;000001;0;;;;;;;;;;;;21.1274490360;18.8616313930;18.9891967770;9.5188236240;26.7785000000;-0.7438000000;19.154
6000000;-69.6396000000;8.2633000000;-51.1928000000;36.9625000000;0.0000013400;4;0.0000013400;4;0;75;;;
4DicePlayingRobot;000027;000001;0;;;;;;;;;;;;20.2570285800;19.1386718750;15.2293291090;6.6376547810;19.1275000000;5.2066000000;-0.7067
000000;-55.7658000000;8.2633000000;-51.1928000000;80.9215000000;0.0000013400;4;0.0000013400;4;0;75;;;
4DicePlayingRobot;000028;000001;0;;;;;;;;;;;;22.4489650730;21.4549388890;9.6847534180;6.6061792370;17.1141000000;-10.8595000000;0.1123
000000;-53.7838000000;8.2633000000;-64.3928000000;80.9215000000;0.0000013400;4;0.0000013400;4;0;75;;;
4DicePlayingRobot;000029;000001;0;;;;;;;;;;;;22.4489650730;21.4549388890;9.6847534180;6.6061792370;17.1141000000;-10.8595000000;0.1123
000000;-53.7838000000;8.2633000000;-64.3928000000;20.0000000000;0.0000013400;4;0.0000013400;4;0;75;;;
4DicePlayingRobot;000030;000001;0;;;;;;;;;;;;21.4771823880;21.4766521450;19.0639381410;-0.1509436070;-0.4027000000;-11.4545000000;36.1
493000000;-89.0991000000;8.2633000000;-64.3928000000;20.0000000000;0.0000013400;4;0.0000013400;4;0;75;;;
4DicePlayingRobot;000031;000001;0;;;;;;;;;;;;21.4667987820;21.4662685390;19.0382385250;-0.1508706360;-0.4027000000;13.2397000000;-25.0
727000000;17.0270000000;8.2633000000;5.2072000000;20.0000000000;0.0000013400;4;0.0000013400;4;0;75;;;
4DicePlayingRobot;000032;000001;0;;;;;;;;;;;;21.5195655820;21.5190334320;28.2651329040;-0.1512414810;-0.4027000000;9.9669000000;12.192
9000000;-17.0270000000;8.2633000000;5.2072000000;20.0000000000;0.0000013400;4;0.0000013400;4;0;75;;;
4DicePlayingRobot;000033;000001;0;;;;;;;;;;;;21.4689159390;21.4683856960;19.8421745300;-0.1508855070;-0.4027000000;13.8347000000;-22.4
108000000;13.6036000000;8.2633000000;5.2072000000;20.0000000000;0.0000013400;4;0.0000013400;4;0;75;;;
4DicePlayingRobot;000034;000001;0;;;;;;;;;;;;21.4689159390;21.4683856960;19.8421745300;-0.1508855070;-0.4027000000;13.8347000000;-22.4
108000000;13.6036000000;-55.2402000000;5.2072000000;20.0000000000;0.0000013400;4;0.0000013400;4;0;75;;;
4DicePlayingRobot;000035;000001;0;;;;;;;;;;;;25.4245834350;25.4231700900;28.4774169920;-0.2680269780;-0.6040000000;-3.7190000000;15.87
85000000;8.5586000000;-55.2402000000;20.8072000000;20.0000000000;0.0000013400;4;0.0000013400;4;0;75;;;
4DicePlayingRobot;000036;000001;0;;;;;;;;;;;;22.3850841520;22.3828735350;18.1587848660;-0.3146415650;-0.8054000000;-11.4545000000;31.6
447000000;-81.7117000000;-55.2402000000;-61.3568000000;20.0000000000;0.0000013400;4;0.0000013400;4;0;75;;;
4DicePlayingRobot;000037;000001;0;;;;;;;;;;;;21.0600452420;21.0579643250;34.8777847290;-0.2960170210;-0.8054000000;-17.4050000000;32.6
684000000;66.5766000000;-55.2402000000;82.0072000000;20.0000000000;0.0000013400;4;0.0000013400;4;0;75;;;
4DicePlayingRobot;000038;000001;0;;;;;;;;;;;;21.4069843290;21.4057941440;20.7473583220;-0.2256732880;-0.6040000000;-11.1570000000;41.2
682000000;-90.0000000000;5.2703000000;-59.8889000000;20.0000000000;0.0000013400;4;0.0000013400;4;0;75;;;
4DicePlayingRobot;000039;000001;0;;;;;;;;;;;;21.2064476010;19.9613075260;14.2460975650;7.1595840450;19.7315000000;-2.8264000000;6.6645
000000;-63.8739000000;20.2352000000;-59.8889000000;20.0000000000;0.0000013400;4;0.0000013400;4;0;75;;;
4DicePlayingRobot;000040;000001;0;;;;;;;;;;;;21.2064476010;19.9613075260;14.2460975650;7.1595840450;19.7315000000;-2.8264000000;6.6645
000000;-63.8739000000;20.2352000000;-59.8889000000;62.0478000000;0.0000013400;4;0.0000013400;4;0;75;;;
4DicePlayingRobot;000041;000001;0;;;;;;;;;;;;21.4069843290;21.4057941440;20.7473583220;-0.2256732880;-0.6040000000;-11.1570000000;41.2
682000000;-90.0000000000;-55.2402000000;-59.8889000000;20.0000000000;0.0000013400;4;0.0000013400;4;0;75;;;
4DicePlayingRobot;000042;000001;0;;;;;;;;;;;;3.9352540970;3.8964414600;12.5784711840;0.5513331890;8.0537000000;90.0000000000;-44.31970
00000;-74.5045000000;2.5375000000;-28.7996000000;81.6382000000;0.0000013400;4;0.0000013400;4;0;75;;;

Download

The RIOS SSC32 export file and the configuration file can be downloaded here: ConfigSSC32AL5C.zip

Ausblick

At least I got this little project done, which can potentially serve as a proof of concept for a much more advanced application. I was thinking about having the robot pick the dice up with the help of computer vision. Then AL5C would be truly able to play any kind of dice game with me. The other apps that I was considering was a CD changing robot and a robot that would pickup a telephone and dial a number. Let's see how far I get with these ideas."


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images