Autoware.Auto
autoware::motion::planning::parking_planner::ParkingPlanner Class Reference

Parking motion planner. More...

#include <parking_planner.hpp>

Public Member Functions

 ParkingPlanner (const BicycleModelParameters< float64_t > &parameters, const NLPCostWeights< float64_t > &nlp_weights, const VehicleState< float64_t > &lower_state_bounds, const VehicleState< float64_t > &upper_state_bounds, const VehicleCommand< float64_t > &lower_command_bounds, const VehicleCommand< float64_t > &upper_command_bounds)
 Create a parking motion planner object. This can be changed to be dependency-injection. More...
 
PlanningResult plan (const VehicleState< float64_t > &current_state, const VehicleState< float64_t > &goal_state, const std::vector< Polytope2D< float64_t >> &obstacles) const
 Plan a maneuver in a synchronous manner. This call blocks. More...
 
const BicycleModelParameters< float64_t > & get_parameters () const
 

Detailed Description

Parking motion planner.

Constructor & Destructor Documentation

◆ ParkingPlanner()

autoware::motion::planning::parking_planner::ParkingPlanner::ParkingPlanner ( const BicycleModelParameters< float64_t > &  parameters,
const NLPCostWeights< float64_t > &  nlp_weights,
const VehicleState< float64_t > &  lower_state_bounds,
const VehicleState< float64_t > &  upper_state_bounds,
const VehicleCommand< float64_t > &  lower_command_bounds,
const VehicleCommand< float64_t > &  upper_command_bounds 
)

Create a parking motion planner object. This can be changed to be dependency-injection.

Parameters
[in]parametersParameters of the vehicle model to use
[in]nlp_weightsCost function weight parameters to use in the non-linear optimization
[in]lower_state_boundsLower bounds on the states (applied throught the horizon)
[in]upper_state_boundsUpper bounds on the states (applied throught the horizon)
[in]lower_command_boundsLower bounds on the commands (applied throught the horizon)
[in]upper_command_boundsUpper bounds on the commands (applied throught the horizon)

Member Function Documentation

◆ get_parameters()

const BicycleModelParameters<float64_t>& autoware::motion::planning::parking_planner::ParkingPlanner::get_parameters ( ) const
inline

◆ plan()

PlanningResult autoware::motion::planning::parking_planner::ParkingPlanner::plan ( const VehicleState< float64_t > &  current_state,
const VehicleState< float64_t > &  goal_state,
const std::vector< Polytope2D< float64_t >> &  obstacles 
) const

Plan a maneuver in a synchronous manner. This call blocks.

Parameters
[in]current_stateState of the vehicle at the start of the maneuver
[in]goal_stateState the vehicle should be in at the end of the maneuver
[in]obstaclesList of static obstacles to avoid, in the form of polyhedra
Returns
Result of the planning procedure

The documentation for this class was generated from the following files: