UAVCAN

From STorM32-BGC Wiki
Revision as of 08:40, 29 July 2017 by OlliW (talk | contribs)
Jump to navigation Jump to search

The information on this page refers to firmware v2.30 and higher.

The STorM32 gimbal controller supports UAVCAN. This allows communicating with the STorM32 board via a CAN bus, very similar to the communication through the serial interfaces or Wifi.

Uavcan Messages

In Uavcan speach this are "data types"


Configuration

The Uavcan related parameters are split into the "normal" and the "Uavcan" parameter sections. The parameters in the normal section are accessible like any other parameter, e.g. via the GUI. The parameters in the Uavcan section are however accessible only by using Uavcan's mechanism for Node configuration. The two sections are exclusive, that is, a parameter is found in one or the other section, but not in both. The single exception is the Uavcan Node ID parameter, which can be configured by both mechanisms.

GUI Parameters

The parameters in the normal section are found in the [GUI:Interfaces Tool] window, which is accessible via the [GUI:Tools] menu.

  • Uavcan Configuration: Set to “normal” to activate the Uavcan communication. The STorM32 boards needs to be reset for a change to become active.
  • Uavcan Node ID: Sets the node ID of the STorM32 controller (default = 71).

Uavcan Parameters

The parameters in the Uavcan section can be accessed e.g. using the UAVCAN GUI Tool, and a SLCAN adapter. A uc4h SLCAN adapter provides probably the cheapest solution.