| 1989 | } |
| 1990 | |
| 1991 | void CreatePosePriorTable() const { |
| 1992 | const std::string sql = |
| 1993 | "CREATE TABLE IF NOT EXISTS pose_priors" |
| 1994 | " (pose_prior_id INTEGER PRIMARY KEY NOT NULL," |
| 1995 | " corr_data_id INTEGER NOT NULL," |
| 1996 | " corr_sensor_id INTEGER NOT NULL," |
| 1997 | " corr_sensor_type INTEGER NOT NULL," |
| 1998 | " position BLOB," |
| 1999 | " position_covariance BLOB," |
| 2000 | " gravity BLOB," |
| 2001 | " coordinate_system INTEGER NOT NULL);" |
| 2002 | "CREATE UNIQUE INDEX IF NOT EXISTS pose_prior_data_assignment ON " |
| 2003 | " pose_priors(corr_data_id, corr_sensor_id, corr_sensor_type);"; |
| 2004 | |
| 2005 | SQLITE3_EXEC(database_, sql.c_str(), nullptr); |
| 2006 | } |
| 2007 | |
| 2008 | void CreateKeypointsTable() const { |
| 2009 | const std::string sql = |
nothing calls this directly
no outgoing calls
no test coverage detected