Skip to main content

OSCAR Vehicle API

Project description

OSCAR vehicle API

Репозиторий содержит API низкоуровневой системы управления автомобилем Alpha, разрабатываемой в рамках проекта OSCAR, для беспилотных транспортных средств.

Установка с PyPI

pip3 install --user oscar_vehicle_api

Установка из исходников

git clone https://gitlab.com/starline/oscar_vehicle_api.git && cd oscar_vehicle_api
pip3 install --user -e .

Использование

import oscar_vehicle_api as oscar
vehicle = oscar.Vehicle(“/dev/ttyACM0”)
vehicle.drive()
vehicle.steer(20)
vehicle.move(10)
vehicle.manual()
vehicle.led_blink()
vehicle.emergency_stop()
vehicle.recover()
vehicle.left_turn_signal()
vehicle.right_turn_signal()
vehicle.emergency_signals()
vehicle.turn_off_signals()
vehicle.get_vehicle_speed()

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

oscar_vehicle_api-2.0.tar.gz (16.7 kB view details)

Uploaded Source

Built Distribution

oscar_vehicle_api-2.0-py3-none-any.whl (21.6 kB view details)

Uploaded Python 3

File details

Details for the file oscar_vehicle_api-2.0.tar.gz.

File metadata

  • Download URL: oscar_vehicle_api-2.0.tar.gz
  • Upload date:
  • Size: 16.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.10

File hashes

Hashes for oscar_vehicle_api-2.0.tar.gz
Algorithm Hash digest
SHA256 8a3ca88e7f8e726a7fdebfab8fc7db57c184b7d7372d2a2a955896b158818621
MD5 05b6d67e12dfe41bcc6f3fa43a3e50e7
BLAKE2b-256 f08c49f9afb3ea332c40ff29a775533b77933842e29f4190bcf271ccd8fcb6b1

See more details on using hashes here.

File details

Details for the file oscar_vehicle_api-2.0-py3-none-any.whl.

File metadata

  • Download URL: oscar_vehicle_api-2.0-py3-none-any.whl
  • Upload date:
  • Size: 21.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.10

File hashes

Hashes for oscar_vehicle_api-2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2534ebd5049cc031949b21a32d84a7ce8ca76caa921882cc06e8fc53a9faf7c6
MD5 4dfd9d4150e167f6367f412bc2eacf42
BLAKE2b-256 13b3f5fc9d12753e04cd06aac9ddb45150edc83c0da09a7db6c91861db6fe12e

See more details on using hashes here.

Supported by

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