Skip to main content

Control ilo robot using python command.

Project description

Ilo robot

ilo robot

A package that lets users control ilo the new educational robot using python command lines.

Features

  • Moves the robot in many directions with python commands line
  • Creates movement loops
  • Play with the robot in real time with your keyboard
  • Use colored plates to make the robot move and many other autonomous modes

Where to get it ?

# with pip
pip install ilo

How to update it ?

# with pip
pip install ilo --upgrade

Dependencies

Don't worry, these dependencies are automatically installed with the ilo library.

Example

import ilo

ilo.check_robot_on_network()

my_ilo = ilo.robot(1)

my_ilo.set_led_color(255,0,0)      # set the robot color to red

while true:

    print("Ilo moves forward")
    my_ilo.move("front", 100)
    
    while my_ilo.get_distance() > 20:
        pass
        
    my_ilo.stop()
    print("ilo has encountered an obstacle")
    
    if my_ilo.get_distance() > 20:
        my_ilo.move("right", 80)
        print("ilo moves to the right at 80% speed")
    
    else:
        my_ilo.move("left", 70)
        print("ilo moves to the left at 70% speed")

What else?

Bug reports, patches and suggestions are welcome!

Contact us through our website ;)

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

ilo-0.0.43.tar.gz (14.8 kB view details)

Uploaded Source

Built Distribution

ilo-0.0.43-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

Details for the file ilo-0.0.43.tar.gz.

File metadata

  • Download URL: ilo-0.0.43.tar.gz
  • Upload date:
  • Size: 14.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.9

File hashes

Hashes for ilo-0.0.43.tar.gz
Algorithm Hash digest
SHA256 abddf32014498a25ec40c4af00804ab4265f73e86c59636ae77f0a272fe0dbae
MD5 542ee4b9411820e0e3d9b76db02fa9a8
BLAKE2b-256 99f4f5e991ac1a6049d388c905437f4d2104e168947861c0617e2e8fe12fa882

See more details on using hashes here.

File details

Details for the file ilo-0.0.43-py3-none-any.whl.

File metadata

  • Download URL: ilo-0.0.43-py3-none-any.whl
  • Upload date:
  • Size: 14.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.9

File hashes

Hashes for ilo-0.0.43-py3-none-any.whl
Algorithm Hash digest
SHA256 91ecad22e89b641220425e16821906fbf60338cb5887aac0f53ad0dfb576f8bc
MD5 bc181ac96cc8168398473da2f0f36e38
BLAKE2b-256 4e46fee6c66cb40b82b9931e419dc49d538aa4257d3b5b74a83666294e5607de

See more details on using hashes here.

Supported by

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