![]() |
VR-Forces Developer's Guide
|
The Database Clients examples demonstrate how to query database information from a Python application.
VR-Forces can be configured to log data to a SQL database for later analysis. For more information, see the documentation on the database logging capability.
This directory contains a few simple example Python scripts for accessing the data logged by VR-Forces into your database. The examples are written with either SQLite or MySQL, though VR-Forces currently only has support for writing to SQLite databases. Also included are a few files containing some utility functions that can be used in Python scripts.
The vrfSql.ini file allows you to configure the database connection for the Python clients. It contains similar settings to those in databaseConfig.mtl. It also allows you to specify the database implementation to use, either MySQL or SQLite. Currently VR-Forces only supports writing to SQLite databases.