38 double Evaluate(
const std::uint32_t order,
const double param)
const;
44 void AppendSegment(
const std::shared_ptr<Curve1d> trajectory);
51 std::vector<std::shared_ptr<Curve1d>> trajectory_segments_;
53 std::vector<double> accumulated_param_lengths_;
double Evaluate(const std::uint32_t order, const double param) const
PlanningContext is the runtime context in planning. It is persistent across multiple frames...
Definition: atomic_hash_map.h:25
Planning module main class. It processes GPS and IMU as input, to generate planning info...
std::string ToString() const
size_t NumOfSegments() const
PiecewiseTrajectory1d()=default
void AppendSegment(const std::shared_ptr< Curve1d > trajectory)
double ParamLength() const
Definition: piecewise_trajectory1d.h:32
virtual ~PiecewiseTrajectory1d()=default