I nte rna t io na l J o urna l o f   Ro bo t ics a nd   Aut o m a t io n   ( I J RA )   Vo l.   5 ,   No .   4 Dec em b er   201 6 ,   p p .   230 ~ 236   I SS N:  2089 - 4856           230       J o ur na l ho m ep a g e h ttp : //ia e s jo u r n a l.c o m/o n lin e/in d ex . p h p /I J RA   Dev elo p m e nt  o f  T ea ch P end ent  bas ed Robo tic  Ar m   f o r Draw ing   using  Mecha troni cs Appro a ch       H a rik ri s hn a n M a dh us u da na n   De p a rtme n o f   M e c h a tro n ics   E n g in e e rin g ,   S RM   U n iv e rsity ,   Ch e n n a i,   In d ia       Art icle  I nfo     AB ST RAC T   A r ticle  his to r y:   R ec eiv ed   Au g   27 ,   2 0 1 6   R ev i s ed   Oct  2 9 ,   2 0 1 6   A cc ep ted   No v   1 3 ,   2 0 1 6       T h e   m a in   sc o p e   o f   th is  p ro jec is  to   u se   m e c h a tro n ics   a p p r o a c h   t o   d e sig n   a n d   d e v e lo p   a   c o m p lete   h u m a n o id   ro b o ti c   a rm   w h ich   c a n   b e   u se d   to   d ra d if fe re n f i g u re s.  A   m e c h a tro n ic  a p p r o a c h   is  b a sic a ll y   a   s y n e rg isti c   c o m b in a ti o n   o f   m e c h a n ica l,   e lec t rica a n d   c o n tr o sy ste m su c h   th a e a c h   a n d   e v e r y   sta g e   o f   th e   p ro d u c li f e   c y c le  o f   th e   f in a p ro d u c g e ts  o p ti m is e d .   S o ,   th is  a p p r o a c h   w h ich   is  u se d   in   th is  p ro jec w o u ld   e n s u re   th a th e   r o b o ti c   a rm   w h ich   w o u ld   b e   t h e   f in a p ro d u c t   w o u ld   h a v e   it d e sig n   m e tri c o p ti m ise d   a t   e a c h   a n d   e v e r y   sta g e   o f   it d e v e lo p m e n c y c l e .   T h e   m o ti v e   o f   d e v e l o p i n g   th is   a r m   is  to   e n su re   th a th e   f in a a rm   w h ich   is  p ro d u c e d   c o u ld   b e   e a sily   a tt a c h e d   to   th e   c o m p lete   h u m a n o id   r o b o t   a n d   w o u ld   e n a b le  it   to   d ra w   a n y   k in d   o f   c o m p lex   f ig u re s u sin g   h ig h ly   a c c u ra te t e a c h   p e n d e n m e c h a n ism .       K ey w o r d :   C o n tr o a r ch itect u r es a n d   p r o g r am m i n g   E n ter tain m e n r o b o tics   L ea r n i n g   an d   a d ap tiv s y s te m s   P h y s ical  h u m a n - r obot   i n ter ac tio n   T ea ch   p en d en t b ased   s y s te m s .   Co p y rig h ©   201 6   In s t it u te o A d v a n c e d   E n g i n e e rin g   a n d   S c ien c e   Al rig h ts  re se rv e d .   C o r r e s p o nd ing   A uth o r :   Har ik r is h n a n   Ma d h u s u d an a n ,   Dep ar t m en t o f   Me ch atr o n ics  E n g i n ee r i n g ,   SR U n i v er s it y   C h en n ai,   I n d i a ,   E m ail:  h ar i_ m ad h u s u d h an a n @ s r m u n i v . ed u . i n         1.   I NT RO D UCT I O N   Hu m an o id   r o b o ts   ar b ec o m i n g   q u ite  p o p u lar   n o w   d a y .   Hu m an o id s   ar n o t h in g   b u h u m a n   li k e   r o b o ts   w h ic h   is   ca p ab le  o f   ex h ib iti n g   co m p le x   ac tio n s   w h ic h   h u m a n   is   ca p ab le  o f   d o in g .   T h ar m   is   o n o f   th m o s i m p o r tan p ar o f   th e   h u m a n o id   r o b o as  w it h o u it   th r o b o ca n n o b ca lled   h u m a n o id   its el f   as   su c h .   T h ar m   s h o u ld   b ca p ab le  o f   ca r r y in g   o u m o s o f   th co m p le x   ac tiv i ties   as  s u ch   p ick i n g   o b j ec ts ,   h o ld in g ,   w r iti n g ,   d r a w in g   et c.   Dr a w in g   is   co n s id er ed   as   v ital   p ar o f   h u m an o id   a ctiv itie s   b ec a u s e,   it   in v o l v es  lo o f   p lan n in g   a n d   ac tu atio n   i n v o l v ed   u n li k o th er   ac tiv ities .   So ,   i n   th is   p ap er   th d etailed   id ea   ab o u h o w   r o b o tic  ar m   ca n   b d ev elo p ed   u s in g   m ec h a tr o n ics  ap p r o ac h   w h ich   w o u l d   s tate  m ec h a n ical,   elec tr ical  an d   p r o g r a m m in g   as p ec ts   o f   d esig n   is   co v er ed .   T h m eth o d s   w h ich   ar u s ed   t o   in co r p o r ate  th d r a w in g   p r o ce d u r u s in g   r o b o tic  ar m   co n s id er   r ea l   ti m s ce n ar io s .   T h at  i s ,   w h ile  teac h i n g   p er s o n   o r   s m all  c h ild   to   d r a w   a n   u n k n o w n   f i g u r e,   w u s u all y   teac h   th e m   m a n u a ll y   b y   h o ld in g   th eir   h an d s   an d   d r a w i n g   alo n g   w it h   t h e m   o r   w j u s s h o w   t h e m   h o w   th f i g u r e   w h ic h   is   to   b d r a w n   lo o k s   an d   m a k t h e m   p r ac tis t h f ig u r es  u n til  th e y   g et  p er f ec tio n .   A   s i m ilar   p r o ce d u r is   in v o lv ed   i n   th p r o g r a m m i n g   a s p ec o f   o u r   r o b o to o .   T h b asic  o p er atio n   m o d w h i ch   w ill  b u s ed   to   en ab le  t h r o b o to   d r a w   f i g u r es  is   t h teac h   p en d e n b ased   m ec h a n i s m   i n   w h ic h   t h u s er   w il h av e   to   teac h   th h u m an o id   r o b o t h o w   to   d r a w   b y   h o ld in g   t h r o b o t h an d   an d   d r a w   alo n g   w it h   it.   T h is   en tire   p ap er   is   s tr u ct u r ed   in   t h f o llo w in g   w a y .   T h s e ctio n   I I   d etails  t h m ec h a n ical   asp e cts  o f   th r o b o tic  ar m   d esig n   an d   also   co v er s   t h ac t u ato r   p lace m en t   d etails.   T h s ec ti o n   I I I   co v er s   t h e   i m p le m en ta tio n   o f   th p r o g r a m m in g   asp ec th at  i s   u s i n g   th teac h   p en d an m et h o d .   T h s ec tio n   I d is cu s s es   ab o u t th co n cl u s io n   an d   t h f u tu r e n h a n ce m e n ts   y et  to   b m ad in   t h is   p r o j ec t.   Evaluation Warning : The document was created with Spire.PDF for Python.
IJ RA   I SS N:  2089 - 4856       Dev elo p men t o f Tea ch   P e n d en t b a s ed   R o b o tic  A r fo r   Dra w in g   u s in g   . . .   ( Ha r ikri s h n a n   M. )   231   2.   DE S I G CO NCEP T   O F   RO B O T I ARM     Fo r   s u cc e s s f u ac tu a tio n   alo n g   a ll  r eq u ir ed   d ir ec tio n s   f o r   d r a w in g ,   m i n i m u m   o f   t h r ee   d eg r ee   o f   f r ee d o m   ar m   i s   r eq u ir ed   f o r   d r a w in g   s i m p le  u n ip lan ar   2 - f ig u r es  [ 1 ] .   I n   t h is   p r o j ec t   t h r ee   d eg r ee   o f   f r ee d o m   ar m   h as  b ee n   d e v el o p ed   in itiall y   i n   o r d er   to   test   th p r o g r a m m i n g   i m p le m e n t atio n .   T h o v er all  s ch e m atic  o f   t h r o b o tic  ar m   i s   as s h o w n   i n   th Fig u r 1 .         Fig u r 1 .   C A m o d el  o f   t h b asic r o b o tic  ar m   d ev elo p ed   in i tiall y   f o r   test i n g   t h p r o g r a m m in g   i m p le m en ta tio n .       T h b ase  m o to r   h as  b ee n   u s ed   f o r   s h o u ld er   r o tatio n   in   t h ac tu al  h u m a n o id   r o b o t.  T h m o to r   attac h ed   to   th b ase  m o to r   is   u s ed   f o r   li f ti n g   th e n d   ef f ec t o r   w h ic h   i s   th d r a w i n g   eq u ip m en a w a y   f r o m   t h e   d r a w in g   p la n e.   Ho w e v er ,   t h ac tu al  r o b o tic  ar m   w o u ld   b m u c h   m o r co m p le x   an d   w o u ld   h a v m an y   m o r e   ad d ed   d eg r ee s   o f   f r ee d o m .   T h is   t h r ee   d eg r ee   o f   f r ee d o m   ar m   is   q u i te  s u f f icie n to   i m p le m en o u r   p r o j ec t   s p ec if ic  p u r p o s an d   tes t th p r o g r a m   f u n ctio n al it y .   T h Dy n a m i x el  M X - 6 4 T   s er v o   ac tu ato r s   ar u s ed   i n   all  t h th r ee   j o in ts .   T h ese  s er v o s   ar ch o s en   s p ec if icall y   b ec au s t h s h a f p o s itio n al  f ee d b ac k   o f   t h s er v o   en co d er   is   q u i te  p r ec is an d   ac cu r ate,   w h ic h   i s   v er y   e s s e n tial   f o r   teac h   p en d en i m p le m en tatio n .   Mo r eo v er ,   it  ca n   p r o v id s tall  to r q u ar o u n d   6 . 4   N m   w h ic h   also   s ati s f ies t h ac tu a l r eq u ir e m en t.   T h lin k s   ar m ad u s i n g   alu m i n iu m   6 0 6 1   T - 6   g r ad allo y   m ater ial  o f   1 . 2 m m   t h ick n es s .   T h ac tu al  ar m   u s ed   in   th p r o j ec t is as sh o w n   in   t h Fig u r 2 .         Fig u r e   2 .   A ct u al  r o b o tic  ar m   a ttach ed   w it h   p en   as its   e n d   ef f ec to r ,   u s ed   f o r   test i n g   th d e v elo p ed   p r o g r am .       T h o v er all  s y s te m   elec tr ical   s ch e m atic   o f   t h r o b o ti ar m   i s   as  d ep icted   i n   t h Fi g u r e   3 .   T h R asp b er r y   P i 2   m o d el  B   h as b ee n   u s ed   as   ce n tr al  p r o ce s s o r   r u n n i n g   R a s p b ian   W h ee z y   s y s te m   s o f t w ar w it h   P y t h o n   lib r ar ies  i n s tal led   in   it   [ 7 ] .   A   s tan d ar d   SMP is   u s e d   to   p r o v id r eg u lated   p o w er   s u p p l y   to   v ar io u s   co m p o n e n t s   o f   t h s y s te m s .   Var io u s   i n p u a n d   o u tp u co m p o n en ts   s u c h   as  k e y b o ar d ,   m o u s an d   m o n i to r   d is p la y   h as  a l s o   b ee n   co n n e cted   to   th ce n tr al  p r o ce s s o r .   T h Dy n a m i x el  s er v o   m o t o r s   ar c o n n ec ted   s eq u en tiall y   a s   s h o w n   i n   th F ig u r e   3 ,   w i th   o n a n o th er .   On en d   o f   th s er v o   p o r is   d ir e ctl y   in ter f ac ed   w it h   th ce n tr al  p r o ce s s o r   th r o u g h   th USB   to   Ser ial  co n v er ter   d ev ice  [ 4 ] .   T h p o w er   s u p p l y   i s   co n n ec ted   to   th e   o th er   en d   p o r t o f   th s er v o .   I n   o r d er   to   u n d er s tan d   th d ata  an d   p o w er   tr an s m is s io n   w it h i n   th s er v o   s er ies  t h e   ex p lo d ed   v ie w   o f   th i n ter n a l c o n n ec tio n   d i ag r a m   is   as s h o wn   in   t h Fi g u r e   4.   Evaluation Warning : The document was created with Spire.PDF for Python.
                      I SS N :   2 0 8 9 - 4856   IJ RA    Vo l.   5 ,   No .   4 Dec em b er   201 6 :   2 3 0     2 3 6   232     Fig u r 3 .   Ov er all  elec tr ical  s y s te m   s ch e m atic  o f   th r o b o tic  ar m           Fig u r 4 .   I n ter n al  co n n ec tio n   d iag r a m   o f   D y n a m ix el  s er ies  m o to r   an d   in ter f ac w it h   ad j ac en m o to r s .       T h d ata  is   s er iall y   tr an s m itt ed   in   b et w ee n   t h ad j ac en s er v o   m o to r s   an d   th e   p o w er   s u p p l y   i s   p r o v id ed   at  o n en d   o f   th s er ies  o f   m o to r   co n n ec tio n   as   s h o w n   i n   th Fi g u r e   4 .   So ,   th ese  s m ar s er v o s   co n s id er ab l y   r ed u ce s   th co n n ec t io n   a n d   in ter f ac i n g   i n   b et w ee n   v ar io u s   m o to r s   an d   m o r eo v er   th d ata   tr an s m is s io n   b et w ee n   v ar io u s   m o to r s   i s   ca r r ied   o u u s in g   s p ec if ic  I D   p r o v id ed   f o r   ea c h   a n d   ev er y   m o to r   co n n ec ted   i n   th s er ies  w h ic h   m ak e s   it  m u ch   m o r ef f icie n in   ter m s   o f   p r o g r a m m in g   to   h an d le  th e s m o to r s   [ 2 ] .       3.     I M P L E M E NT AT I O O F   T E A CH   P E ND E NT   M O DE   Usi n g   th i s   m et h o d ,   ev e n   co m p lex   f ig u r ca n   b m ad to   d r a w   b y   th e   r o b o v er y   clea r l y   a n d   th e   ac cu r ac y   m o s tl y   d ep en d s   u p o n   th u s er   an d   n o t h r o b o in   th is   ca s b ec a u s e,   t h u s er   i s   g o i n g   to   h o ld   th e   r o b o t’ s   h a n d   a n d   teac h   w h at  h as  to   b d r a w n   an d   th e   r o b o ju s t   r ep ea ts   e x ac tl y   w h at  e v er   h as  b ee n   ta u g h t   [ 3 ] So   o v er all,   th is   m et h o d   o p er at es in   t w o   s ta g es  w h ic h   ar as e x p lain ed   i n   th f o llo w i n g .   T h f ir s s ta g o f   o p er atio n   is   th R ea d   Mo d e,   in   w h ic h   th e   r o b o is   in   t h r ec o r d in g   s tate  an d   w ait s   f o r   th e   u s er   to   teac h   i t.  A s   t h u s er   h o ld s   its   ar m   an d   m o v es  ar o u n d   th e   f ig u r to   b d r a w n ,   it   co n ti n u o u s l y   r ec o r d s   ea ch   an d   ev er y   p o s it io n   o f   t h s er v o   m o to r   s h af t a n d   co n tin u o u s l y   s to r es it i n   d ata b ase.   T h p o s itio n   r ea d   co m m a n d   is   m ad to   e x ec u te  a f ter   ev er y   5 0 0   m illi s ec o n d s   in ter v al  to   en s u r t h at  th ac c u r ac y   i en h a n ce d   ev e n   th o u g h   t h s p e ed   m i g h t g e t c o m p r o m is ed .   Af ter   th e n tire   f i g u r is   tau g h b y   t h u s er ,   th R ea d   Mo d is   co m p lete.   T h n ex s ta g o f   o p er atio n   in   t h is   m o d is   th R ep ea M o d in   w h ic h   t h ta u g h f i g u r is   r ep r o d u ce d   ag ain   b y   t h r o b o o n ly   t h is   ti m e   w it h o u t h h elp   o f   th e   u s er .   T h r ec o r d ed   p o s itio n s   ar f ed   s eq u en tiall y   to   t h m o to r s   f r o m   th e   d atab ase   w h ic h   co n tai n s   t h r ec o r d ed   p o s itio n s   f r o m   th e   p r ev io u s   R e ad   Mo d [ 6 ] .   A n   ex a m p le  ca s in   w h ic h   t h m ap   o f   I n d ia  is   m ad to   b d r aw n   b y   th r o b o t a cc u r atel y   u s i n g   th i s   m et h o d   is   as s h o w n   in   t h F ig u r e   5.   Usi n g   t h is   m et h o d   ev e n   co m p lex   f ig u r es  w h ic h   ar d if f icu lt   to   b p r o g r a m m ed   i s   ea s il y   r ep r o d u ce d   b y   t h r o b o t.  C o m b in atio n s   o f   s ev er al  f ig u r es  ar also   p o s s i b le  th r o u g h   t h is   m et h o d .   T h at  is   b y   teac h in g   t h d r a w in g   p r o ce d u r f o r   s i m p le  f i g u r es  s u c h   a s   b asic  s h ap es  a n d   s tr u ct u r es,  co m p le x   f i g u r es   w h ic h   ar u s u all y   Evaluation Warning : The document was created with Spire.PDF for Python.
