This commit is contained in:
2026-01-13 14:30:22 +07:00
parent 145fb2088e
commit 57b77ac14b
68 changed files with 4035 additions and 420 deletions

View File

@@ -14,7 +14,7 @@
#include <map>
#include <yaml-cpp/yaml.h>
#include <filesystem>
#include <robot/node_handle.h>
#include <robot/robot.h>
namespace robot
{

View File

@@ -0,0 +1,12 @@
#ifndef ROBOT_ROBOT_H
#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>
#endif

View File

@@ -1981,6 +1981,11 @@ namespace robot
template float NodeHandle::param<float>(const std::string &param_name) const;
template float NodeHandle::param<float>(const std::string &param_name, const float &default_val) const;
template bool NodeHandle::param<float>(const std::string &param_name, float &param_val, const float &default_val) const;
// Vector<std::string> instantiations
template std::vector<std::string> NodeHandle::param<std::vector<std::string>>(const std::string &param_name) const;
template std::vector<std::string> NodeHandle::param<std::vector<std::string>>(const std::string &param_name, const std::vector<std::string> &default_val) const;
template bool NodeHandle::param<std::vector<std::string>>(const std::string &param_name, std::vector<std::string> &param_val, const std::vector<std::string> &default_val) const;
// Static member initialization
std::string NodeHandle::config_directory_;