Coder Social home page Coder Social logo

krobinson / raptor-dbw-ros2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from neweagleraptor/raptor-dbw-ros2

0.0 0.0 0.0 167 KB

New Eagle drive-by-wire development kit - In active development

License: BSD 2-Clause "Simplified" License

C++ 90.47% Python 6.32% CMake 3.20%

raptor-dbw-ros2's Introduction

raptor-dbw-ros2

This is a continuation of the raptor_dbw_ros repo but in ROS2.
This is the product of transferring the ROS1 codebase to ROS2.

This repository contains a collection of ROS2 packages which allow DBW kit developers to quickly implement a generic ROS2 node for interacting with the New Eagle Raptor controller.

Packages

  • can_dbc_parser - module for handling everything related to translating CAN messages to ROS
  • raptor_dbw_can - DBW CAN driver
  • raptor_dbw_joystick - a demo that allows you to use a game controller to interact with the DBW ROS2 node
  • raptor_dbw_msgs - DBW ROS2 message definitions
  • raptor_pdu - power distribution unit (PDU) driver. The PDU is a separate CAN-enabled device that's part of New Eagle's product line.
  • raptor_pdu_msgs - PDU ROS2 message definitions

Installing and building

Official Releases

raptor-dbw-ros2 is being officially released through the ROS Build Farm.
Latest release version is foxy-1.2.0.

Building from source

raptor-dbw-ros2 can be built from source using colcon build. It also requires package kvaser-interface.

  1. Create a ROS2 workspace. Instructions below assume the workspace was created in directory YourWorkspace.
  2. cd YourWorkspace/src
  3. git clone https://github.com/NewEagleRaptor/raptor-dbw-ros2.git

Usage

Running raptor_dbw_can with kvaser hardware:

  1. Make sure kvaser-interface is built and installed first. You can get it from github:
  2. clone this repository (see "Building from source")
  3. modify the launch parameters file in raptor_dbw_can/launch/launch_params.yaml
    • "hardware_id" is the serial number (S/N) for the kvaser hardware. This must match your hardware.
    • "circuit_id" is the can channel number (0-n)
  4. in the terminal, with the path set to the base of the workspace:
    • colcon build --packages-up-to raptor_dbw_can
    • ros2 launch raptor_dbw_can raptor_dbw_can_launch.py

raptor-dbw-ros2's People

Contributors

bgervan avatar krobinson avatar neweagleraptor 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.