TinyURDF 1.0.0
A Modern C++ Library for Parsing and Visualizing URDF Model Files
Loading...
Searching...
No Matches
utils.h File Reference
#include <stdexcept>
#include <string>
#include <vector>
#include <sstream>
#include <loguru/loguru.hpp>
#include <Eigen/Dense>
Include dependency graph for utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

using Vec3 = Eigen::Matrix< double, 3, 1 >
 
using Rot3 = Eigen::Quaternion< double >
 

Functions

void str2array (const char *str_, double *arr)
 
void str2double (const char *in, double &num_)
 a locale-safe version of string-to-double
 
void split (const std::string &str, std::vector< std::string > &split_result, const std::string &delimiter)
 splits a string by a delimiter into a vector of strings.
 

Typedef Documentation

◆ Rot3

using Rot3 = Eigen::Quaternion<double>

◆ Vec3

using Vec3 = Eigen::Matrix<double, 3, 1>

Function Documentation

◆ split()

void split ( const std::string &  str,
std::vector< std::string > &  split_result,
const std::string &  delimiter 
)

splits a string by a delimiter into a vector of strings.

◆ str2array()

void str2array ( const char *  str_,
double *  arr 
)

◆ str2double()

void str2double ( const char *  in,
double &  num_ 
)

a locale-safe version of string-to-double