Function as2::frame::getVector2DAngle

Function Documentation

double as2::frame::getVector2DAngle(const double x, const double y)

Compute the angle between of a given vector in 2D and the unitary vector (1,0).

Parameters:
  • x – double x coordinate of the vector.

  • y – double y coordinate of the vector.

Returns:

Double yaw angle.