Closed a1270 closed 10 years ago
I'm taking a look at this now, but that static variable you've got for landing leg state has got to go. Otherwise it's value will be applied globally to all vessels.
I threw all possible landing legs on a vessel and they all seem to respond to the "new" method of just sending a message.
I merged and made some changes to make sure that the gets are always correct, even if you switch vessels or activate the legs or chutes by some other means.
Yours looks much better. Spent about 5 mins on it and got to a "works" state. At some point i need to actually read the whole code base in one go instead of just bits of it at random.
Saw a commit to mechjeb float by and decided adapt it to kOS. Old style landing legs don't seem to work correctly. H/LandingLegs are a mess but i'll keep an eye out for a solution.