serial.dox 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. /*!
  2. \mainpage Serial Library
  3. \author William Woodall <[email protected]>, John Harrison <[email protected]>
  4. \section what_is What is serial?
  5. Serial is a cross-platform, simple to use library for using serial ports on computers. This library provides a C++, object oriented interface for interacting with RS-232 like devices on Linux and Windows.
  6. Want to use it with ROS(Robot Operating System)? No problem, it compiles as a unary stack.
  7. \section getting_started Getting Started
  8. Ready to jump in?
  9. - Checkout our examples: \ref serial_example.cc
  10. - Look at the main class documentation: \ref serial::Serial
  11. \section features Features
  12. - Linux, Mac OS X, and Windows Support
  13. - Easy to use interface (modeled after PySerial)
  14. - Minimal dependencies (cmake)
  15. - Complete timeout control \ref serial::Serial::setTimeout
  16. - Check and set handshaking lines (CTS, DSR, RI, CD and RTS, DTR)
  17. - Block for changes in handshaking lines (Linux and Windows)
  18. - Flush I/O separately and block until all writing done
  19. \section install Installation
  20. \subsection Dependencies
  21. - CMake:
  22. - CMake is required for building the system and can be located here: http://www.cmake.org/
  23. \subsection building Compiling
  24. Once you have gathered the dependencies, you need to checkout the software from github.com:
  25. <pre>
  26. git clone git://github.com/wjwwood/serial.git
  27. </pre>
  28. Once you have checked out the source code from github.com you can enter the directory and build the software.
  29. <pre>
  30. cd serial
  31. make
  32. make test # (optional) builds the example and tests, and runs the tests.
  33. make doc # (optional) builds _this_ documentation.
  34. </pre>
  35. \subsection installing Installing
  36. To install simply:
  37. <pre>
  38. sudo make install
  39. </pre>
  40. */