For some unnerving reason, in release builds, avgX tends to become NaN/undefined However, any kind of inspection (such as the following, or even a simple cout) appears to prevent the issue. This makes me uneasy, but I won't argue with what is working.
HACK These structs must be declared outside of vrpn_Connection (although we'd like to make them protected/private members) because aCC on PixelFlow doesn't handle nested classes correctly.