Giter Site home page Giter Site logo

crlane / python-mebo Goto Github PK

View Code? Open in Web Editor NEW
10.0 7.0 5.0 101 KB

A simple python library to control the mebo toy robot

License: MIT License

Makefile 2.41% Python 97.42% Dockerfile 0.17%
python mebo robot iot rtsp digest-authentication rtp http

python-mebo's Introduction

mebo

Mebo is a python package to control the Mebo Robot <https://meborobot.com> with Python.

This is a beta, so there might be breaking changes. Some basic usage is defined below, but more extensive documentation is available at ReadTheDocs.

Note

This project is not associated with the official Mebo project or its owners, Skyrocket LLC.

Note

This package and the associated modules have been tested on Mebo version 1 only.

Installation

pip install mebo

Quickstart

Some basic usage is below. The API will change and limited documentation exists, but it works for getting started.

from mebo import Mebo
m = Mebo() # autodiscover IP using mDNS
m.move('n', speed=255, dur=1000)  # move forward at max speed for 1 second
m.arm.up(dur=1000) # move the arm up for one second
m.claw.open(dur=1000) # open the claw for one second

Architecture

The Mebo is controlled via an HTTP API. You can read more about it in the Mebo API repo.

Development

Requirements:

  • python >= 3.6

To get started with the project:

git clone https://github.com/crlane/python-mebo.git
python -m venv mebo-venv
. mebo-venv/bin/actvate
pip install -e '.[dev]'

To run the tests:

py.test

python-mebo's People

Contributors

crlane avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

python-mebo's Issues

Help with getting the Video stream working over RTSP

Trying to play around with my Mebo using your repo. Is there any way I can get the Video stream working? Trying to tinker around with the code in the stream folder, but no luck.

m.media.start_streams() gives me the Exception: supply stream password
Where do I get the stream password?

Any help is appreciated. Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.