Generic MongoDB Logging for ROS