Fixposition SDK 0.0.0-heads/main-0-g90a51ff
Collection of c++ libraries and apps for use with Fixposition products
Loading...
Searching...
No Matches
utils.hpp File Reference

Fixposition SDK: ROS1 utilities. More...

#include <cstring>
#include <string>
#include <vector>
#include <fpsdk_ros1/ext/ros_console.hpp>
#include <fpsdk_ros1/ext/ros_time.hpp>
#include <fpsdk_common/time.hpp>
Include dependency graph for utils.hpp:

Go to the source code of this file.

Namespaces

namespace  fpsdk
 Fixposition SDK.
 
namespace  fpsdk::ros1
 Fixposition SDK: ROS1 library.
 
namespace  fpsdk::ros1::utils
 ROS1 utilities.
 

Functions

void fpsdk::ros1::utils::RedirectLoggingToRosConsole (const char *logger_name=ROSCONSOLE_DEFAULT_NAME)
 Redirect fp:common::logging to ROS console.
 
bool fpsdk::ros1::utils::LoadRosParam (const std::string &name, int &value)
 Loads a parameter from the ROS parameter server (int)
 
bool fpsdk::ros1::utils::LoadRosParam (const std::string &name, std::string &value)
 Loads a parameter from the ROS parameter server (string)
 
bool fpsdk::ros1::utils::LoadRosParam (const std::string &name, bool &value)
 Loads a parameter from the ROS parameter server (bool)
 
bool fpsdk::ros1::utils::LoadRosParam (const std::string &name, float &value)
 Loads a parameter from the ROS parameter server (float)
 
bool fpsdk::ros1::utils::LoadRosParam (const std::string &name, double &value)
 Loads a parameter from the ROS parameter server (double)
 
bool fpsdk::ros1::utils::LoadRosParam (const std::string &name, std::vector< std::string > &value)
 Loads a parameter from the ROS parameter server (list of strings)
 
ros::Time fpsdk::ros1::utils::ConvTime (const fpsdk::common::time::Time &time)
 Convert to ROS time (atomic -> POSIX)
 
fpsdk::common::time::Time fpsdk::ros1::utils::ConvTime (const ros::Time &time)
 Convert from ROS time (POSIX -> atomic)
 

Detailed Description

Fixposition SDK: ROS1 utilities.

* ___    ___
* \  \  /  /
*  \  \/  /   Copyright (c) Fixposition AG
*  /  /\  \   License: see the LICENSE file
* /__/  \__\
* 

Definition in file utils.hpp.