Sphero-controller

时间:2021-06-13 14:31:08
【文件属性】:
文件名称:Sphero-controller
文件大小:1.57MB
文件格式:ZIP
更新时间:2021-06-13 14:31:08
Java 按钮驱动器 您可以从图中看到 Sphero 的滚动命令如何与其在空间中的航向相对应。 此代码示例演示了通过发送 0°、90°、180° 和 270° 的滚动命令来驱动 Sphero。 roll 命令的航向从 0° 到 360°,相对速度从 0.0 到 1.0。 假设您有一个已初始化的名为 myRobot 的 Sphero 对象,要命令球以半速运行 90° 将是: mRobot.drive(90.0, 0.5); 球通过mRobot.stop()调用停止。 问题 如有问题,请访问我们的开发者论坛
【文件预览】:
Sphero-controller-master
----res()
--------values()
--------layout()
----README.png(13KB)
----BallMonitor()
--------Sketch()
--------present.bat(87B)
--------LICENSE(1KB)
--------.gitignore(165B)
--------run.bat(83B)
--------run_delayed.bat(104B)
--------README.md(66B)
--------present_delayed.bat(108B)
----ant.properties(696B)
----build.xml(3KB)
----default.properties(407B)
----.settings()
--------org.eclipse.core.resources.prefs(93B)
--------org.eclipse.jdt.core.prefs(177B)
----src()
--------com()
--------oscP5()
--------netP5()
----.project(845B)
----.classpath(475B)
----.gitignore(290B)
----project.properties(361B)
----README.md(893B)
----AndroidManifest.xml(993B)
----libs()
--------armeabi-v7a()
--------armeabi()
--------RobotLibrary.jar(433KB)

网友评论