在 Roomba 上获取 Java(机器人)
问题是如何使用 Java 来使用 Roomba?
Question is how can I get to work with Roomba using Java?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
问题是如何使用 Java 来使用 Roomba?
Question is how can I get to work with Roomba using Java?
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
RoombaComm 是一个用于通信和控制 Roomba 的 Java 库。它适用于 Mac OS X、Linux 和 Windows。
RoombaComm is a Java library for communicating and controlling the Roomba. It works on Mac OS X, Linux, and Windows.
您可以轻松地用 Java 对 Roomba 进行编程!确实,Roomba 的处理器上没有太多内存来真正执行任何操作 - 哈哈,但您可以使用其 SCI 命令接口向其发送运动命令。
因此,如果您使用单独的设备在 java 中进行编程,然后使用简单的串行电缆来转发您希望 Roomba 执行的运动命令,那么您应该会很好!
任何类型的微控制器都可以工作Roomba 上串行端口的优点是您还可以从中获取电源 (5v) 来为控制器供电。我推荐的一种方法是找一根根牙来玩。它是一款用于 Roomba 的蓝牙适配器,可以让人们在不受电线束缚的情况下使用该设备。
不管怎样,串行接口都是非常基本的。该网站对如何使用串行命令控制 Roomba 有很好的介绍性概述:
http://www.robotappstore.com/Knowledge -Base/1-Introduction-to-Roomba-Programming/15.html
您可以将数据传输到主机,甚至可以将计算机固定在机器人上并让它做很多事情!
希望这有帮助!
You can easily program the roomba in java! True, the roomba doesn't have much memory on its processor to really do... anything - haha, but you can use its SCI command interface to send it motion commands.
Thus if you use a separate device to program in java, and then use a simple serial cable to relay the motion commands you wish the roomba to do, then you should be good!
Any sort of microcontroller will work & what's nice about the serial port on the roomba is that you can source power (5v) from it as well to power your controller. One way I recomend is to get a rootooth to play around with. It's a bluetooth adapter for the roomba and will allow one to play around with the device while not being constrained with wires.
Either way, the serial interface is pretty basic. This website has a good introductory overview of how to control the roomba with the serial commands:
http://www.robotappstore.com/Knowledge-Base/1-Introduction-to-Roomba-Programming/15.html
You can either transfer data to a host computer, or even just stick your computer on the robot and have it do a bunch of things!
Hope this helps!