.
├── LICENSE
├── pyhon
│ ├── evicka.py
│ └── main.py
├── utils
│ └── 'any utilities for measurenment or testing'
├── 'language name'
│ ├── evicka.x program containing functions
│ ├── pathn.x program containing path or
│ └── main.x program containing every path
└── README.md
Version: pybricks-micropython
Packages: pybricks
Structure:
.
├── evicka.py functions to simplify programming of robot
└── main.py contains robot game paths
- Put
evicka.py
into your project folder - Put
import evicka
to file, where you wish to use this module
recal()
- recalibrates gyroscopereset()
- resets angle of gyroscope and motorsmovf(speed, distance)
- moves robot forwards in speed speed to distance average angle of motors, uses gyroscopemovb(speed, distance)
- moves robot backwards in speed speed to distance average angle of motors, uses gyroscoperot(speed, angle)
- rotates robot to angle degrees and in speed speed, uses gyroscopestickL(speed, angle)
- moves left stick module to desired height using angle degrees and speed speedstickR(speed, angle)
- moves right stick module to desired height using angle degrees and speed speedclaw(speed, angle)
- opens or closes claw module using angle degrees and speed speed
- Left large servo motor - Port B -
left
- Right large servo motor - Port C -
right
- Left medium servo motor - Port D -
sLeft
- Right medium servo motor - Port A -
sRight
- Gyro sensor - Port S1 -
gyro