Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Golang, make and robotics #gocon

Golang, make and robotics #gocon

gRPC(Protocol Buffers)とGoとAVRを使ったロボットの制御

Hideyuki TAKEI

June 21, 2015
Tweet

More Decks by Hideyuki TAKEI

Other Decks in Technology

Transcript

  1. 4FSWP.PUPS 34.% 'SPOU3JHIU 4FSWP.PUPS 34.% 'SPOU-FGU 4FSWP.PUPS 34.% #BDL3JHIU 4FSWP.PUPS

    34.% #BDL-FGU 4FSWP.PUPS 34.% :BX 4FSWP.PUPS 34.% 5BJM 64"35 &ZF-&%  4PMBS $FMM *$ "73 "59.&("% 18. 1SFTTVSF4FOTPS 5FNQFSBUVSF )VNJEJUZ4FOTPS "YJT4FOTPST "DD (ZSP  (14-47 &OFSHZ )BSWFTUJOH ߏ੒ 64"35
  2. 'JSNBUBͷ(PPE#BE w (PPE w ௨৴ͱ͔ίϚϯυͱ͔ϝοηʔδͱ͔ ҙࣝ͢Δඞཁ͕ͳ͍ w ༷ʑͳݴޠ͔Βୟ͚Δ w #BE

    w جຊతʹ͸ϓϦϛςΟϒͳ໋ྩ͔͠ͳ͍ ͷͰɺϦΞϧλΠϜੑ͕ߴ͍΋ͷʹ͸ɹ ෆ޲͖ w ୯ಠͰ͸ಈ͔ͳ͍
  3. ϩϘοτ 1$ ͦ͜ͰʂH31$ʂ w γϦΞϥΠζ͸1SPUPDPM#V⒎FST w *%-Ͱϝοηʔδ΍31$ͷߏ଄Λఆٛ w QSPUPDͰιʔείʔυ΋ੜ੒͞ΕΔ w

    ਖ਼֬ʹ͸H31$64#4FSJBMήʔτ΢ΣΠ w Α͠ɺ͜ͷήʔτ΢ΣΠΛ(PͰॻ͜͏ʂ w σʔλܗࣜ͸"73·Ͱ1SPUPDPM#V⒎FSͰʂ "73 ϚΠίϯ H31$αʔό (P 4FSJBM H31$ ΫϥΠΞϯτ 64#
  4. ϩϘοτ 1SPUPDPM#V⒎FSTΛ"73Ͱ w OBOPQC w IUUQLPUJLBQTJpK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