GithubHelp home page GithubHelp logo

v2x's Introduction

Library for V2X based on ROS2

Concept

ROS2 -> libv2x -> libv2x_msgs -> v2x

Prerequisites

Item Version
Linux Ubuntu 18.04 LTS
ROS2 Dashing Diademata
asn1c https://github.com/vlm/asn1c
asn1 file SAE J2735 May-2016, J2735_201603DA.asn

Build Instruction

Install ROS2 on Linux

Install asn1c

https://github.com/vlm/asn1c

Create ROS2 workspace directory and change directory

mkdir -p ws/src
cd ws

Clone source codes

git clone https://github.com/libv2x/v2x src

Build ASN1 codec

cp J2735_201603DA.asn libv2x/asn1/J2735_201603DA.asn
cd libv2x && ./codec.sh && cd ..

Build

colcon build  --symlink-install

Run Example

Terminal 1

source install/local_setup.bash
ros2 run v2x v2x_ieee1609dot3_devemu __log_level:=debug

Terminal 2

source install/local_setup.bash
ros2 run v2x v2x_ieee1609dot3 __log_level:=debug
[DEBUG] [rcl]: Subscription in wait set is ready
[DEBUG] [rcl]: Subscription taking message
[DEBUG] [rcl]: Subscription take succeeded: true
[DEBUG] [ieee1609dot3]: 1568364003.396481301
[DEBUG] [ieee1609dot3]: 3 32 510
[DEBUG] [rcl]: Waiting without timeout
[DEBUG] [rcl]: Timeout calculated based on next scheduled timer: false
[DEBUG] [rcl]: Guard condition in wait set is ready
[DEBUG] [rcl]: Waiting without timeout
[DEBUG] [rcl]: Timeout calculated based on next scheduled timer: false
[DEBUG] [rcl]: Subscription in wait set is ready
[DEBUG] [rcl]: Subscription taking message
[DEBUG] [rcl]: Subscription take succeeded: true
[DEBUG] [ieee1609dot3]: 1568364004.396473876
[DEBUG] [ieee1609dot3]: 3 32 510

v2x's People

Contributors

stevekwon avatar

Stargazers

 avatar Bramantio Yuwono avatar Ertan Şahin avatar Xuanlin Zeng avatar  avatar elmo avatar  avatar  avatar Baofu Wu avatar  avatar  avatar  avatar wenqingji avatar  avatar Deniz Kalaslioglu avatar Ash avatar Venkata Phani Vadapalli avatar  avatar Duke avatar  avatar Berkus Decker avatar  avatar ZHAMATUOFU avatar heng.zhang@miivii.com avatar  avatar Hong-Jong Jeong avatar Gyu-dong Han avatar  avatar

Watchers

James Cloos avatar wenqingji avatar  avatar Gyu-dong Han avatar

v2x's Issues

colcon build error

Hello, I am a student studying v2x in ros2.

I am writing an inquiry because the following error occurred while following the summary.

Could you tell me the solution?

Codecs have been created well.

Screenshot from 2023-01-16 17-56-55

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.