IJ RA   I SS N:  2089 - 4856       Dev elo p men t o f Tea ch   P e n d en t b a s ed   R o b o tic  A r fo r   Dra w in g   u s in g   . . .   ( Ha r ikri s h n a n   M. )   233   co m b in atio n s   o f   th e s b asi s h ap es  a n d   s tr u ct u r es  ca n   b f o r m ed   u s in g   C o n s tr u cti v So lid   Geo m etr y   ( C SG) .   So ,   w h e n e v er   co m p lex   f i g u r h a s   to   b d r aw n   b y   th r o b o w h ich   i s   u s u a ll y   d if f ic u lt  to   b i m p le m en ted   u s i n g   t h v i s u al   p er ce p tio n   m et h o d ,   th is   teac h es   p en d en m o d is   h i g h l y   p r ef er r ed   as  th b est   m et h o d .           Fig u r e   5 .   Ma p   o f   I n d ia  r ep r o d u ce d   u s i n g   teac h   p e n d en m o d b y   t h h u m an o id   r o b o tic  ar m       T h en tire   p r o j ec t h as b ee n   i m p le m en ted   u s i n g   P y th o n   i n   L in u x   b ased   o p er atin g   s y s te m .   T h en tire   f lo w ch ar o r   th s eq u en ce   o f   p r o g r am   f lo w   f r o m   th b e g in n in g   f o r   v er y   b asic  R ea d   a n d   R ep ea o p er atio n   m o d h as b ee n   d ep icted   in   t h e   Fig u r 6 .   I n   th v er y   b eg in n i n g   t h p r o g r a m   p r o m p ts   t h u s er   to   en te r   th m o d w h ic h   h as  to   b ex ec u ted .   I n   th R ea d   m o d e,   th to r q u o f   all  th m o to r s   ar s w itc h ed   o f f   an d   t h en co d er   v al u es  ar f ed   b ac k   to   th e   s y s te m   w h ic h   is   co n ti n u o u s l y   s to r ed   in   d atab ase.   T h in ter v al  af ter   w h ich   t h v al u es  h a v to   b e   r ec o r d ed   is   d eter m in ed   b ef o r ex ec u ti n g   t h R ea d   m o d e.   I n   id ea ca s e,   5 0 0   m illi s ec o n d s   d ela y   w as  f o u n d   to   b s u f f icie n t   to   r ep r o d u ce   d ec en t f ig u r li k as s h o w n   i n   i n   Fi g u r 5         Fig u r   6 .   T h is   f lo w c h ar t d ep icts   th f lo w   o f   p r o g r a m   p r o ce d u r to   i m p le m e n t t h T ea ch   p en d en m o d i n   th r o b o tic  ar m   T h p r o g r a m   co d w h ic h   is   u s ed   to   im p le m e n t h ab o v f lo w c h ar is   as  ex p lai n ed   in   t h f o llo w i n g .   T h p r o g r am m in g   la n g u a g u s ed   is   P y th o n   v er s io n   2 . 7 .   So m o f   t h p r eb u ilt  lib r ar ies  s u ch   as  lib _ r o b o tis   an d   lib _ d y n a m ix el   w h ich   ar u til i ze d   f o r   in ter f ac in g   t h D y n a m i x el  MX - 6 4 T   s m ar s er v o s   w it h   P y t h o n   w it h   t h h elp   o f   USB 2 D y n a m i x el  s er ia l c o n v er to r   ar d o w n lo ad ed   b ef o r eh an d .   Evaluation Warning : The document was created with Spire.PDF for Python.
                      I SS N :   2 0 8 9 - 4856   IJ RA    Vo l.   5 ,   No .   4 Dec em b er   201 6 :   2 3 0     2 3 6   234   #   P r o g r a m   co d f o r   im p le m e n t in g   r ea d   m o d e   f r o m lib _ r o b o tis   i m p o r *   d= USB 2 Dy n a m i x el_ Dev ice( ' / d ev /tt y USB 0 ' )   #   USB 2 Dy n a m ix e l a ttach ed   to   USB 0   p o r t   i m p o r t ti m e   m 1 = R o b o tis _ Ser v o ( d , 7 )   #   Ser v o   id   7   m 2 = R o b o tis _ Ser v o ( d , 9 )   #   Ser v o   id   9   m 3 = R o b o tis _ Ser v o ( d , 1 1 )   #   Se r v o   id   1 1   m 1 a= m 1 . r ea d _ an g le( )   m 2 a= m 2 . r ea d _ an g le( )   m 3 a= m 3 . r ea d _ an g le( )   i=0 . 0   w h ile  T r u e:       p r in t " m 1   " ,   m 1 . r ea d _ an g le( )     p r in t " m 2   " ,   m 2 . r ea d _ an g le( )     p r in t " m 3   " ,   m 3 . r ea d _ an g le( )     m 1 a= m 1 . r ea d _ an g le( )     m 2 a= m 2 . r ea d _ an g le( )     m 3 a= m 3 . r ea d _ an g le( )     w it h   o p en ( ' v a l.tx t ' , ' a ' ) as  f :       f . w r ite  ( s tr ( i) +' \ n ' )       f . w r ite( " m 1   "   +str( m 1 a) +' \ n ' )       f . w r ite( " m 2   "   +str( m 2 a) +' \ n ' )       f . w r ite( " m 3   "   +str( m 3 a) +' \ n ' )     ti m e. s leep ( 0 . 5 )   #   T im d ela y   5 0 0   m ill is ec n d s     i =   i +   0 . 5   #   E n d   o f   p r o g r am   co d e     T h i s   s a m p le  p r o g r a m   w h ic h   is   u s ed   to   i m p le m e n t h R e ad   o p e r atio n   m o d e,   r ec o r d s   t h an g u lar   p o s itio n   v alu e s   o f   t h in d i v id u a m o to r   s h a f ts   a n d   s to r es it i n   f ile  n a m ed   v al. t x t c o n ti n u o u s l y   i n   t h f o r m at,     m 1   5 0 . 6 0 8 7   m 2   4 8 . 6 5 8 9   m 3   8 9 . 3 6 5 8     m 1   4 8 . 6 9 8 7   m 2   8 7 . 3 6 58   m 3   8 9 . 3 2 1 4     m 1   7 8 . 6 9 8 7   m 2   6 9 . 1 2 5 4   m 3   7 8 . 3 6 9 5       T h v alu es  ar s to r ed   in   th is   f o r m at  as  lo n g   as  th e n d   o f   d r a w i n g   is   s e n s ed   o r   m a n u all y   s to p p ed   b y   th e   p r o g r am m er .   A f ter   th is   p r o ce d u r e,   th R ep ea m o d is   ex e cu ted   in   o r d er   to   r ep r o d u ce   th s a m d r a w i n g   f o r   w h ic h   th p r o g r a m   co d is   i m p le m en ted   as  s h o w n   in   t h f o ll o w i n g ,     #   P r o g r a m   co d f o r   im p le m e n t in g   r ep ea m o d e   i m p o r tlib _ d y n a m i x el  as ld   i m p o r m at h   i m p o r t ti m e   m 1 a= [ ]   m 2 a= [ ]   m 3 a= [ ]   m =ld . D y n a m i x el_ C h ai n ( d ev = '/ d ev /tt y USB 0 ' , b a u d r ate= 1 0 0 0 0 0 )   w it h   o p en ( " v al . tx t" ) as f :     ar r ay = f . r ea d lin e s ( )   id s   [ 7 ,   9 ,   1 1 ]   Evaluation Warning : The document was created with Spire.PDF for Python.
