update
This commit is contained in:
@@ -283,6 +283,14 @@ namespace robot
|
||||
*/
|
||||
bool getParam (const std::string &key, YAML::Node &v, YAML::Node default_value = YAML::Node()) const;
|
||||
|
||||
/**
|
||||
* @brief Get a parameter as robot_xmlrpcpp::XmlRpcValue (converted from YAML).
|
||||
* @param key The parameter key (supports nested keys with '/' separator).
|
||||
* @param v Storage for the retrieved value. Left unchanged if key not found.
|
||||
* @return true if the parameter was retrieved and converted successfully, false otherwise.
|
||||
*/
|
||||
bool getParam (const std::string &key, robot_xmlrpcpp::XmlRpcValue &v) const;
|
||||
|
||||
/**
|
||||
* @brief Template method to get a parameter value (without default).
|
||||
*
|
||||
|
||||
@@ -2,11 +2,17 @@
|
||||
#define ROBOT_ROBOT_H
|
||||
|
||||
#include <robot/init.h>
|
||||
#include <robot/time.h>
|
||||
#include <robot/timer.h>
|
||||
#include <robot/rate.h>
|
||||
#include <robot/console.h>
|
||||
#include <robot/node_handle.h>
|
||||
#include <robot/plugin_loader_helper.h>
|
||||
|
||||
|
||||
#include <robot/time.h>
|
||||
#include <robot/timer.h>
|
||||
#include <robot/duration.h>
|
||||
#include <robot/wall_timer.h>
|
||||
#include <robot/rate.h>
|
||||
#include <robot/exception.h>
|
||||
#include <robot/macros.h>
|
||||
#include <robot/platform.h>
|
||||
#endif
|
||||
Reference in New Issue
Block a user