Skip to content

OSV CAN Bus Topology and Message Definition [WIP]

DRP edited this page Apr 1, 2019 · 3 revisions

OSV Controller Area Network (CAN)

This page is intended to document the topology of the CAN bus and list all message definition for development purposes. Currently under work in progress by Joey Zhu and Menson Li.

Installation

Run the following command

sudo apt-get install can-utils

Extra instructions found here (should not be necessary)

To test installation success, first plug in USB2CAN Converter.

  • Run this command to turn on CAN connection. The status light on the USB2CAN Converter should turn green.
sudo ip link set can0 up type can bitrate 250000
  • Run this command to turn off CAN connection. The status light on the USB2CAN Converter should turn red
sudo ip link set can0 down

Install the Python CAN library with this command:

pip install python-can

Topology

Insert the bus topology diagram here.

Message Definition

Device Specific Power up/down procedure

(Please list any special procedure for each device on the CAN bus)

  • Steer by wire (EPAS)
  • Propulsion by wire (motor controller)

Device Specific Message Definition

EPAS

Insert excel or some sort of table for all message definitions here.

Propulsion

Insert excel or some sort of table for all message definitions here.