Skip to main content

Helper library for Smart Home League

Project description

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.

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

smarthome_robot-0.1.5.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

smarthome_robot-0.1.5-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file smarthome_robot-0.1.5.tar.gz.

File metadata

  • Download URL: smarthome_robot-0.1.5.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for smarthome_robot-0.1.5.tar.gz
Algorithm Hash digest
SHA256 217d2c88e1c56b1b3c2b8bb901655e8f36e841344ba1fc805bf534ed9ea4c5bd
MD5 10063fdb4ddb25b8838ea9397191f80e
BLAKE2b-256 5b130de48448069e8b6d96e66e6428e6ae6a925b46ad05c5675f851ee1d5ebb5

See more details on using hashes here.

File details

Details for the file smarthome_robot-0.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for smarthome_robot-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 6f0ec75c0061749bd0bb8c4c7cfcb7eb5b68e01cf29595e8c29e501ca671a9b1
MD5 536291cd1ff31f15e6594dbd093a923a
BLAKE2b-256 c533d5e6094fad91a335911b80311f52826057e5d690846eb0d47b489cc5ec9f

See more details on using hashes here.

Supported by

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