MoveIt Studio Behavior Interface  3.0.2
Library for developing custom behaviors for use in MoveIt Studio
filesystem_utils.cpp File Reference
Include dependency graph for filesystem_utils.cpp:

Namespaces

 moveit_studio
 
 moveit_studio::behaviors
 
 moveit_studio::behaviors::filesystem_utils
 

Functions

std::string moveit_studio::behaviors::filesystem_utils::createTimestampFromCurrentTime ()
 Create a timestamp from the current time, to use for creating unique file or folder names. More...
 
std::optional< std::string > moveit_studio::behaviors::filesystem_utils::getObjectiveConfigurationFilePath (const std::string &configuration_file_name, const std::vector< std::string > &target_directories)
 Gets the file path to a specified objective configuration file, if one exists. More...
 
std::optional< std::string > moveit_studio::behaviors::filesystem_utils::getObjectiveConfigurationFilePath (const std::string &configuration_file_name, std::shared_ptr< rclcpp::Node > node, const std::string &library_directory_param_name)
 Gets the file path to a specified objective configuration file, if one exists. More...
 
tl::expected< std::string, std::string > moveit_studio::behaviors::filesystem_utils::readFileContentsToString (const std::string &file_path)
 Reads the contents of a file into a string. More...