Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RobTillaart/Arduino
/ getAverageLength
Method
getAverageLength
libraries/AverageAngle/AverageAngle.cpp:74–78 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
72
73
74
float AverageAngle::getAverageLength()
75
{
76
if (_count == 0) return 0;
77
return hypot(_sumy, _sumx) / _count;
78
}
79
80
81
AverageAngle::AngleType AverageAngle::type()
Callers
1
unittest
Function · 0.80
Calls
no outgoing calls
Tested by
1
unittest
Function · 0.64