Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Driver Display Feature

Data from Vehicle

Time

The time is pulled from the Raspberry Pi

Speed

Code Block
  id: 1936
  source: STEERINGMOTOR_CONTROLLER
  # target: DRIVER_DISPLAY, MOTOR_CONTROLLER"TELEMETRY"
   msg_name: "cruise_targetmotor velocity"
  can_data {
    u8u16 {
      field_name_1: "vehicle_velocity_left"
      field_name_2: "target speedvehicle_velocity_right"
    }
  }

Right / Left Signal

Code Block
msg {
  id: 24
  source: STEERING
  target: "LIGHTS"
  msg_name: "lights"
  can_data {
    u8 {
      field_name_1: "lights_id"
      field_name_2: "state"
    }
  }
}

Battery Change

Code Block
msg {
  id: 47
  source: CHARGER
  # target: telemetry
  msg_name: "charger info"
  can_data {
    u16 {
      field_name_1: "current"
      field_name_2: "voltage"
      field_name_3: "status_bitset"
    }
  }
}

Cruise Control

Code Block
id: 41
  source: STEERING
  # target: TELEMETRY
  msg_name: "cruise control command"
  can_data {
    u8 {
      field_name_1: "command"
    }
  }

Drive State

Code Block
id: 22
  source: MOTOR_CONTROLLER
  # target: 
  msg_name: "drive state"
  can_data {
    u16 {
      field_name_1: "drive_state"
    }
  }

Lights

Code Block
id: 24
  source: STEERING
  # target: LIGHTS
  msg_name: "lights"
  can_data {
    u8 {
      field_name_1: "lights_id"
      field_name_2: "state"
    }
  }

BPS Warning

Code Block
id: 0
  source: BMS_CARRIER
  # target: CENTRE_CONSOLE
  msg_name: "bps heartbeat"
  is_critical: true
  can_data {
    u8 {
      field_name_1: "status"
    }
  }

BMS Over Voltage

Code Block
id: 33
  source: BMS_CARRIER
  # target: TELEMETRY
  msg_name: "battery aggregate vc"
  msg_readable_name: "battery aggregate voltage and current"
  can_data {
    u32 {
      field_name_1: "voltage"
      field_name_2: "current"
    }
  }

MCI Over Voltage

Code Block
id: 34
  source: CENTRE_CONSOLE
  # target: TELEMETRY
  msg_name: "state transition fault"
  msg_readable_name: "motor controller voltage current"
  can_data {
    u16 {
      field_name_1: "state_machine"
      field_name_2: "fault_reason"
    }
  }

...