Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ilo

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ilo

Control ilo robot using python command.

  • 0.0.44
  • PyPI
  • Socket score

Maintainers
1
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 ;)

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc