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
There is no definite position for the throttle on the joystick, as explained in the comments of function get_joy_inputs.
The code will read whatever position the throttle is in the start of the simulation and will adjust (add/subtract) as you move the throttle when the simulation is running.
So, don't start at full throttle, nor at idle. Somewhere in between works for me.
Let me know if this helps and if you succeed running it.
Cheers
def get_joy_inputs(joystick, U_trim, fr):
'''
function that will read joystick positions and adjust controls:
1. joy will change controls on top of trim point
2. trim settings (buttons) will change trim point
3. engine does not have trim function, but depending on
button pressed, throttle should be commanded left/right/both
I am trying to implement this model. I have an actual throttle with me. What position should i use of throttle to begin with
The text was updated successfully, but these errors were encountered: