◆ TrajectoryPlanner()
◆ findTrajectory()
| std::optional< TrajectoryPath > findTrajectory |
( |
const Point & |
start, |
|
|
const Point & |
destination, |
|
|
const Vector & |
initial_velocity, |
|
|
const KinematicConstraints & |
constraints, |
|
|
const std::vector< ObstaclePtr > & |
obstacles, |
|
|
const Rectangle & |
navigable_area, |
|
|
const std::optional< Point > & |
prev_sub_destination = std::nullopt |
|
) |
| |
Find a trajectory from the start position to the destination which attempts to avoid the list of obstacles.
- Parameters
-
| start | Start position of the trajectory |
| destination | Destination of the trajectory |
| initial_velocity | Initial velocity of the trajectory |
| constraints | Kinematic constraints of the trajectory |
| obstacles | List of obstacles to avoid |
| navigable_area | The navigable area of the field |
| prev_sub_destination | The previous sub destination of this robot. nullopt if there is no previous sub destination |
- Returns
- TrajectoryPath which attempts to avoid the obstacles
The documentation for this class was generated from the following files:
- src/software/ai/navigator/trajectory/trajectory_planner.h
- src/software/ai/navigator/trajectory/trajectory_planner.cpp