BrakingControl Class Reference#

Demo: demo::BrakingControl Class Reference
Demo
demo::BrakingControl Class Reference

Braking Control software component. More...

#include <braking_control.hpp>

Public Member Functions

void receiveWheelSpeedInput (const std::vector< WheelSpeedSensor > &wheelSpeeds)
 Receives input from wheel speed sensors to detect wheel lock-up.
 
void applyBrakingPressure (const std::vector< float > &wheelPressure)
 Applies appropriate braking pressure to individual wheels to prevent lock-up and maintain vehicle stability.
 
void collaborateWithABS (ABSType absMode)
 Works in conjunction with the ABS to provide smooth and controlled braking.
 
void collaborateWithESC (ESCType escMode)
 Works in conjunction with the ESC to enhance vehicle stability during braking maneuvers.
 
void adaptToRoadConditions (const RoadConditionData &roadCondition)
 Provides rapid response and modulation of braking force to adapt to changing road conditions.
 

Detailed Description

Braking Control software component.

Implementation Class: BrakingControl SW-CLS-BRAKECTL ../../../../_images/arrow-right-circle.svg
implements: SW-COMP-005

The Braking Control software component integrates ABS and ESC functionality to enhance vehicle safety and stability during braking maneuvers. It receives input from wheel speed sensors to detect wheel lock-up, applies appropriate braking pressure to individual wheels to prevent lock-up and maintain vehicle stability. It works in conjunction with the ABS to provide smooth and controlled braking and with the ESC to enhance vehicle stability during braking maneuvers. It also provides rapid response and modulation of braking force to adapt to changing road conditions.

Member Function Documentation

◆ adaptToRoadConditions()

void demo::BrakingControl::adaptToRoadConditions ( const RoadConditionData roadCondition)

Provides rapid response and modulation of braking force to adapt to changing road conditions.

Parameters
roadConditionThe current road condition data.

This function continuously monitors the road conditions and adapts the braking force and response accordingly. It takes into account factors such as traction, grip, and surface conditions to ensure optimal braking performance and vehicle safety.

◆ applyBrakingPressure()

void demo::BrakingControl::applyBrakingPressure ( const std::vector< float > &  wheelPressure)

Applies appropriate braking pressure to individual wheels to prevent lock-up and maintain vehicle stability.

Parameters
wheelPressureThe desired braking pressure for each wheel.

This function controls the braking system by applying the appropriate braking pressure to individual wheels based on the input data. It ensures that the wheels do not lock up during braking and helps maintain vehicle stability.

◆ collaborateWithABS()

void demo::BrakingControl::collaborateWithABS ( ABSType  absMode)

Works in conjunction with the ABS to provide smooth and controlled braking.

Parameters
absModeThe mode of operation for the ABS.

This function collaborates with the ABS system to provide smooth and controlled braking. It adjusts the ABS mode of operation based on input parameters to optimize braking performance and prevent wheel lock-up.

◆ collaborateWithESC()

void demo::BrakingControl::collaborateWithESC ( ESCType  escMode)

Works in conjunction with the ESC to enhance vehicle stability during braking maneuvers.

Parameters
escModeThe mode of operation for the ESC.

This function cooperates with the ESC system to enhance vehicle stability during braking maneuvers. It adjusts the ESC mode of operation based on input parameters to optimize stability control and prevent skidding or loss of control.

◆ receiveWheelSpeedInput()

void demo::BrakingControl::receiveWheelSpeedInput ( const std::vector< WheelSpeedSensor > &  wheelSpeeds)

Receives input from wheel speed sensors to detect wheel lock-up.

Parameters
wheelSpeedsThe wheel speed data from the sensors.

This function reads the wheel speed data from the sensors and analyzes it to detect any wheel lock-up conditions during braking maneuvers.


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