Fixposition SDK 0.0.0-heads/main-0-g7b59b93
Collection of c++ libraries and apps for use with Fixposition products
|
ROS1 utilities. More...
Functions | |
void | RedirectLoggingToRosConsole () |
Redirect fp:common::logging to ROS console. | |
bool | LoadRosParam (const std::string &name, int &value) |
Loads a parameter from the ROS parameter server (int) | |
bool | LoadRosParam (const std::string &name, std::string &value) |
Loads a parameter from the ROS parameter server (string) | |
bool | LoadRosParam (const std::string &name, bool &value) |
Loads a parameter from the ROS parameter server (bool) | |
bool | LoadRosParam (const std::string &name, float &value) |
Loads a parameter from the ROS parameter server (float) | |
bool | LoadRosParam (const std::string &name, double &value) |
Loads a parameter from the ROS parameter server (double) | |
ROS1 utilities.
void fpsdk::ros1::utils::RedirectLoggingToRosConsole | ( | ) |
Redirect fp:common::logging to ROS console.
This configures the fpsdk::common::logging facility to output via the ROS console. This does not configure the ROS console (logger level, logger name, etc.).
The mapping of fpsdk::common::logging::LoggingLevel to ros::console::levels is as follows:
bool fpsdk::ros1::utils::LoadRosParam | ( | const std::string & | name, |
int & | value ) |
Loads a parameter from the ROS parameter server (int)
[in] | name | The parameter name |
[out] | value | The value |
bool fpsdk::ros1::utils::LoadRosParam | ( | const std::string & | name, |
std::string & | value ) |
Loads a parameter from the ROS parameter server (string)
[in] | name | The parameter name |
[out] | value | The value |
bool fpsdk::ros1::utils::LoadRosParam | ( | const std::string & | name, |
bool & | value ) |
Loads a parameter from the ROS parameter server (bool)
[in] | name | The parameter name |
[out] | value | The value |
bool fpsdk::ros1::utils::LoadRosParam | ( | const std::string & | name, |
float & | value ) |
Loads a parameter from the ROS parameter server (float)
[in] | name | The parameter name |
[out] | value | The value |
bool fpsdk::ros1::utils::LoadRosParam | ( | const std::string & | name, |
double & | value ) |
Loads a parameter from the ROS parameter server (double)
[in] | name | The parameter name |
[out] | value | The value |