J1939 CAN Sensors in ROS 2: DBC Files, SocketCAN and a Generic Driver

A concept guide to reading automotive and heavy-equipment J1939 sensors in ROS 2 with a DBC-driven generic driver, SocketCAN, ros2_control and a no-hardware test setup.

In this article

  • Key idea and when to use it
  • The problem with robotizing real equipment
  • CAN and J1939 in two minutes
  • The gap in the ROS 2 ecosystem
  • How the generic driver works
  • What it enabled on a compact track loader
  • Getting started checklist
  • Our take: where this fits
  • Further reading
  • Practical notes