Giter Club home page Giter Club logo

t14_ros_bridge's Introduction

T-14 ROS bridge

ROS bridge to the T-14 car. Useful to perform data collection.

Requirements

  • ROS 2 Humble
  • Python
    • python-can
  • SocketCAN

Setup

Note: place your configuration file on the docs subdirectory.

Parameters

  • can_channel: name of the CAN interface. Default: can0
  • can_bustype: type of CAN interface being used on the host. Only SocketCAN was tested, use at your own risk. Default: socketcan
  • read_period: period in seconds between CAN readings. Default: 0.02
  • config_path: path to the configuration file. Check the example provided. Default: docs/ids.json

Subscribers

None

Publishers

  • ackermann: Ackermann state (only drive speed and steering angle are populated) (ackermann_msgs/AckermannDriveStamped)
  • right_wheels_speed: Speed measured on the right wheels (std_msgs/Float32)
  • left_wheels_speed: Speed measured on the left wheels (std_msgs/Float32)
  • drive_speed: Measured drive speed (std_msgs/Float32)
  • gnd_speed: Measured ground speed (std_msgs/Float32)

Running

Docker

  • Build the container docker build -t t14_ros_bridge ..
  • Connect the CAN interface and check to which USB port it is connected to. You can use dmesg to check that. From now on, /dev/ttyUSB0 is considered.
  • Run the container docker run --rm -it --privileged --device=/dev/ttyUSB0 t14_ros_bridge.

t14_ros_bridge's People

Contributors

carlostojal avatar

Watchers

Hugo Costelha avatar

t14_ros_bridge'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.