This release is a pre-release and may not be stable for production use.
OSCAR vehicle API
Репозиторий содержит API низкоуровневой системы управления, разрабатываемой в рамках проекта OSCAR, для беспилотных транспортных средств.
Установка с PyPI
pip install --user oscar_vehicle_api
Установка из исходников
git clone https://gitlab.com/starline/oscar_vehicle_api.git && cd oscar_vehicle_api
pip install --user -e .
Использование
import oscar_vehicle_api
vehicle = oscar_vehicle_api.LexusRX450H(“/dev/ttyACM0”) # начало работы с автомобилем
vehicle.auto_mode() # перехват управления автомобилем
vehicle.manual_mode() # ручной режим управления автомобилем
vehicle.set_vehicle_throttle # управление ускорением автомобиля в процентах
vehicle.set_steering_wheel_torque # управление усилием на руле в процентах
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_steering_wheel_angle_and_velocity() # получить положение и скорость руля
vehicle.get_steering_wheel_and_eps_torques # получить усилие на руле и системе EPS
vehicle.get_vehicle_speed # получить скорость автомобиля
vehicle.get_vehicle_wheels_speed # получить скорость колес автомобиля
Metadata
Release files for oscar-vehicle-api 1.0b2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| oscar_vehicle_api-1.0b2.tar.gz | 15.6 kB | Without provenance | Details for oscar_vehicle_api-1.0b2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| oscar_vehicle_api-1.0b2-py2-none-any.whl | Python 2 | none | any | Details for oscar_vehicle_api-1.0b2-py2-none-any.whl |
Total release size: 36.5 kB
Release files / oscar_vehicle_api-1.0b2.tar.gz
| Download URL | oscar_vehicle_api-1.0b2.tar.gz |
|---|---|
| Size | 15.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9a6c721646cdc6494408cadbc658f9e223c47fd0d48b9223d2bab0df4c6ea0d5
|
|
BLAKE2b-256 checksum How to use checksums |
558da574055a81b34928df46d02dc1d58c2e68f6e686d60cde2a0818bab0dacb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/2.7.12
|
Release files / oscar_vehicle_api-1.0b2-py2-none-any.whl
| Download URL | oscar_vehicle_api-1.0b2-py2-none-any.whl |
|---|---|
| Size | 20.9 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
e54770598cb5f7a8ae65ef872529e375a70e90ab26893a82c83c03e77b6ce943
|
|
BLAKE2b-256 checksum How to use checksums |
5cbf3d9da493c1b9237f6c790193960b26aafb9be3a55c70c3932a6b08d1c11c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/2.7.12
|
Security for oscar-vehicle-api 1.0b2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.