truck-code
include
control
long_controller.h
Go to the documentation of this file.
1
// *
3
// * long_controller.h
4
// *
5
// * This file contains the controller class used for longitudonal control. This
6
// * class includes methods for:
7
// * - storing updated vehicle state information
8
// * - issuing commands for both the torque and the break
9
// *
10
// * @author Abdul Rahman Kreidieh
11
// * @version 1.0.0
12
// * @date July 11, 2018
13
// */
14
//
15
//#ifndef SRC_CONTROL_LONG_CONTROLLER_H_
16
//#define SRC_CONTROL_LONG_CONTROLLER_H_
17
//
18
//#include "long_utils.h"
19
//
20
//
21
//class LongController
22
//{
23
//public:
24
// long_vehicle_state *state;
25
//
26
// /** Update the state vehicle state object.
27
// *
28
// * Information is collected from PPS objects whenever they are updated and
29
// * placed directly in the referenced object.
30
// */
31
// void update_vehicle_state();
32
//
33
// /** Apply an action to the automated truck.
34
// *
35
// * This is the primary method responsible for performing the control
36
// * process, and the component that should be modified when trying to test
37
// * new control algorithms. This method has access to the vehicle state
38
// * information (stored under state), and can send torque and break commands
39
// * using the auxiliary methods within the class.
40
// */
41
// void apply_action();
42
//
43
// /** Sends a torque command (blank)
44
// *
45
// * (blank).
46
// */
47
// void send_cmd_torque(float, bool);
48
//
49
// /** Sends a brake command (blank).
50
// *
51
// * (blank).
52
// */
53
// void send_cmd_brake(float, bool);
54
//};
55
//
56
//
57
//
58
//#endif /* SRC_CONTROL_LONG_CONTROLLER_H_ */
Generated by
1.8.13