Java 机器人模拟
我正在做一个有关机器人模拟的项目,我需要帮助。我必须模拟仓库中机器人的活动。我在仓库中使用了 Mindstorm 机器人和乐高积木。这里的要点是我必须在 Java GUI 上模拟机器人的所有活动。也就是说,每当机器人移动时,用户都必须在 GUI 上看到代表机器人的移动对象。
当仓库的道路/铁路/交叉口发生变化时,也必须在屏幕上进行更改。整个项目是我必须实时模拟机器人在仓库中所做的任何事情。一切都必须实时发生,
我问我可以使用 Java 中的哪些库来实时进行模拟,以及是否有人可以向我指出任何站点以获取有用的信息。我正在寻求 Java 库,我可以用它来实时可视化模拟。
I am doing a project concerning robot simulation and i need help. I have to simulate the activities of a robot in a warehouse. I am using mindstorm robots and lego's for the warehouse. The point here is i have to simulate all the activities of the robot on a Java GUI. That is whenever the robot is moving, users have to see it on the GUI a moving object which represents the robot.
When the roads/rails/crossings of the warehouse changes it must also be changed on the screen. The whole project is i have to simulate whatever the robot is doing in the warehouse in real-time. Everything must happen in real-time
I am asking which libraries in Java i can use to do this simulations in real-time and if someone can also point me to any site for good information. Am asking for libraries in Java that i can use to visualize the simulation in real-time.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
也许最简单(如果不是最好)的起点是“Java2D”API: http://java.sun.com/products/java-media/2D/index.jsp
Perhaps the easiest (if not best) place to start is the "Java2D" API: http://java.sun.com/products/java-media/2D/index.jsp
梅森 http://cs.gmu.edu/~eclab/projects/mason/ 是一个很好的 Java 多代理 2D 模拟器,可用于解决许多机器人问题。
MASON http://cs.gmu.edu/~eclab/projects/mason/ is a nice Java multi-agent 2D simulator that can be used for many robotics problems.
在这种情况下,接口是使用 ARIA 完成的,所有流行的机器人都是 Pioneer P3-DX 和 Khepera 可以由 ARIA 控制。我想 LABVIEW 也可以使用,但我不确定。所有这些软件或多或少都类似于 C++/Java!
甚至 Lego Mindstorms 也可能与实时屏幕 GUI 结合(了解一下,从来没有这样做过)
In such scenarios the interfacing is done using ARIA, all popular robots as Pioneer P3-DX and Khepera can be controlled by ARIA. I guess that LABVIEW can also be used, however I am not sure. All these softwares are more or less C++/Java like !
Even Lego Mindstorms can probably be married to a real-time on screen GUI (read about it, never did it)