Is this any good? I think it will work if you include the header containing the SM class interface in the main vessel, and either "param" is a public member of the SM class or the SM class is a friend of the main vessel.
// Setup VESSELSTATUS struct for new vessel with required base class...
Hi, I was struggling with something similar a while back. Do you want to set parameters for the base VESSEL class or custom parameters specific to your derived class?
If it's the former I guess you can send them in the VESSELSTATUS struct you use in your call to oapiCreateVessel.
If it's the...
It's a bit better than this in reality because taking 20% of the Earth also reduces it's radius. You can get closer to the centre so the gravitational acceleration is higher than just 0.2g, more like 0.6g (assuming the original Earth and the 20% chunk of Earth are the same density). Mars has...
Hi Will,
If I remember this correctly, you treat the coordinates and their derivatives as separate entities in the Euler-Lagrange equation. So (*=dot):
dL/dx* = mx*
dL/dx = 0
mx** = 0
Then:
S = INTEGRAL (L dt) ta < t < tb
Take a look at: http://en.wikipedia.org/wiki/Gravity_drag and http://www.projectrho.com/public_html/rocket/mission.php under the heading 'Drag'.
On the Atomic Rockets link, there is the equation: delta_vd = delta_esc * g / a, where delta_vd is the additional dv required to compensate for...
Hello orbiter! :tiphat:
After playing around with orbiter on and off for a while, I’ve decided to try to create my own vessel. My mesh is a long tether with an engine at either end, along which the hab module slides. Kind of like a bead on a string.
The hab module consists of two...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.