Galaxis Codebase  1.0.0
Team Galaxis software stack for the Carolo Cup 2023 - ROS2 based software
settings.hpp File Reference
#include "logger.hpp"
#include <memory>
#include <iostream>
#include <string>
#include <nlohmann/json.hpp>
#include "rclcpp/rclcpp.hpp"
#include "rcl_interfaces/msg/set_parameters_result.hpp"
#include "rcl_interfaces/msg/floating_point_range.hpp"
#include "rcl_interfaces/msg/parameter_descriptor.hpp"
Include dependency graph for settings.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 galaxis
 
 galaxis::utils
 

Functions

shared_ptr< json > galaxis::utils::read_json_file (std::string path)
 
shared_ptr< json > galaxis::utils::read_system_settings (std::string key)
 
shared_ptr< std::string > galaxis::utils::read_file_to_string (std::string path)
 
template<typename T , typename = typename std::enable_if<std::is_arithmetic<T>::value, T>::type>
bool galaxis::utils::check_parameter (rclcpp::Parameter const &param, rcl_interfaces::msg::SetParametersResult &result, T min=numeric_limits< T >::min(), T max=numeric_limits< T >::max())