ESP Line Following Buggy
2nd Year Embedded System Project (Group 48 - 2023/24)
|
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. | |
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.
float Buggy_status::cumulative_angle_deg |
float Buggy_status::distance_travelled |
float Buggy_status::left_set_speed |
float Buggy_status::lf_line_last_seen |
float Buggy_status::right_set_speed |
float Buggy_status::set_velocity |
float Buggy_status::sq_set_angle |
float Buggy_status::sq_set_distance |
int Buggy_status::sq_stage |