test_dbloader.cpp
Go to the documentation of this file.
2 #include <ros/ros.h>
3 
4 int main(int argc, char** argv)
5 {
6  ros::init(argc, argv, "db_loader_test", ros::init_options::AnonymousName);
7 
10  // conn->setParams("localhost", 27017, 10.0);
11  conn->setTimeout(10.0);
12  if (!conn->connect())
13  ROS_ERROR("Failed to connect to DB");
14 
15  ros::shutdown();
16 }
This class provides the mechanism to connect to a database and reads needed ROS parameters when appro...
DatabaseConnection::Ptr loadDatabase()
Load a database connection using pluginlib Looks for ROS params specifying which plugin/host/port to ...
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
int main(int argc, char **argv)
ROSCPP_DECL void shutdown()
#define ROS_ERROR(...)


warehouse_ros
Author(s): Bhaskara Marthi , Connor Brew
autogenerated on Fri Jun 7 2019 21:44:23