23namespace s_pattern_states
29 using SmaccState::SmaccState;
42 configure_orthogonal<OrNavigation, CbNavigateForward>();
43 configure_orthogonal<OrNavigation, CbPauseSlam>();
44 configure_orthogonal<OrLED, CbLEDOn>();
51 auto & superstate = this->context<SS>();
52 double extrasecurityMargin = 0.1;
54 auto forwardBehavior =
55 this->getOrthogonal<OrNavigation>()->getClientBehavior<CbNavigateForward>();
62 if (!std::isnan(fwdist))
63 forwardBehavior->setForwardDistance(
68 forwardBehavior->setForwardDistance( superstate.pitch2_lenght_meters());
float getForwardDistance(int raysWidthCount=0)
void requiresClient(SmaccClientType *&storage)
static void staticConfigure()
mpl::list< Transition< EvCbSuccess< CbNavigateForward, OrNavigation >, StiSPatternLoopStart > > reactions