Devansh1902

Results 5 comments of Devansh1902

Yes lets say foo state is the start state and from foo i want to go to bar with a service call and when in bar state also the transition...

Only one service in the default state and from that default state user can do a service call to change the state and then stay in the state till another...

please explain this line of code std::string outcome = (*sm.get())();

i have several states but one is default one : auto sm = std::make_shared(yasmin::StateMachine({""})); // add states sm->add_state("Standby", std::make_shared(), {{"outcome0", "Standby"}, {"outcome1", "manual"}, {"outcome2", " teleop"}, {"outcome3", "assisted"}, {"outcome4", "convoy"},...

sorry i didnt got you. for what we ll use the end ?