|
Formula Student Autonomous Systems
The code for the main driverless system
|
Classes | |
| struct | Cone |
| struct | ControlCommand |
| struct | Midpoint |
| MidPoint struct represents a potential path point with connections. More... | |
| struct | PathPoint |
| struct | Pose |
| Struct for pose representation. More... | |
| struct | Position |
| struct | VehiclePose |
| struct | VehicleState |
| struct | Velocities |
Enumerations | |
| enum class | TrackSide { RIGHT = 0 , LEFT = 1 } |
| define enum for right and left sides of the track. More... | |
Functions | |
| double | cross_product (const Position &p1, const Position &p2, const Position &p3) |
| Calculate the cross product of two vectors. | |
| double | euclidean_distance (const Position &p1, const Position &p2) |
| bool | operator< (const Position &lhs, const Position &rhs) |
|
strong |
define enum for right and left sides of the track.
Coherent with previous implementation that matched [true] to left and [false] to right
| Enumerator | |
|---|---|
| RIGHT | |
| LEFT | |
Definition at line 10 of file track_side.hpp.
| double common_lib::structures::cross_product | ( | const Position & | p1, |
| const Position & | p2, | ||
| const Position & | p3 | ||
| ) |
Calculate the cross product of two vectors.
| P1 | - Origin of the vector |
| P2 | - End of the vector |
| P3 | - Point to calculate the cross product |
Definition at line 18 of file position.cpp.

Definition at line 22 of file position.cpp.
Definition at line 14 of file position.cpp.