9 std::string name_string = rokubiminiName +
"/setup/name";
10 if (nh->hasParam(name_string))
12 nh->getParam(name_string,
name_);
16 ROS_ERROR(
"Could not find rokubimini name in Parameter Server: %s", name_string.c_str());
19 std::string product_code_string = rokubiminiName +
"/setup/product_code";
20 if (nh->hasParam(product_code_string))
23 nh->getParam(product_code_string, product_code);
28 ROS_ERROR(
"Could not find product code in Parameter Server: %s", product_code_string.c_str());
std::shared_ptr< ros::NodeHandle > NodeHandlePtr
virtual void load(const std::string &rokubiminiName, NodeHandlePtr nh)
Loads the sensor configuration from the parameter server.
std::string name_
The name of the Rokubimini Setup.
void load(const std::string &key, NodeHandlePtr nh)
Loads the configuration from the parameter server.
configuration::Configuration configuration_
The configuration of the Rokubimini Setup.
std::uint32_t productCode_
The product code of the Rokubimini Setup.