Skip to content
The VIA-AI open source driver assistance app supports Adaptive Cruise Control (ACC), Lane Keeping Assist System (LKAS), and CAN Bus integration functions. It enables the development of driver assistance capabilities for selected vehicles using a modern Android smartphone and hardware connectors.
Java C++ C CMake Other
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Docs Fixed documentation link typos Oct 25, 2019
System Remove unused 3rd libraries Sep 11, 2019
LICENSE Initial commit Aug 2, 2019
README.md Add disclaimer_20190902 & oruvacy statment_20190902 Sep 5, 2019

README.md

VIA-AI : Open Source Driver Assistance System

VIA-AI is an open source driver assistance app, supports Adaptive Cruise Control (ACC), Lane Keeping Assist System (LKAS), and CAN Bus integration functions. It enables the development of driver assistance capabilities for selected vehicles using a modern Android smartphone and hardware connectors.

Table of Contents

Requisites

Hardware Requirements

Android Requirements

  • Android 8.0 or higher

Supported Devices

Vendor Model Connector
HTC U11+ Type-C
HTC U12+ Type-C
GOOGLE Pixel2 Type-C

Supported Cars

Thanks the contribution of comma.ai & community, the part of vehicle control logic & CNABus DBC are referenced from openpilot

Make Model Supported Package Lateral Longitudinal No Accel Below No Steer Below Giraffe
Honda CR-V 2017-19 Honda Sensing Yes Stock 0mph 12mph Honda Bosch

Applications

App Name Purpose Permission Requirements
VIA-AI A dashcam app supports ACC, LKAS, video/CANBus record.1 CAMERA, INTERNET,
ACCESS_NETWORK_STATE,
READ_EXTERNAL_STORAGE,
WRITE_EXTERNAL_STORAGE,
ACCESS_COARSE_LOCATION,
ACCESS_FINE_LOCATION
VIA-AI Setting About system settings, user management.... INTERNET,
ACCESS_NETWORK_STATE,
READ_EXTERNAL_STORAGE,
WRITE_EXTERNAL_STORAGE
VIA-AI Camera Calibration Simple camera calibration app based on openCV CAMERA, READ_EXTERNAL_STORAGE,
WRITE_EXTERNAL_STORAGE

1 Only video data will be record.

Getting Started

Before driving, Please review the requisites and following installation guides to calibrate & configure VIA-AI system.

  1. Giraffe/Smartphone Mounts Installation Guide

    • Installing Giraffe & Panda
    • Installing smartphone mounts
  2. Application Tutorial

    • First launch
    • System calibration
    • User interfaces

Directory structure

.
├── Docs                    # The documents
└── System                  # Android Source code about VIA-AI
    ├── app                 # Main system, setting, camera calibration.
    ├── AutomotiveKernel    # Control algorithm about LKS/ACC.
    ├── Utility             # Android utilities for camera.
    ├── VIA_Libs            # VIA private library : web server, sensing module.

Help and Crash Report

Contact Us : via_ai@via.com.tw

Issue List

Issue
Panda connection fail Smartphone couldn't identify device when panda connecting, or need to try different connection scenario between Panda, OTG hub and phone to find device.
System charging issue Some phone models couldn't charging from panda by OTG hub

Disclaimer & Privacy Sstatement

License

MIT License

Copyright (c) 2019 VIA, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

You can’t perform that action at this time.