artoo-sphero:Sphero 机器人的 Artoo 适配器

时间:2021-06-29 21:06:05
【文件属性】:
文件名称:artoo-sphero:Sphero 机器人的 Artoo 适配器
文件大小:17KB
文件格式:ZIP
更新时间:2021-06-29 21:06:05
Ruby 用于 Sphero 的 Artoo 适配器 此存储库包含用于 Sphero ( ) 机器人的 Artoo ( ) 适配器。 Artoo 是一个开源微框架,用于使用 Ruby 的机器人技术。 有关 Artoo 的更多信息,请查看我们的仓库 安装 gem install artoo-sphero 使用 require 'artoo' connection :sphero , :adaptor => :sphero , :port => '/dev/rfcomm0' #linux device :sphero , :driver => :sphero work do @rolling = false every ( 3 . seconds ) do puts "Rolling..." sphero . roll 90 , rand ( 360 ) end
【文件预览】:
artoo-sphero-master
----.travis.yml(127B)
----.rvmrc.example(44B)
----docs()
--------events.md(526B)
--------commands.md(1KB)
----Rakefile(165B)
----test()
--------test_helper.rb(183B)
--------drivers()
--------adaptors()
--------interfaces()
----artoo-sphero.gemspec(1KB)
----LICENSE(566B)
----Gemfile(96B)
----.ruby-gemset(13B)
----examples()
--------sphero_cycle.rb(359B)
--------sphero.rb(339B)
--------sphero_multiple.rb(1000B)
--------sphero_messages.rb(411B)
--------sphero_pebble_accelerometer.rb(669B)
--------sphero2.rb(662B)
--------sphero_interface.rb(423B)
--------sphero_pebble.rb(820B)
--------sphero_color.rb(347B)
----.ruby-version(10B)
----.gitignore(29B)
----lib()
--------artoo-sphero()
--------artoo()
--------artoo-sphero.rb(144B)
----README.md(4KB)

网友评论