|
Thunderbots Project
|
#include <trajectory_path_with_cost.h>

Public Member Functions | |
| TrajectoryPathWithCost (const TrajectoryPath &traj_path) | |
| bool | collides () const |
Public Attributes | |
| TrajectoryPath | traj_path |
| double | collision_duration_front_s = 0.0 |
| double | collision_duration_back_s = 0.0 |
| double | first_collision_time_s = std::numeric_limits<double>::max() |
| ObstaclePtr | colliding_obstacle = nullptr |
| double | cost = 0.0 |
A wrapper around TrajectoryPath for holding additional information about the cost of the trajectory path
| bool collides | ( | ) | const |
Returns true if the trajectory collides with an obstacle