astuff / pacmod3

PACMod Board Rev 3 Driver
MIT License
24 stars 14 forks source link
drive-by-wire driver pacmod ros ros-interface ros2 vehicle-control

PACMod3 (Platform Actuation and Control MODule) ROS Driver

CircleCI

This ROS node is designed to allow the user to control a vehicle (see SUPPORTED VEHICLES below) with the PACMod drive-by-wire system, board revision 3. The main purpose of the driver is to provide a common ROS API to PACMod devices regardless of vehicle type or specific PACMod version in use.

For access to the DBC file which defines the CAN interface for the PACMod, see the pacmod_dbc repo.

Installation

Install pacmod3 using our debian repository:

sudo apt install apt-transport-https
sudo sh -c 'echo "deb [trusted=yes] https://s3.amazonaws.com/autonomoustuff-repo/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/autonomoustuff-public.list'
sudo apt update
sudo apt install ros-$ROS_DISTRO-pacmod3

Note: Previously the pacmod3 driver was released via the ROS buildfarm. This has changed as of Ubuntu 20.04 (ROS2 Foxy and ROS1 Noetic) to keep old package versions available for download, which gives users greater control over their installed software and also allows downgrades if an upgrade breaks software dependencies.

ROS API

The driver will automatically adapt the ROS API (published and subscribed topics) according to what data the PACMod system supports. Please consult the PACMod user manual you received with your vehicle in order to determine what types of data the PACMod system is able to send and receive.

Launch Arguments

Published Topics

Topics published on all platforms:

Topics published on supported platforms only:

Subscribed Topics

Topics subscribed on all platforms:

Topics subscribed on supported platforms only:

Supported Vehicles

At the moment, this pacmod3 driver supports DBC versions 3 through 12 for a core set of common messages. This means not all vehicle-specific CAN messages are currently supported. If you need a specific CAN message to be supported please open an issue here.

If you are unsure about which DBC version your existing PACMod supports, please reach out to our support team: https://autonomoustuff.com/support