General Question Moving gear and touchdown points

Once the breakpoint is hit you can choose to either:
1. Jump to the next line of code.
2. Continue execution of the code until the next breakpoint is hit.

is WITH F10 and F11

How to do continue?

is that where it should be?
If you set a breakpoint in clbkPostStep, the same breakpoint will be hit after every time step.


You need to call SetTouchdownPoints in clbkPostStep, after you have updated the value of GEAR_proc.

Ok I guess I missed that in the shuttleA code.

I had it orignial there and noticed that when the gear was fully extended the vessel "Landed" still had some vertical speed.

In the shuttleA code the touchdown part is in postcreation
 
is WITH F10 and F11

How to do continue?
F5

I had it orignial there and noticed that when the gear was fully extended the vessel "Landed" still had some vertical speed.
Which is why I suspected that there was a problem with how GEAR_proc is set in clbkPostStep. Your vessel will only have vertical speed while landed if the touchdown points are increasing, which infers that GEAR_proc is also increasing. It should be limited to 1.
 
Thanks

Ok ran thru the steps and the gear is up as far as animations. GEAR_proc=1.0000000000000

If my touchdown points are wrong would that cause the vertical speed?
 
Last edited:
I used the values of the bottom of the mesh from Meshwizard which were -3.12312. and it did much better. But I still have this issue. Either way gear up or down sitting on the ground.

eagle3:EAGLE3
STATUS Orbiting Earth
RPOS -1715215.81 4911392.05 -3677778.12
RVEL 388.588 49.695 -114.687
AROT -143.78 -2.16 -164.37
RCSMODE 0
PRPLEVEL 0:0.992
IDS 0:8 100 1:588 100
NAVFREQ 0 0
XPDR 0
GEAR 1 1.0000
BUGHATCH 0 0.0000
BUG 0 0.0000
END
 
STATUS Orbiting Earth
RPOS -1715215.81 4911392.05 -3677778.12
STATUS only tells whether vessel is active or inactive.
If you calculate the radius from RPOS you will get 6371011.6185 (meters), so it's on the Earth's surface.

For example if I start simulation with landed DeltaGlider on Earth, and then save it when it's still landed with gear down, on 70% the saved to scenario file status will be Orbiting Earth.
 
Ok still getting on occasion a slight vertical velocity. No thrust applied. Gear_proc is 1.0. touchdown points are set as the bottom based on meshwizard.

I have the set touchdowns points in this area

void EAGLE3::clbkPostStep(double simt, double simdt, double mjd)

and the shuttleA in Post creation

Not sure what is happening.
 
Back
Top