Skip to main content

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.

Source Distribution

roboteq-0.8.tar.gz (2.1 kB view hashes)

Uploaded source

Built Distribution

roboteq-0.8-py3-none-any.whl (3.6 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page