Midnight Sun Firmware
Loading...
Searching...
No Matches
SteeringStorage

Steering storage. More...

#include <steering.h>

Collaboration diagram for SteeringStorage:

Public Attributes

bool horn_enabled
 
bool regen_enabled
 
bool cruse_control_enabled
 
uint16_t cruise_control_target_speed_kmh
 
uint8_t drive_state
 
uint8_t light_signal
 
struct ButtonManagerbutton_manager
 
SteeringConfigconfig
 

Detailed Description

Steering storage.

Member Data Documentation

◆ button_manager

struct ButtonManager* button_manager

Button manager storage

◆ config

SteeringConfig* config

Pointer to the steering configuration data

◆ cruise_control_target_speed_kmh

uint16_t cruise_control_target_speed_kmh

Cruise control target speed in kilometers per hour

◆ cruse_control_enabled

bool cruse_control_enabled

Cruise control enabled (set by cruise control button callback)

◆ drive_state

uint8_t drive_state

Drive state (see DriveState)

◆ horn_enabled

bool horn_enabled

Horn enabled (set by horn button callback)

◆ light_signal

uint8_t light_signal

Light signal state (see LightsSignalState)

◆ regen_enabled

bool regen_enabled

Regen enabled (set by regen button callback)


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