rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
controllers
tcu
gc_auto.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
gear_controller.h
"
4
5
#if EFI_TCU
6
class
AutomaticGearController
:
public
GearControllerBase
{
7
public
:
8
AutomaticGearController
();
9
10
void
update
();
11
void
findDesiredGear
();
12
GearControllerMode
getMode
()
const
{
13
return
GearControllerMode::Automatic
;
14
}
15
private
:
16
void
shift
(
float
speed,
float
throttle, uint8_t (*curve)[TCU_TABLE_WIDTH],
gear_e
gear);
17
void
shift
(
float
speed,
float
throttle, uint8_t (*curve)[TCU_TABLE_WIDTH],
gear_e
gear,
bool
down);
18
};
19
20
AutomaticGearController
*
getAutomaticGearController
();
21
#endif
// EFI_TCU
AutomaticGearController
Definition
gc_auto.h:6
AutomaticGearController::update
void update()
Definition
gc_auto.cpp:11
AutomaticGearController::AutomaticGearController
AutomaticGearController()
Definition
gc_auto.cpp:8
AutomaticGearController::getMode
GearControllerMode getMode() const
Definition
gc_auto.h:12
AutomaticGearController::shift
void shift(float speed, float throttle, uint8_t(*curve)[TCU_TABLE_WIDTH], gear_e gear)
Definition
gc_auto.cpp:43
AutomaticGearController::findDesiredGear
void findDesiredGear()
GearControllerBase
Definition
gear_controller.h:11
getAutomaticGearController
AutomaticGearController * getAutomaticGearController()
Definition
gc_auto.cpp:55
gear_controller.h
gear_e
gear_e
Definition
rusefi_enums.h:494
GearControllerMode
GearControllerMode
Definition
rusefi_enums.h:824
GearControllerMode::Automatic
@ Automatic
Generated on Sat Sep 27 2025 00:10:06 for rusEFI by
1.9.8