Function as2::frame::angleMinError

Function Documentation

double as2::frame::angleMinError(const double theta1, const double theta2)

Compute the minumun angle between two angles. Maximun error is pi.

Parameters:
  • theta1 – double first angle.

  • theta2 – double second angle.

Returns:

Double yaw difference.