|
Spacecraft Control Bundle 1
|
This module implements the CLIPS expert system. More...
#include <fsw_clips.h>
Public Member Functions | |
| fsw_clips (const char *mod_name) | |
| Constructor. More... | |
| void | initialize_data () |
| Creates data used by other modules. More... | |
| void | initialize () |
| One time initialization. More... | |
| void | handle_event (int code) |
| Performs all processing. More... | |
Protected Attributes | |
| CD_CREATE_REF | clips_rule_file_ref |
| CLIPS rule file. More... | |
| CD_CREATE_REF | clips_facts_ref |
| CLIPS facts. More... | |
| CD_CREATE_REF | clips_results_ref |
| CLIPS results. More... | |
| int | clips_available |
This module implements the CLIPS expert system.
CLIPS is open source expert system software. You have to provide a rules deck for your system. A sample deck is provided in ControlDeckRules.CLP.
| fsw_clips::fsw_clips | ( | const char * | mod_name | ) |
Constructor.
| void fsw_clips::handle_event | ( | int | code | ) |
Performs all processing.
References clips_facts_ref, and clips_results_ref.
| void fsw_clips::initialize | ( | ) |
One time initialization.
References clips_rule_file_ref.
| void fsw_clips::initialize_data | ( | ) |
Creates data used by other modules.
Request the FSW_CLIPS_TRIGGER.
References clips_facts_ref, clips_results_ref, clips_rule_file_ref, and FSW_CLIPS_TRIGGER.
|
protected |
CLIPS facts.
Referenced by handle_event(), and initialize_data().
|
protected |
CLIPS results.
Referenced by handle_event(), and initialize_data().
|
protected |
CLIPS rule file.
Referenced by initialize(), and initialize_data().