setYawDomain

open fun setYawDomain(newDomain: IMUEx.YawDomain)

Sets the domain range of what the yaw field will return. By default, this is set to the expected behaviour of [-180, 180) degrees, but can be adjusted here to one of the YawDomain options. Note that this yaw domain will only apply to the yaw field, not in the IMU interface overrides.

Parameters

newDomain

the new domain of the yaw property