Skip to content

SignalDescription

#include <mrx/can/SignalCodec.hpp>
struct mrx::can::SignalDescription

Layout and physical conversion parameters for one CAN signal.

ReturnNameDescription
intstartBitDBC start bit, numbered from bit 0 of byte 0.
intbitLengthNumber of signal bits, between 1 and 64.
SignalByteOrderbyteOrderDBC Intel or Motorola ordering.
boolisSignedInterpret the raw value as two’s complement when true.
doublefactorPhysical scaling factor.
doubleoffsetPhysical offset.

int startBit

DBC start bit, numbered from bit 0 of byte 0.


int bitLength

Number of signal bits, between 1 and 64.


SignalByteOrder byteOrder

Type: SignalByteOrder

DBC Intel or Motorola ordering.


bool isSigned

Interpret the raw value as two’s complement when true.


double factor

Physical scaling factor.


double offset

Physical offset.