Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

vector<double> trajectory_px = vector<double>{ 1, 0, -1, 0}

This vector defines the y position of a target point (unitless):

vector<double> trajectory_py = vector<double>{ 0, 1, 0, -1}

This vector defines the x speed to the target point. The sign gives the orientation in the cartesian coordinate system (unit m/sec):

...

vector<double> trajectory_vy = vector<double>{ 1, 0, -1, 0}

This vector defines the time the vehicle takes between two target points (unit sec):

...