Skip to content
Snippets Groups Projects

Draft: Feature/mongo db

Open Joana Plewnia requested to merge feature/MongoDB into master

MongoDB implementation of the long-term memory as part of the bachelor thesis of Robin Müller (utwee_mueller).

Tasks:

  • implement a Mixin for the MongoDB version of the LTM
    • set-up and connection to database
    • writing into the database
    • reading from the database
    • adjusting keys
  • test MongoDBMixin for different memory servers
    • VisionMemory
    • ObjectMemory
    • RobotStateMemory
    • GraspMemory
    • ...
  • Implement an autonomous key selection algorithm
Edited by Robin Müller

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
87 //{
88 // return client[databaseName];
89 //}
90 return std::nullopt;
110 std::optional<mongocxx::database>
111 databaseExists(mongocxx::client& client, const std::string& databaseName) {
112 // MongoCXX Version > 3.5.0 required
113 //auto names = client.list_database_names();
114
115 auto names = detail::list_database_names(client);
116
117 if (auto it = std::find(names.begin(), names.end(), databaseName); it != names.end()) {
118 //Workaround to create an empty Database client[databaseName] does not create a database if nothing is added
119 //db = client[databaseName];
120 //db.create_collection("empty");
121 ARMARX_INFO << "Create Database " << databaseName;
  • Robin Müller added 23 commits

    added 23 commits

    Compare with previous version

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading