Closed MaximeBouton closed 4 years ago
This PR introduces a few functions that define a state interface. Instead of using fields: veh.state.posG, it uses posg(veh.state)
veh.state.posG
posg(veh.state)
the file states/interface.jl has the list of the new functions, they are documented.
states/interface.jl
Example of how to define a custom state type in the doc.
Coverage decreased (-2.3%) to 79.541% when pulling ce3fe92de301255497362415570472f68de4be3d on state-interface into cf0383caad826b4f9490dbed03e78138da85aed0 on master.
This PR introduces a few functions that define a state interface. Instead of using fields:
veh.state.posG
, it usesposg(veh.state)
the file
states/interface.jl
has the list of the new functions, they are documented.Example of how to define a custom state type in the doc.