5#include "software/ai/navigator/trajectory/bang_bang_trajectory_2d.h"
22 double trajectory_end_time_s)
23 : trajectory(trajectory), trajectory_end_time_s(trajectory_end_time_s){};
31 : trajectory(trajectory), trajectory_end_time_s(trajectory->getTotalTime()){};
48 return trajectory_end_time_s;
57 trajectory_end_time_s = new_end_time_sec;
61 std::shared_ptr<Trajectory2D> trajectory;
62 double trajectory_end_time_s;
Definition trajectory_path_node.h:14
TrajectoryPathNode(const std::shared_ptr< Trajectory2D > &trajectory)
Definition trajectory_path_node.h:30
const std::shared_ptr< Trajectory2D > & getTrajectory() const
Definition trajectory_path_node.h:37
void setTrajectoryEndTime(const double &new_end_time_sec)
Definition trajectory_path_node.h:55
const double & getTrajectoryEndTime() const
Definition trajectory_path_node.h:46
TrajectoryPathNode(const std::shared_ptr< Trajectory2D > &trajectory, double trajectory_end_time_s)
Definition trajectory_path_node.h:21