Formula Student Autonomous Systems
The code for the main driverless system
Loading...
Searching...
No Matches
control_command.hpp
Go to the documentation of this file.
1#pragma once
2
4
6 double throttle_fl = 0.0; // Throttle command [-1.0, 1.0]
7 double throttle_fr = 0.0; // Throttle command [-1.0, 1.0]
8 double throttle_rl = 0.0; // Throttle command [-1.0, 1.0]
9 double throttle_rr = 0.0; // Throttle command [-1.0, 1.0]
10 double steering_angle = 0.0; // Steering angle command in radians
11
12 ControlCommand() = default;
15};
16
17} // namespace common_lib::structures
ControlCommand(double throttle_fl, double throttle_fr, double throttle_rl, double throttle_rr, double steering_angle)