Where can I find C/C++ Linux API's for robotics? [closed]
开发者_如何学JAVA
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this questionSpecifically for sending commands and receiving sensor data.
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.
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:
How to use the interface you'll be using (for example: opening/closing RS port, sending/receiving data over this port)
What commands you need to send to external hardware, and in what format you will receive data.
depending on what exactly you're looking for, you could give the MRPT a try: http://www.mrpt.org/ cheers!
精彩评论