27#include "gflags/gflags.h"
29#include "modules/common/vehicle_state/proto/vehicle_state.pb.h"
30#include "modules/common_msgs/planning_msgs/planning_command.pb.h"
31#include "modules/common_msgs/routing_msgs/routing.pb.h"
61 std::list<apollo::hdmap::RouteSegments> *
const route_segments) = 0;
83 std::shared_ptr<routing::LaneWaypoint> &end_point)
const = 0;
static double LookForwardDistance(const double velocity)
virtual bool UpdatePlanningCommand(const planning::PlanningCommand &command)
apollo::hdmap::LaneWaypoint adc_waypoint_
The waypoint of the autonomous driving car
virtual void GetEndLaneWayPoint(std::shared_ptr< routing::LaneWaypoint > &end_point) const =0
Get the end point of PlanningCommand.
virtual std::vector< routing::LaneWaypoint > FutureRouteWaypoints() const =0
virtual bool GetRouteSegments(const common::VehicleState &vehicle_state, std::list< apollo::hdmap::RouteSegments > *const route_segments)=0
use heuristic forward length and backward length
planning::PlanningCommand last_command_
bool IsNewPlanningCommand(const planning::PlanningCommand &command) const
Check if the routing is the same as existing one in Map
virtual bool CanProcess(const planning::PlanningCommand &command) const =0
virtual bool GetNearestPointFromRouting(const common::VehicleState &state, apollo::hdmap::LaneWaypoint *waypoint) const =0
virtual bool ExtendSegments(const apollo::hdmap::RouteSegments &segments, double start_s, double end_s, apollo::hdmap::RouteSegments *const truncated_segments) const =0
virtual hdmap::LaneInfoConstPtr GetLaneById(const hdmap::Id &id) const =0
Get the Lane with the given id.
virtual double GetDistanceToDestination() const =0
virtual apollo::hdmap::LaneWaypoint GetAdcWaypoint() const =0
virtual ~PncMapBase()=default
Planning module main class.
std::shared_ptr< const LaneInfo > LaneInfoConstPtr
DECLARE_double(look_backward_distance)