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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file roboteq-0.8.tar.gz.

File metadata

  • Download URL: roboteq-0.8.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0

File hashes

Hashes for roboteq-0.8.tar.gz
Algorithm Hash digest
SHA256 d1f1168b829175f7091b51a1d88aa70134a28bdf5be62c8adb1b4e98807366ae
MD5 4e433ad02fdd110c5c8688453e3ac7ce
BLAKE2b-256 3c20bfcf84a7dc7c38a35de1f7a0e2864a5bc62eb225084781dc115a8ee5a6aa

See more details on using hashes here.

File details

Details for the file roboteq-0.8-py3-none-any.whl.

File metadata

  • Download URL: roboteq-0.8-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0

File hashes

Hashes for roboteq-0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 fd43f34b1e2dd67bb84b4805937634c0713cdc62d5b23a414378c29fe29b0117
MD5 e3840b8cf6f7f19fdf61cb334d5f0bd9
BLAKE2b-256 906ca5c89b2244aed8410f4653420f1500c2c9a941ac9ac2ff1d28cdc714b633

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page