Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Port of the roboteq API

Project description

Example Usage:

```
from roboteq import RoboteqDevice

from roboteq.roboteq_constants import _MMOD, _G, _RWD, _MXMD, _MXRPM

device = RoboteqDevice()
device.connect("/dev/serial/by-id/usb-Roboteq_Motor_Controller_FBL2XXX-if00")


time.sleep(0.1)
device.set_config(_MMOD, 0, 6)
time.sleep(0.1)
device.command_motor(_G, 1, 0)
time.sleep(0.1)
device.command_motor(_G, 2, 0)
time.sleep(0.1)
device.set_config(_RWD, 1000)
time.sleep(0.1)
device.set_config(_MXMD, 1)
time.sleep(0.1)
device.send_command(_MXRPM, 1, 500)
time.sleep(0.1)
device.send_command(_MXRPM, 2, 500)
time.sleep(0.1)
```

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for roboteq, version 0.8
Filename, size File type Python version Upload date Hashes
Filename, size roboteq-0.8-py3-none-any.whl (3.6 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size roboteq-0.8.tar.gz (2.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page