IJ RA   I SS N:  2089 - 4856       Dev elo p men t o f Tea ch   P e n d en t b a s ed   R o b o tic  A r fo r   Dra w in g   u s in g   . . .   ( Ha r ikri s h n a n   M. )   235   i=0   j =0   w h ilei<le n ( ar r a y ) :     if   'm 1 '   i n   ar r a y [ i] :       j = j +1       x =a r r a y [ i] . f i n d ( '   ' )       m 1 a. ap p en d ( f lo at( ar r ay [ i] [ x +1 :] ) )     if   'm 2 '   i n   ar r a y [ i] :       x =a r r a y [ i] . f i n d ( '   ' )       m 2 a. ap p en d ( f lo at( ar r ay [ i] [ x +1 :] ) )     if   'm 3 '   i n   ar r a y [ i] :       x =a r r a y [ i] . f i n d ( '   ' )       m 3 a. ap p en d ( f lo at( ar r ay [ i] [ x +1 :] ) )       i=i+1   i=0   w h ilei<j :     if i== 1 :       ti m e. s leep ( 0 . 5 )     an g s 1 = [ m at h . r ad ian s ( m 1 a) , m a th . r ad ian s ( m 2 a) , m at h . r ad ian s ( m 3 a) ]     p r in m 1 a,   m 2 a,   m 3 a       m . m o v e_ an g les_ s y n c( id s ,   an g s 1 )     i=i+1   #   E n d   o f   p r o g r am   co d e     T h is   p r o g r a m   b asical l y ,   r etr ie v es  th e   an g u lar   v a lu e s   f o r   ea ch   m o to r   f r o m   th e   v a l.tx t   f ile  an d   w r ites   it  to   th e   m o to r   co n tin u o u s l y .   T h is   p r o ce s s   co n ti n u es  u n til  t h en d   o f   v al. tx is   r ea ch ed .   T h er eb y   i r ep r o d u ce s   ex ac tl y   th s a m f ig u r w h ich   w a s   tau g h t p r ev io u s l y   b y   t h p r o g r a m m er   d u r in g   t h R ea d   m o d o p er atio n .       4.   CO NCLU SI O N   AND   F U T U RE   WO RK   I n   th i s   p r o j ec t,   th r o b o tic  a r m   w as  d ev elo p ed   to   i m p le m e n teac h   p en d e n b ased   d r a w i n g   alg o r it h m   w h ic h   ca n   ea s il y   d r a w   an y   co m p lex   f ig u r es  w it h o u th e   in v o lv e m e n o f   co n v e n tio n al  co m p lex   p r o g r a m m i n g   p r o ce d u r es.  Mo r eo v er ,   th is   a r m   h as  b ee n   d e v elo p ed   w i th   m o t iv e   to   m ak e   it  a s   a   p ar o f   a   co m p let e   h u m a n o id   s tr u ct u r e.   Fu r t h er m o r e,   w it h   t h is   m et h o d   as  b asis   m u c h   m o r co m p le x   s y s te m   w h ich   h as   alr ea d y   b e en   ta u g h t   b asic  f i g u r es  b y   t h p r o g r a m m er   ca n   b u s ed   to   g en er ate  a n d   d r a w   m u ch   co m p lex   s tr u c t u r es  u s i n g   d if f er en s o lid   m o d ellin g   tec h n iq u es s u ch   as C o n s tr u cti v So lid   Geo m etr y   ( C SG)   is   b ei n g   d ev e lo p ed   [ 5 ] .       ACK NO WL E D G E M E NT S   T h is   w o r k   w as   s u p p o r ted   in   p ar b y   Dep ar t m e n o f   Me ch a tr o n ics,  S R U n i v er s it y .   T h c o m p o n en t s   r eq u ir ed   f o r   th co m p letio n   o f   th i s   p r o j ec w as  p ar tl y   f u n d ed   b y   SR T ea m   H u m a n o id   R o b o tics   R esear c h   C en tr e   L ab .   T h g u id an ce   f r o m   all   t h f ac u lt y   m e m b er s   o f   Dep ar t m e n t   o f   Me ch a tr o n i cs,  S R U n i v er s it y   w a s   r ea ll y   h elp f u l.       RE F E R E NC E S     [1 ]   G ó m e z - Esp in o sa ,   P . D.  L a f u e n te - Ra m ó n ,   C.   Re b o ll a r - Hu e rta,   M . A .   He rn á n d e z - M a ld o n a d o ,   E. H.  Ol g u ín - Ca ll e jas ,   H.   Jim é n e z - He rn á n d e z ,   E. A .   Riv a s - A ra i z a   a n d   J.  Ro d ríg u e z - Re n d i z ,   De si g n   a n d   Co n stru c ti o n   o f   a   Did a c ti c   3 - DO F   P a ra ll e L in k Ro b o S tati o n   w it h   a   1 - DO F   G rip p e r,   Jo u rn a o f   A p p li e d   Re se a rc h   a n d   Tec h n o lo g y ,   V o 1 2 ,   Ju n e ,   2 0 1 4 ,   p p .   4 3 5 - 4 4 3 .   [2 ]   M .   P é re z   Ch a v a rría,  a n d   E.   Est u d il l o   Zam o ra ,   De v e lo p m e n o f   a   d a ta  a c q u isit io n   sy ste m   f o a n   o c e a n o g ra p h ic  b u o y ,   Jo u rn a o f   A p p li e d   Re se a rc h   a n d   T e c h n o lo g y ,   V o l.   7 ,   N o .   2 ,   A u g u st,  2 0 0 9 ,   p p .   1 9 3 - 2 0 1 .   [3 ]   F e Ch a o ,   Zh e n g sh u a W a n g ,   Ch a n g ji n g   S h a n g ,   Qin g g a n g M e n g ,   M in   Jia n g , Ch a n g le  Zh o u ,   Qia n g   S h e n ,   A   d e v e lo p m e n tal  a p p ro a c h   to   r o b o ti c   p o in t in g   v ia  h u m a n ro b o In tera c ti o n ,   In f o rm a ti o n   S c ien c e 2 8 3 ,   2 0 1 4 ,   p p .   2 8 8 3 0 3 .   [4 ]   J.  Ro d ríg u e z - Re n d iz,  G .   He rre ra - Ru íz,  a n d   E.   A .   Riv a s - A ra i z a , A d ju sta b le  S p e e d   Driv e   P ro jec f o Tea c h in g   a   S e rv o   S y ste m s Co u rse   L a b o ra to ry ,   IEE T ra n s.  Ed u c . ,   V o l .   5 4 ,   No .   4 ,   No v e m b e r,   2 0 1 1 ,   p p .   6 5 7 - 6 6 6 .   [5 ]   F a e z   A h m e d ,   Ka l y a n m o y   De b ,   Bish a k h   B h a tt a c h a ry a ,     S tru c t u ra t o p o lo g y   o p ti m iza ti o n   u si n g   m u lt i - o b jec ti v e   g e n e ti c   a lg o rit h m   w it h   c o n stru c t iv e   so li d   g e o m e tr y   r e p re se n tatio n ,   A p p li e d   S o f Co m p u ti n g ,   Vo l.   3 9 ,   F e b r u a ry   2 0 1 6 ,   p p .   2 4 0 - 2 5 0 .   Evaluation Warning : The document was created with Spire.PDF for Python.
                      I SS N :   2 0 8 9 - 4856   IJ RA    Vo l.   5 ,   No .   4 Dec em b er   201 6 :   2 3 0     2 3 6   236   [6 ]   G u a n fe n g   S u n ,   T e tsu o   S a w a ra g i,   Yu k io   Ho rig u c h i,   Hiro a k Na k a n ish i,   Kn o w led g e - In ten siv e   Tea c h in g   A ss istan c e   S y st e m   f o In d u strial  R o b o ts  U sin g   Ca se - Ba s e d   Re a so n in g   a n d   Ex p lan a ti o n - Ba se d   L e a rn in g ,   1 9 th   IF A W o rld   Co n g re ss ,   Vo l.   4 7 ,   Iss u e   3 ,   2 0 1 4 ,   p p .   4 5 3 5 - 4 5 4 0 .   [7 ]   A n g e l e s Ho y o ,   Jo se   L u is  G u z m a n ,   Jo se   Ca rlo s M o re n o ,   M a n u e Be re n g u e l,   Tea c h in g   Co n tro En g i n e e rin g   Co n c e p ts  u sin g   Op e n   S o u rc e   to o ls  o n   a   Ra sp b e rry   P b o a rd ,   IF A W o rk sh o p   o n   In tern e b a se d   c o n tr o e d u c a ti o n   IBCE  1 5 ,   V o l .   4 8 ,   Iss u e   2 9 ,   2 0 1 5 ,   p p .   9 9 - 1 0 4 .       Evaluation Warning : The document was created with Spire.PDF for Python.