smarthome-robot
Helper library for Smart Home League.
Install
pip install smarthome_robot
Usage
from smarthome_robot import RobotU14, RobotU19
# U14
robot = RobotU14(team_name="My Team")
robot.left_motor = 10.0
robot.right_motor = 10.0
val = robot.distance_front_left
# U19
robot = RobotU19(team_name="My Team")
x, y, z = robot.gps
roll, pitch, yaw = robot.imu
Value properties: bumper_left, bumper_right, distance_front_left, distance_front_right, distance_left, distance_right, left_motor, right_motor, left_encoder, right_encoder, led_on, led_play, led_step. Motors and LEDs have setters. Raw devices: _left_motor, _bumpers, _distance_sensors, etc.
Release files for smarthome-robot 0.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| smarthome_robot-0.1.6.tar.gz | 5.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| smarthome_robot-0.1.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.5 kB
Release files / smarthome_robot-0.1.6.tar.gz
| Download URL | smarthome_robot-0.1.6.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4bbd190850416bd41fd63a22adfdfc37ff43fd5b8b4c60d4d65f98be4a950aec
|
|
BLAKE2b-256 checksum How to use checksums |
e3df6a1bf1954b1187eebed407e255898091dc40dcae9c38f43589f3438ec3fc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Release files / smarthome_robot-0.1.6-py3-none-any.whl
| Download URL | smarthome_robot-0.1.6-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
65f20cbf9965d1ba7940475311b1e6066d0cbfb6fa66d5dace9c8b0165757bdd
|
|
BLAKE2b-256 checksum How to use checksums |
4c2f8cd12cd959e7c5a8cceec40ba4665c9bcbe0e4c33c01c01bb82e27bec212
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|