Laelaps  2.3.5
RoadNarrows Robotics Small Outdoor Mobile Robot Project
RoboClaw.py File Reference

Python RoboClaw motor controller class and data. More...

Go to the source code of this file.

Classes

class  Laelaps.RoboClaw.RoboClawException
 RoboClaw exception class. More...
 
class  Laelaps.RoboClaw.RoboClaw
 RobotClaw Motor Controller class. More...
 

Variables

 Laelaps.RoboClaw.addr = AddrDft
 
 Laelaps.RoboClaw.motorctlr = RoboClaw()
 
 Laelaps.RoboClaw.rcv = motorctlr.readVersion(addr)
 
 Laelaps.RoboClaw.minV
 
 Laelaps.RoboClaw.maxV
 
 Laelaps.RoboClaw.mode1
 
 Laelaps.RoboClaw.mode2
 
 Laelaps.RoboClaw.p
 
 Laelaps.RoboClaw.i
 
 Laelaps.RoboClaw.d
 
 Laelaps.RoboClaw.qpps
 
int Laelaps.RoboClaw.cnt = 0
 
int Laelaps.RoboClaw.maxcnt = 15
 
int Laelaps.RoboClaw.tgtspeed1 = 0
 
int Laelaps.RoboClaw.tgtspeed2 = 0
 
 Laelaps.RoboClaw.m1cur
 
 Laelaps.RoboClaw.m2cur
 
 Laelaps.RoboClaw.pos1
 
 Laelaps.RoboClaw.status1
 
 Laelaps.RoboClaw.pos2
 
 Laelaps.RoboClaw.status2
 
 Laelaps.RoboClaw.speed1
 
 Laelaps.RoboClaw.speed2
 

Detailed Description

Python RoboClaw motor controller class and data.

This code is based on the freely available python source from Ion Motion Control.

Package
RoadNarrows Robotics Laelaps Small Mobile Robot Package
File
sw/pyModules/modules/Laelaps
Author
Robin Knight (robin.nosp@m..kni.nosp@m.ght@r.nosp@m.oadn.nosp@m.arrow.nosp@m.s.co.nosp@m.m)
EULA@
Permission is hereby granted, without written agreement and without license or royalty fees, to use, copy, modify, and distribute this software and its documentation for any purpose, provided that (1) The above copyright notice and the following two paragraphs appear in all copies of the source code and (2) redistributions including binaries reproduces these notices in the supporting documentation. Substantial modifications to this software may be copyrighted by their authors and need not follow the licensing terms described here, provided that the new terms are clearly indicated in all files where they apply.

IN NO EVENT SHALL THE AUTHOR, ROADNARROWS LLC, OR ANY MEMBERS/EMPLOYEES OF ROADNARROW LLC OR DISTRIBUTORS OF THIS SOFTWARE BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE AUTHORS OR ANY OF THE ABOVE PARTIES HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

THE AUTHOR AND ROADNARROWS LLC SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.

—@

Definition in file RoboClaw.py.