Vehicle Control Unit 0.01
This is the c library for controlling the car.
Loading...
Searching...
No Matches
Public Attributes | List of all members
TelemetrySignal Struct Reference

#include <Telemetry.h>

Public Attributes

char name [32]
 
TelemetryType type
 
UnitId unit_id
 
uint32_t expected_rate_ms
 
uint32_t last_update
 
float custom_min
 
float custom_max
 
bool use_custom_limits
 
bool enabled
 
union {
   struct {
      uint32_t   can_id
 
      uint8_t   dlc
 
   }   can_info
 
   struct {
      bool   is_pwm
 
      uint16_t   pwm_frequency
 
   }   output_info
 
}; 
 

Detailed Description

Definition at line 17 of file Telemetry.h.

Member Data Documentation

◆ 

union { ... } TelemetrySignal::@1

◆ can_id

uint32_t TelemetrySignal::can_id

Definition at line 32 of file Telemetry.h.

◆ 

struct { ... } TelemetrySignal::can_info

◆ custom_max

float TelemetrySignal::custom_max

Definition at line 24 of file Telemetry.h.

◆ custom_min

float TelemetrySignal::custom_min

Definition at line 23 of file Telemetry.h.

◆ dlc

uint8_t TelemetrySignal::dlc

Definition at line 33 of file Telemetry.h.

◆ enabled

bool TelemetrySignal::enabled

Definition at line 26 of file Telemetry.h.

◆ expected_rate_ms

uint32_t TelemetrySignal::expected_rate_ms

Definition at line 21 of file Telemetry.h.

◆ is_pwm

bool TelemetrySignal::is_pwm

Definition at line 38 of file Telemetry.h.

◆ last_update

uint32_t TelemetrySignal::last_update

Definition at line 22 of file Telemetry.h.

◆ name

char TelemetrySignal::name[32]

Definition at line 18 of file Telemetry.h.

◆ 

struct { ... } TelemetrySignal::output_info

◆ pwm_frequency

uint16_t TelemetrySignal::pwm_frequency

Definition at line 39 of file Telemetry.h.

◆ type

TelemetryType TelemetrySignal::type

Definition at line 19 of file Telemetry.h.

◆ unit_id

UnitId TelemetrySignal::unit_id

Definition at line 20 of file Telemetry.h.

◆ use_custom_limits

bool TelemetrySignal::use_custom_limits

Definition at line 25 of file Telemetry.h.


The documentation for this struct was generated from the following file: