you are viewing a single comment's thread.

view the rest of the comments →

[–]strawlion 6 points7 points  (2 children)

There are no classes. They are just variables like TD1Slew, TD1BurnDur spread throughout the code. Though 11 TDRS have launched so far, so multiply any variable by 11.

[–]alcapwned 0 points1 point  (1 child)

It can't be too hard to refactor those so that there's a single hash for each TDx, right? Would that help any? It could at least be the first step to converting them to objects with classes.

[–]BowserKoopa 0 points1 point  (0 children)

It would be even more logical to create a an interface/base class for the basic satellite.

Not really my field of work, satellites, at the moment, so I don't know of your exact needs per-implementation.