Control ilo robot using python command.
Project description
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
Where to get it ?
# with pip
pip install ilo
Dependencies
Don't worry, this dependency is automatically installed with the ilo library.
Example
import ilo
ilo.connection()
print("ilo is connected")
ilo.set_led_color_rgb(200,0,0) # color is red
ilo.set_led_color_rgb(0,0,200) # color is blue
while true:
print("Ilo moves forward"
ilo.move(front)
while ilo.get_distance() > 20:
pass
ilo.stop()
print("Ilo has encountered an obstacle")
if ilo.get_distance() > 20:
ilo.move(right, 80)
print("ilo moves to the right at 80% of its speed")
else:
ilo.move(left, 70)
print("ilo moves to the left at 70% of its speed")
About us
Find us on our website ;)
Project details
Release history Release notifications | RSS feed
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.17.tar.gz
(6.0 kB
view hashes)
Built Distribution
ilo-0.0.17-py3-none-any.whl
(5.8 kB
view hashes)