About Orekit 13.0 SpacecraftState Serializable Downgrade

Hi everyone,
I am currently working with 13.0 but seems like the SpacecraftState class is no longer serializable. It was very useful in previous versions especially to save spacecraft state related container classes for custom programs, using SerializationUtils.clone().

Is it possible to make SpacecraftState implements Serializable again?

Hi there,

This choice was discussed here a while back.
Basically, the consensus among developers was that the feature was first of all inconsistently implemented (Field classes were completely ignored for one) and hard to maintain. My advise is for users to take care of their own serialisation, suiting their specific need. It’s much safer for them as well.

Cheers,
Romain.

1 Like