updateHeading method

void updateHeading(
  1. double heading
)

Updates the current heading angle, in degrees clockwise, relative to north.

Parameters:

  • heading — a float64 number.