在哪里可以找到 C/C++用于机器人技术的 Linux API?

发布于 2024-09-12 23:31:04 字数 1539 浏览 2 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

猫九 2024-09-19 23:31:05

根据您的硬件和设置,您可能需要查看player/stage 项目。这为许多机器人平台和传感器提供了硬件抽象层,并且具有 C 和 C++ 客户端。它可以分布在多台机器上运行,因此您可以在机器人上网本和桌面上执行操作。该软件包被大量机器人研究人员使用,并为许多常见的机器人任务提供支持。如果合适的话,它将为您节省大量工作和重新发明轮子。

Depending on your hardware and setup you might want to look at the player/stage project. This provides a hardware abstraction layer for many robot platforms and sensors and has both C and C++ clients. It can run distributed across multiple machines so you can do stuff both on the robot netbook and your desktop. This package is used by a large number of robotics researchers and provides support for many common robotics tasks. If it's appropriate it will save you a lot of work and wheel reinvention.

疾风者 2024-09-19 23:31:05

使用什么接口?这不像您将传感器直接插入主板。您将使用 RS232、USB 或其他接口与外部 AD 转换器进行通信,而传感器又连接到外部 AD 转换器。

这意味着您需要了解两件事:

  1. 如何使用您将使用的接口(例如:打开/关闭 RS 端口、通过此端口发送/接收数据)

  2. 您需要向外部硬件发送哪些命令,以及您将以什么格式接收数据。

Using what interface? it's not like you plug sensor directly into your mainboard. You will use RS232, USB, or some other interface to communicate to external AD converter, to which in turn a sensor is connected.

This means you need to find out two things:

  1. How to use the interface you'll be using (for example: opening/closing RS port, sending/receiving data over this port)

  2. What commands you need to send to external hardware, and in what format you will receive data.

余生共白头 2024-09-19 23:31:05

根据您到底要寻找什么,您可以尝试一下 MRPT:http://www.mrpt.org/
干杯!

depending on what exactly you're looking for, you could give the MRPT a try: http://www.mrpt.org/
cheers!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文