Library: lib_logic
Brief Synopsis:
A library for implementing simple Boolean logic in applications.
Authors:
- Michael Benjamin
Groups:
Apps dependent on this library: (9)
- alogcheck, pEchoVar, pHelmIvP, uFldCollisionDetect, uQueryDB, uTimerScript, pTaskManager, bngview, obview.
Distribution:
- moos-ivp.org
Documentation:
Contact Email:
- mikerb@mit.edu, issues@mit.edu
Function:
The lib_logic library implements simple Boolean logic, typically applied to MOOS variables. For example, an application like the helm, uTimerScript, or uQueryDB, may condition its actions on a MOOS variable having a certain value, such as "DEPLOY=true", or more complex conditions such as "((RETURN != true) or (MISSION_TIME > 600")). This library also contains the implementation of the InfoBuffer class which is used by the helm to hold a snapshot of a subset of the MOOSDB, directly accessed by helm behaviors. The InfoBuffer is also used in the uTimerScript and uQueryDB applications.
Lines of Code:
- 1,318
Files of Code:
- 12
Work Years:
- 0.27