|
RTAB-Map 0.23.12
Real-Time Appearance-Based Mapping
|
UtiLite provides a utility application called uResourceGenerator to generate resources to include in an executable. For example:
This will generate a HEX file "DatabaseSchema_sql.h" which can be included in source files. Data of the file is global and can be accessed by the generated const char * DATABASESCHEMA_SQL.
The generator can be automated in a CMake build like:
The tool is installed as rtabmap-res_tool. It is not exported by FIND_PACKAGE(RTABMap), so locate it with FIND_PROGRAM(RTABMAP_RES_TOOL rtabmap-res_tool). Inside RTAB-Map's own build, the res_tool CMake target can be used directly as the COMMAND instead.