46 #ifndef FASTRACK_STATE_POSITION_VELOCITY_REL_POSITION_VELOCITY_H 47 #define FASTRACK_STATE_POSITION_VELOCITY_REL_POSITION_VELOCITY_H 65 x_(tracker_x.Position() - planner_x.Position(),
66 tracker_x.Velocity() - planner_x.Velocity()) {}
73 const Vector3d &velocity)
75 x_(position, velocity) {}
PositionVelocityRelPositionVelocity(const PositionVelocity &tracker_x, const PositionVelocity &planner_x)
VectorXd ToVector() const
~PositionVelocityRelPositionVelocity()
void FromVector(const VectorXd &x)
const PositionVelocity & State() const
PositionVelocityRelPositionVelocity(const VectorXd &x)
void FromVector(const VectorXd &x)
VectorXd ToVector() const
PositionVelocityRelPositionVelocity(const PositionVelocity &other)
PositionVelocityRelPositionVelocity(const Vector3d &position, const Vector3d &velocity)
static constexpr size_t StateDimension()