Coder Social home page Coder Social logo

frk2 / opencaret Goto Github PK

View Code? Open in Web Editor NEW
56.0 13.0 21.0 306.63 MB

An open-source/open-data L3 highway autopilot system for modern cars. Initially being perfected on the Kia Soul EV

License: MIT License

Python 4.89% CMake 0.11% Shell 0.26% Jupyter Notebook 94.74%

opencaret's Introduction

Intro

An opensource / opendata Level-3 Highway autopilot system for all modern cars. Think Tesla Autopilot but for your civic, corolla, kia. The idea is to initially perfect this on the Kia Soul EV (since Polysync graciously gives us a opensource/openhardware drive by wire kit) and then build open hardware drive by wire kits for other cars.

Getting started

Hardware requirements

Everything has been tested on real hardware. I know its possible to setup fake interfaces (like a vcan0) device but none of that has been tested.

Can to USB covertor

You need a CAN to USB convertor. I currently use the one from canable.io which is excellent if you flash the candlelight firmware onto it. The default SLCAN implementation wasn't usable for me. Once thats done you can start up the CAN interface on your system using:

sudo ip link set can0 up type can bitrate 500000

Toyota 2016-2017 Radar from Denso

You can pick these up on ebay. We will eventually support many radars but this one is easily available and known to work well!

Software Requirements

Opencaret is being developed and tested on:

  • ROS2 (master)
  • Ubuntu 16.04/18.04

Opencaret is built around ROS2. You need to get ROS2 from master since ardent has a bug with the launch system thats being worked on.

ROS2: https://github.com/ros2/ros2/wiki/Linux-Development-Setup

You also need to get all submodules after you pull:

git submodule update --init --recursive

to build:

ament build --simlink-install

then source the ros setup file:

. ./install/setup.sh

The rest assumes that you have can0 up and running. The CAN setup is designed to start listening on all canX interfaces on your linux system.

launch the entire system. This currently means:

  • Working CAN bus controller
  • Working Radar controller

launch src/launch/all_launch.launch

you can observe radar topics with: ros2 topic echo /radar_tracks

opencaret's People

Contributors

frk2 avatar j-rojas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

opencaret's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.