You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The method "CalculatePOVValue" on the JoystickInput class returns 0 or 1.0. Shouldn't it return the angle of the POV (in degrees) that is, the value of the POV divided by 100?
The text was updated successfully, but these errors were encountered:
-1 when the nothing is being pressed
or
0,45000,90000,135000,180000,225000,270000,315000
These last values represent the angle in degrees where the button is pointing (north is zero, east is 90 degress, etc.).
I dug a little more to understand the reason behind this. It happens that in the application the POV is being used to raise or lower the drone - hence, only two values are actually used. However i think that this should be done by some kind of mapping somewhere in the UI or the controller - and not by limiting the values returned by the joystick "driver".
The method "CalculatePOVValue" on the JoystickInput class returns 0 or 1.0. Shouldn't it return the angle of the POV (in degrees) that is, the value of the POV divided by 100?
The text was updated successfully, but these errors were encountered: