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