Skip to content

This module contains the necessary algorithms for utilizing different DC motor types in different configurations.

Notifications You must be signed in to change notification settings

2bndy5/Drivetrain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Documentation Status

Introduction

A collection of motor drivers classes and specialized drivetrain classes to coordinate the motors' objects in generic configurations. This takes advatage of the threading module for smoothing motor input commands in background running threads. This was developed for & tested on the Raspberry PI. For running this library on CicuitPython devices (that don't have access to the threading module) like the Adafruit ItsyBitsy M4, we have added a fallback function called "sync()" that should get called at least once in the application's main loop.

Dependencies

This library requires

Installation

Currenty, there is no plan to deploy this library to pypi yet.

You can easily install this library to your Raspberry Pi in the terminal using the following commands:

git clone http://github.com/DVC-Viking-Robotics/Drivetrain.git
cd Drivetrain
python3 setup.py install

Some cases may require the last command be prefixed with sudo or appended with --user.

Installing this library should also automatically install the dependencies listed above (platform permitting).

Examples

Try out any of the simple test examples in the examples to make sure everything (including pin connections & library installation) is setup correctly.

About

This module contains the necessary algorithms for utilizing different DC motor types in different configurations.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages