-
 

pacmod repository

Repository Summary

Checkout URI https://github.com/astuff/pacmod.git
VCS Type git
VCS Version master
Last Updated 2022-01-06
Dev Status MAINTAINED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Packages

Name Version
pacmod2 3.0.0

README

PACMod2 (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 2. Note that this driver is meant for PACMod 2 systems and will not work for newer PACMod 3 systems. See the pacmod3 repo for a ROS driver for PACMod 3 systems.

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

Installation

Install pacmod 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-pacmod2

Note: Previously the pacmod 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

Launch Arguments

  • pacmod_vehicle_type: This should be set to match the vehicle you are using.
  • use_kvaser: Set this to true if a Kvaser CAN device is being used with Kvaser canlib drivers to connect to the PACMod. Defaults to false.
  • kvaser_hardware_id: The hardware id of the kvaser device, only applies if use_kvaser is true.
  • kvaser_circuit_id: The circuit/channel id that the PACMod is plugged into on the kvaser device, only applies if use_kvaser is true.
  • use_socketcan: Set this to true if Linux SocketCAN drivers are being used to connect to the PACMod. Defaults to false.
  • socketcan_device: The device id of the SocketCAN channel the PACMod is plugged into, only applies if use_socketcan is true.
  • namespace: The namespace of the PACMod driver, topics will be namespaced accordingly. Defaults to pacmod.

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

  • Polaris GEM Series (e2/e4/e6) MY 2016+
  • Polaris eLXD MY 2016+
  • Polaris Ranger X900
  • International Prostar+ 122
  • Lexus RX-450h MY 2016+

Note: If you have a pacmod system and don’t see your vehicle listed above, you likely have a PACMod3 system.

CONTRIBUTING

No CONTRIBUTING.md found.