Application: uQueryDB
Brief Synopsis:
A command line app, connect to MOOSDB, check condition, then exit.
Authors:
- Michael Benjamin
Groups:
Dependencies:
Distribution:
- moos-ivp.org
Documentation:
Contact Email:
- mikerb@mit.edu, issues@moos-ivp.org
Function:
uQueryDB is a command line tool for querying a MOOSDB with a logic condition provided on the command line. It finds the MOOSDB via mission file provided on the command line, or the IP address and port number given on the command line. It will connect to the DB, register for the variables involved in the logic condition and determine if the condition holds. It will then exit with 0 if it holds or 1 otherwise. It will return its value as soon as the app has received mail for all variables involved in the logic condition. Otherwise it will wait for 10 seconds. This can be changed with the --wait=N parameter. If a variable in the logic condition is unknown to the MOOSDB, then the whole condition will fail after the wait period.
Lines of Code:
- 1,057 (with libraries: 24,053)
Files of Code:
- 9 (with libraries: 225)
Work Years:
- 0.21 (with libraries: 5.41)