Skip to content

kyujinChoi/StateMachine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C++ based state machine framework

This is a framework for building any kind of FSM.

Advisor : Kim Kang-hee

1st Contributor : Choi Kyu-Jin

Soongsil Univ., Department of Smart Systems Software, Rubicom Laboratory

Usage

#include "HybridAutomata.h"
HA_example = new HybridAutomata(int Start_State_id, int Finish_State_id)

Set State

HA_example->setState(int State_id, void* function)

Set Condition

Condition_pre_2_post *cond_example = new Condition_pre_2_post();
HA_example->setCondition(int pre_State_id, Condition cond_example, int post_State_id);

Example dir

Build

make clean 
make

"Main.cpp" is a exmple code for how to use "HybridAutomata" class

About

C++ based finite state machine framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published