sisl / AutomotiveDrivingModels.jl

Driving simulation architecture for Julia
Other
63 stars 29 forks source link

Introduce a state interface: `posf`, `posg`, `vel` ... #46

Closed MaximeBouton closed 4 years ago

MaximeBouton commented 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)

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.

coveralls commented 4 years ago

Coverage Status

Coverage decreased (-2.3%) to 79.541% when pulling ce3fe92de301255497362415570472f68de4be3d on state-interface into cf0383caad826b4f9490dbed03e78138da85aed0 on master.