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 hashes)

Uploaded source

Built Distribution

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

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page