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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for oscar_vehicle_api-2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2534ebd5049cc031949b21a32d84a7ce8ca76caa921882cc06e8fc53a9faf7c6 |
|
MD5 | 4dfd9d4150e167f6367f412bc2eacf42 |
|
BLAKE2b-256 | 13b3f5fc9d12753e04cd06aac9ddb45150edc83c0da09a7db6c91861db6fe12e |