1
0
mirror of https://github.com/wjwwood/serial.git synced 2026-01-22 11:44:53 +08:00
serial/index.html
2012-10-23 23:58:54 -07:00

115 lines
4.6 KiB
HTML

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<title>Serial by wjwwood</title>
<link rel="stylesheet" href="stylesheets/styles.css">
<link rel="stylesheet" href="stylesheets/pygment_trac.css">
<script src="javascripts/scale.fix.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body>
<div class="wrapper">
<header>
<h1>Serial</h1>
<p>Cross-platform, Serial Port library written in C++</p>
<p class="view"><a href="https://github.com/wjwwood/serial">View the Project on GitHub <small>wjwwood/serial</small></a></p>
<ul>
<li><a href="https://github.com/wjwwood/serial/zipball/master">Download <strong>ZIP File</strong></a></li>
<li><a href="https://github.com/wjwwood/serial/tarball/master">Download <strong>TAR Ball</strong></a></li>
<li><a href="https://github.com/wjwwood/serial">View On <strong>GitHub</strong></a></li>
</ul>
</header>
<section>
<p>This is a cross-platform library for interfacing with rs-232 serial like ports written in C++. It provides a modern C++ interface with a workflow designed to look and feel like PySerial, but with the speed and control provided by C++. </p>
<p>This library is in use in several robotics related projects and can be built and installed to the OS like most unix libraries with make and then sudo make install, but if you wish to use it with ROS then it will build as a unary stack. </p>
<p>Serial is a class that provides the basic interface common to serial libraries (open, close, read, write, etc..) and requires no extra dependencies. It also provides tight control over timeouts and control over handshaking lines. </p>
<p>If you are looking for more utilities related to interfacing with sensors and serial devices, checkout my serial_utils github project: serial_utils. It provides tools for asynchronous reading and related tasks.</p>
<h3>Documentation</h3>
<p>The documentation for all versions of the serial library can be found here.</p>
<h3>Dependencies</h3>
<ul>
<li>catkin - cmake and Python based buildsystem
<ul>
<li>cmake - buildsystem</li>
<li>Python - scripting language</li>
<li>empy - Python templating library</li>
<li>catkin_pkg - Runtime Python library for catkin</li>
</ul>
</li>
</ul><h3>Install</h3>
<p>Get the code:</p>
<pre><code>git clone https://github.com/wjwwood/serial.git
</code></pre>
<p>Build:</p>
<pre><code>make
</code></pre>
<p>Build and run the tests:</p>
<pre><code>make test
</code></pre>
<p>Build the documentation:</p>
<pre><code>make docs
</code></pre>
<p>Install:</p>
<pre><code>make install
</code></pre>
<p>Uninstall:</p>
<pre><code>make uninstall
</code></pre>
<h3>License</h3>
<p>The BSD License</p>
<p>Copyright (c) 2012 William Woodall, John Harrison </p>
<p>Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: </p>
<p>The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. </p>
<p>THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</p>
<h3>Authors</h3>
<p>William Woodall <a href="mailto:wjwwood@gmail.com">wjwwood@gmail.com</a>
John Harrison <a href="mailto:ash.gti@gmail.com">ash.gti@gmail.com</a></p>
<h3>Contact</h3>
<p>William Woodall <a href="mailto:wwoodall@willowgarage.com">wwoodall@willowgarage.com</a></p>
</section>
</div>
<footer>
<p>Project maintained by <a href="https://github.com/wjwwood">wjwwood</a></p>
<p>Hosted on GitHub Pages &mdash; Theme by <a href="https://github.com/orderedlist">orderedlist</a></p>
</footer>
<!--[if !IE]><script>fixScale(document);</script><![endif]-->
</body>
</html>