ESP Line Following Buggy
2nd Year Embedded System Project (Group 48 - 2023/24)
Loading...
Searching...
No Matches
Buggy_status Struct Reference

Represents the status of a buggy. More...

Public Attributes

float set_velocity
 The set velocity for the buggy.
 
float set_angle
 The set angle for the buggy.
 
float left_set_speed
 The set speed of the left wheel.
 
float right_set_speed
 The set speed of the right wheel.
 
float cumulative_angle_deg
 The cumulative angle (in degrees) traveled by the buggy.
 
float distance_travelled
 The distance travelled by the buggy.
 
float lf_line_last_seen
 The position of the last seen line by the left front sensor.
 
float accel_start_distance
 
float accel_start_angle
 
bool is_accelerating
 
float sq_set_angle
 The set angle for the square task.
 
float sq_set_distance
 The set distance for the square task.
 
int sq_stage
 The current stage of the square task.
 

Detailed Description

Represents the status of a buggy.

This struct holds various parameters related to the state of the buggy, including velocities, angles, distances, and task-specific variables.

Definition at line 91 of file main.cpp.

Member Data Documentation

◆ accel_start_angle

float Buggy_status::accel_start_angle

Definition at line 106 of file main.cpp.

◆ accel_start_distance

float Buggy_status::accel_start_distance

Definition at line 105 of file main.cpp.

◆ cumulative_angle_deg

float Buggy_status::cumulative_angle_deg

The cumulative angle (in degrees) traveled by the buggy.

Definition at line 99 of file main.cpp.

◆ distance_travelled

float Buggy_status::distance_travelled

The distance travelled by the buggy.

Definition at line 100 of file main.cpp.

◆ is_accelerating

bool Buggy_status::is_accelerating

Definition at line 107 of file main.cpp.

◆ left_set_speed

float Buggy_status::left_set_speed

The set speed of the left wheel.

Definition at line 96 of file main.cpp.

◆ lf_line_last_seen

float Buggy_status::lf_line_last_seen

The position of the last seen line by the left front sensor.

Definition at line 102 of file main.cpp.

◆ right_set_speed

float Buggy_status::right_set_speed

The set speed of the right wheel.

Definition at line 97 of file main.cpp.

◆ set_angle

float Buggy_status::set_angle

The set angle for the buggy.

Definition at line 94 of file main.cpp.

◆ set_velocity

float Buggy_status::set_velocity

The set velocity for the buggy.

Definition at line 93 of file main.cpp.

◆ sq_set_angle

float Buggy_status::sq_set_angle

The set angle for the square task.

Definition at line 110 of file main.cpp.

◆ sq_set_distance

float Buggy_status::sq_set_distance

The set distance for the square task.

Definition at line 111 of file main.cpp.

◆ sq_stage

int Buggy_status::sq_stage

The current stage of the square task.

Definition at line 112 of file main.cpp.


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