-
Notifications
You must be signed in to change notification settings - Fork 15
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
Thrust Vector Frame Of Reference Confusion #128
Comments
In 0.5.3.2 |
Appreciate adding an alternative to going through DeltaV references ha. I think for now the best way to control these gimbles is use single engine with PID through a COM -> engine location input on the YAW/Pitch override and just disable any control surfaces until there’s a way to directly control engine throttle/gimbles independently. (Assuming the engine location is the pivot point of the vector). |
Whoops didn’t mean to close prematurely |
I expanded the the engine bindings in 0.5.3.3 that should help with individual engine control: Note: If you add multiple engines to the vessel via the symmetry tool in the VAB all these engines are somehow bound to each other an can not be controlled individually (most likely a glitch in the game). To support individual throttle each engine has to be added one by one. Additionally I added an optional Here is a little test-script that does not do much more than demonstrate the basic functionality:
|
This issue is stale because it has been open for 60 days with no activity. |
This issue was closed because it has been inactive for 14 days since being marked as stale. |
I'm attempting to use vessel.delta_v.stages[0].active_engines[0].get_thrust_vector() to control an asymmetrical engine. The goal is to gimble the engine so that the thrust vector points at the CoM of the vessel and calculate a directional offset for guidance (a good example is the space shuttle with the offset SSME's). However my issue is that I'm not understanding what frame of reference the thrust vector is using. It doesn't appear to be celestial frame of the main body like most default to (as it shouldn't), but I can't seem to work out where the origin is. Through testing, it seems as if the vector is rooted to the engine itself but if that were the case, I would imagine the initial unit vector would be something like [0,0,-1], but it's really more like [0.262, -0.01, -0.965]...
Furthermore is there a chance we can add the ability to control gimble angles/vectors on engines? Maybe the ability to read the vessel's total resultant thrust (vessel.get_thrust_angle)?
The text was updated successfully, but these errors were encountered: