Formula Student Autonomous Systems
The code for the main driverless system
Loading...
Searching...
No Matches
common_lib::structures::ControlCommand Struct Reference

#include <control_command.hpp>

Collaboration diagram for common_lib::structures::ControlCommand:
Collaboration graph

Public Member Functions

 ControlCommand ()=default
 
 ControlCommand (double throttle_fl, double throttle_fr, double throttle_rl, double throttle_rr, double steering_angle)
 

Public Attributes

double throttle_fl = 0.0
 
double throttle_fr = 0.0
 
double throttle_rl = 0.0
 
double throttle_rr = 0.0
 
double steering_angle = 0.0
 

Detailed Description

Definition at line 5 of file control_command.hpp.

Constructor & Destructor Documentation

◆ ControlCommand() [1/2]

common_lib::structures::ControlCommand::ControlCommand ( )
default

◆ ControlCommand() [2/2]

common_lib::structures::ControlCommand::ControlCommand ( double  throttle_fl,
double  throttle_fr,
double  throttle_rl,
double  throttle_rr,
double  steering_angle 
)
inline

Definition at line 13 of file control_command.hpp.

Member Data Documentation

◆ steering_angle

double common_lib::structures::ControlCommand::steering_angle = 0.0

Definition at line 10 of file control_command.hpp.

◆ throttle_fl

double common_lib::structures::ControlCommand::throttle_fl = 0.0

Definition at line 6 of file control_command.hpp.

◆ throttle_fr

double common_lib::structures::ControlCommand::throttle_fr = 0.0

Definition at line 7 of file control_command.hpp.

◆ throttle_rl

double common_lib::structures::ControlCommand::throttle_rl = 0.0

Definition at line 8 of file control_command.hpp.

◆ throttle_rr

double common_lib::structures::ControlCommand::throttle_rr = 0.0

Definition at line 9 of file control_command.hpp.


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