-
-
Notifications
You must be signed in to change notification settings - Fork 63
Instance Configuration
Andrew Gresyk edited this page Apr 12, 2024
·
3 revisions
-
FSM instance is configured by defining
Config
type, and passing it intohfsm2::MachineT<TConfig>
:using Config = hfsm2::Config; using M = hfsm2::MachineT<Config>;
-
Multiple
hfsm2::Config
sub-types can be combined together:using Config = hfsm2::Config ::ContextT<TC> ::ManualActivation ::PayloadT<TP>;
-
Set context
Config::ContextT<>
-
Enable manual activation
Config::ManualActivation
-
Change event processing order
Config::BottomUpReactions
-
Set transition destination substitution limit
Config::SubstitutionLimitN<>
-
Set
Rank
type for utility theory transitionsConfig::RankT<>
-
Set
Utility
type for utility theory transitionsConfig::UtilityT<>
-
Provide custom RNG for utility theory transitions
Config::RandomT<>
-
Set maximum number of tasks across all plans of the FSM instance
Config::TaskCapacityN<uint16_t>
-
Enable transition payloads
Config::PayloadT<Type>