openSimIO
openSimIO copied to clipboard
infinite rotary encoder
when configure Rotary Encoder (Type1), there isn't to manage value, example, min=1, max=359; when rotary value is great max, then restart from 1(min); and when rotary value is 1 min, the restart to 359 (max). This is importat to manage HDG (heading)
HDG=359+1=0, next value 0 (CW), and HDG=0-1=359, (CCW)