-
Notifications
You must be signed in to change notification settings - Fork 285
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Command horizontal and vertical throttles #308
Comments
Hi @IanOMHiggins you can use ''sim/cockpit2/engine/actuators/throttle_ratio_all '' to send throttle command one by one. You can define number of motors throttleRatios[0] = 0.5; // |
Hi, when I said 'manually', I actually meant 'through code' (I am using joystick input to inform my python api calls, bypassing xplane's joystick reader). Your answer is exactly what I was looking for! (well actually I used 'sim/cockpit2/engine/actuators/throttle_ratio' instead of 'sim/cockpit2/engine/actuators/throttle_ratio_all'). Interestingly, the 'sim/cockpit2/engine/actuators/throttle_ratio' DREF has four separate values for "vertical throttle", but they are always identical, even when the four engines are different speeds (due to roll/pitch commands, etc). Setting all four at once to the same value still allows the stick commands to provide roll/pitch moments, which is the exact behavior I desire. Thanks very much! |
if values are identical that means its just for lift throttle(if you know the flight dynamics you will understand) |
Hello,
I wish to fly the BETA eVTOL while manually control the vertical throttle with python3. This can be done with a joystick, but I see no writable dataref for this. I could control each propeller with a quadrotor dynamics controller, but I would ideally like to only alter the "Throttle Vertical" just like the joystick can do. Is this possible?
Thanks
Ian
The text was updated successfully, but these errors were encountered: