Function steering::end_of_straight_line

Function Documentation

void steering::end_of_straight_line(double x_i, double y_i, double theta, double direction, double length, double *x_f, double *y_f)

Computation of the end point on a straight line x_i, y_i: initial configuration theta: angle of straight line direction: driving direction {-1.0, 1.0} length: line length (positive) x_f, y_f: final configuration on straight line.