$search
Classes | |
class | Angular |
class | GP2D12 |
class | Linear |
class | PhidgetsCurrent |
class | PhidgetsTemperature |
class | PhidgetsVoltage |
class | Ping |
class | Serializer |
class | Twist |
Variables | |
int | baudRate = 19200 |
tuple | mySerializer = Serializer(port=portName, baudrate=baudRate, timeout=5) |
string | portName = "/dev/ttyUSB0" |
A Python library for the Robotics Connection SerializerTM micro controller. Created for The Pi Robot Project: http://www.pirobot.org Copyright (c) 2010 Patrick Goebel. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details at: http://www.gnu.org/licenses/gpl.html NOTE: See the offical SerializerTM manual at: http://www.roboticsconnection.com/multimedia/docs/Serializer_3.0_UserGuide.pdf Basic Usage: mySerializer = Serializer(port="/dev/ttyUSB0", baudrate=19200, timeout=0.05) mySerializer.connect() myPing = Ping(mySerializer, 4) myIR = GP2D12(mySerializer, 4) print myPing.value() print myIR.value() mySerializer.stop() mySerializer.close() See the example files for more details.
int serializer_driver::baudRate = 19200 |
Definition at line 1201 of file serializer_driver.py.
tuple serializer_driver::mySerializer = Serializer(port=portName, baudrate=baudRate, timeout=5) |
Definition at line 1203 of file serializer_driver.py.
string serializer_driver::portName = "/dev/ttyUSB0" |
Definition at line 1194 of file serializer_driver.py.