Skip to main content
Version: 3.2.1

PID Tuner

Setter Functions​

pid_tuner_enable()​

Enables PID Tuner.

void pid_tuner_enable();

pid_tuner_disable()​

Disables PID Tuner.

void pid_tuner_disable();

pid_tuner_toggle()​

Toggles PID tuner between enabled and disables.

void pid_tuner_toggle();

pid_tuner_iterate()​

Iterates through controller inputs to modify PID constants.

void pid_tuner_iterate();

pid_tuner_print_brain_set()​

Toggle for printing the display of the PID Tuner to the brain.

input true prints to brain, false doesn't

void pid_tuner_print_brain_set(bool input);

pid_tuner_print_terminal_set()​

Toggle for printing the display of the PID Tuner to the terminal.

input true prints to terminal, false doesn't

void pid_tuner_print_terminal_set(bool input);

pid_tuner_increment_p_set()​

Sets the value that PID Tuner increments P.

p p will increase by this

void pid_tuner_increment_p_set(double p);

pid_tuner_increment_i_set()​

Sets the value that PID Tuner increments I.

i i will increase by this

void pid_tuner_increment_i_set(double i);

pid_tuner_increment_d_set()​

Sets the value that PID Tuner increments D.

d d will increase by this

void pid_tuner_increment_d_set(double d);

pid_tuner_increment_start_i_set()​

Sets the value that PID Tuner increments Start I.

start_i start i will increase by this

void pid_tuner_increment_start_i_set(double start_i);

Getter Functions​

pid_tuner_enabled()​

Checks if PID Tuner is enabled.

True is enabled, false is disabled.

bool pid_tuner_enabled();

pid_tuner_print_terminal_enabled()​

Returns true if printing to terminal is enabled.

bool pid_tuner_print_terminal_enabled();

pid_tuner_print_brain_enabled()​

Returns true if printing to brain is enabled.

bool pid_tuner_print_brain_enabled();

pid_tuner_increment_p_get()​

Returns the value that PID Tuner increments P.

double pid_tuner_increment_p_set();

pid_tuner_increment_i_set()​

Returns the value that PID Tuner increments I.

double pid_tuner_increment_i_set();

pid_tuner_increment_d_set()​

Returns the value that PID Tuner increments D.

double pid_tuner_increment_d_set();

pid_tuner_increment_start_i_set()​

Returns the value that PID Tuner increments Start I.

double pid_tuner_increment_start_i_set();