Git Product home page Git Product logo

can_ros_interface's Introduction

can_ros_interface

This is a ros package that communicates with a vehicle through CAN

mylogo

Receiving and Decoding CAN data - ROS Package


This package collects and decodes the CAN data of the vehicle. It was made out of KIA Niro hybrid 2016, Mobileye, and personal vehicle simulator. In addition, data on KIA Niro hybrid 2016 and Mobileye were collected by requesting Awesome It Co., Ltd.

Getting Started


  • First, You need a CAN converter. (I used 'kvaser leaf light v2')
  • Install this package.
  • This package must be modified according to the CAN converter.

Prerequisites

$ tar -xvzf linuxcan.tar.gz
$ sudo apt-get install build-essential
$ cd linuxcan
$ make
$ sudo make install
$ cd canlib
$ make
$ sudo make install
$ cd ..
$ cd common
$ make
$ sudo ./installscript.sh
$ pip install python-can

Run the Program

  • Please change the codes' permissions in src with chmod
  • Niro and Mobileye
$ roslaunch kaai_can can_all.launch

Check the data

  • topics :

    msg_n // raw data about Niro

    msg_m // raw data about Mobileye

    niro_can // decoded data about Niro

    mobileye_can // decoded data about Mobileye

  • check the topics with rostopic

$ rostopic echo [topic]

Pictures


echo_niro

Niro

echo_mobileye

Mobileye

Tested


  • Cars :

    KIA Niro Hybrid 2016

    Mobileye 5

    Personal vehicle simulator (KaAI Lab, Kookmin Univ.)

  • CAN converter :

    kvaser leaf light v2

  • OS :

    Ubuntu 18.04

  • ROS :

    ROS Melodic

can_ros_interface's People

Contributors

jimmykim0820 avatar

Watchers

James Cloos avatar  avatar

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.