Skip to main content

A simple python driver for Kobuki mobile robot

Project description


Kobukidriver


|version|

Kobukidriver is a python driver for Kobuki quanser qbot2 which helps in control and utilization of the mobile robot.You can build numerous application with the help of the driver.

Links

Quickstart

Install using pip:

::

pip install kobukidriver

kobukidriver works in both windows and linux

Features

  • Develop any mobile robot applications
  • Gyro sensor data
  • Docking IR data
  • Inertial sensor data
  • Cliff sensor data
  • current data
  • general purpose input data
  • Basic sensor data
  • Set/Clear LED
  • Set digital output pin
  • Control mobile robot speed
  • Play inbuilt/custom sounds

Examples

Get started by importing the Kobuki class:

.. code-block:: python

#import the kobuki class
from kobukidriver import Kobuki
#create the instance for the kobuki
kobuki_instance=Kobuki()#raise error if kobuki is not connected

Example code for reading basic sensor data from Kobuki robot

.. code-block:: python

from kobukidriver import Kobuki
import time as t
kobuki_instance=Kobuki()

while(1):
    t.sleep(0.2)#delay for fetching data
    basic_sensor_data=kobuki_instance.basic_sensor_data()
    print(basic_sensor_data)#prints the basic sensor data from the robot

Steps for building the mobile robot application using the driver

.. code-block:: python

from kobukidriver import Kobuki
kobuki_instance=Kobuki()
#Don't change the start function name
def start():
    while(1):
        #your logic
kobuki_instance.kobukistart(start)

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

kobukidriver-0.0.1.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

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

kobukidriver-0.0.1-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file kobukidriver-0.0.1.tar.gz.

File metadata

  • Download URL: kobukidriver-0.0.1.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for kobukidriver-0.0.1.tar.gz
Algorithm Hash digest
SHA256 c8a5fc3d4525d429e8d3d63a76413e3ead401b13c6fedd803bb3fbd04edbef4c
MD5 1bb08e89bee6f427849e5a6ca064bba4
BLAKE2b-256 19ea52797941b13e86251a8385bb9d39042595c50d8c7b7d5716b5e1c0ae6318

See more details on using hashes here.

File details

Details for the file kobukidriver-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: kobukidriver-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for kobukidriver-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fe5eaefc05bcc6d86fb3cf8654b1fc1a480feebcf0724d44961a8fecb753dbc1
MD5 ea4346df7349f200788eda8bf6957c62
BLAKE2b-256 77fbc1285b666f9c44ad4c29725b395fb5fcfcf6ed77686ecf58a859a0fde315

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