17namespace b_cyclenner_states
23 using SmaccState::SmaccState;
28 Transition<EvLoopContinue<StiBCycleLoop>,
StiBCycleStep1, CONTINUELOOP>
39 auto & superstate = this->context<SsBCycle>();
42 getLogger(),
"Loop start, current iterations: %d, total iterations: %d",
43 superstate.iteration_count, superstate.total_iterations());
44 return superstate.iteration_count++ < superstate.total_iterations();
49 RCLCPP_INFO(
getLogger(),
"LOOP START ON ENTRY");
rclcpp::Logger getLogger()
void checkWhileLoopConditionAndThrowEvent(bool(MostDerived::*conditionFn)())
static void staticConfigure()
bool loopWhileCondition()
mpl::list< Transition< EvLoopContinue< StiBCycleLoop >, StiBCycleStep1, CONTINUELOOP > > reactions