pathfinder-for-autonomous-navigation / psim

Six DOF flight simulator and related GNC implementations.
MIT License
4 stars 6 forks source link

Improve Type Checking on Outputs to Python #235

Open kylekrol opened 3 years ago

kylekrol commented 3 years ago

Currently, the types of the parameters and state fields being output to Python is checked with a set of dynamics casts. This is okay for our small set of types but we really should update this to leverage the double dispatch pattern or something similar. Perhaps the state fields could return a variant directly.