Namespaces | Classes | Typedefs | Functions | Variables
cartographer::common Namespace Reference

Namespaces

 testing
 

Classes

struct  _Unique_if
 
struct  _Unique_if< T[]>
 
struct  _Unique_if< T[N]>
 
class  BlockingQueue
 
class  ConfigurationFileResolver
 
class  DummyFileResolver
 
class  FileResolver
 
class  FixedRatioSampler
 
class  Histogram
 
class  LocklessQueue
 
class  LuaParameterDictionary
 
class  optional
 
class  RateTimer
 
class  Task
 
class  ThreadPool
 
class  ThreadPoolInterface
 
struct  UniversalTimeScaleClock
 

Typedefs

using Duration = UniversalTimeScaleClock::duration
 
using MutexLocker = Mutex::Locker
 
using Time = UniversalTimeScaleClock::time_point
 

Functions

template<typename T >
atan2 (const Eigen::Matrix< T, 2, 1 > &vector)
 
class CAPABILITY ("mutex") Mutex
 
template<typename T >
Clamp (const T value, const T min, const T max)
 
ceres::Solver::Options CreateCeresSolverOptions (const proto::CeresSolverOptions &proto)
 
proto::CeresSolverOptions CreateCeresSolverOptionsProto (common::LuaParameterDictionary *parameter_dictionary)
 
constexpr double DegToRad (double deg)
 
void FastGunzipString (const std::string &compressed, std::string *decompressed)
 
void FastGzipString (const std::string &uncompressed, std::string *compressed)
 
common::Duration FromMilliseconds (const int64 milliseconds)
 
Duration FromSeconds (const double seconds)
 
Time FromUniversal (const int64 ticks)
 
template<class T , class... Args>
_Unique_if< T >::_Single_object make_unique (Args &&... args)
 
template<class T >
_Unique_if< T >::_Unknown_bound make_unique (size_t n)
 
template<class T , class... Args>
_Unique_if< T >::_Known_bound make_unique (Args &&...)=delete
 
std::unique_ptr< LuaParameterDictionaryMakeDictionary (const std::string &code)
 
template<typename T >
NormalizeAngleDifference (T difference)
 
std::ostream & operator<< (std::ostream &os, const Time time)
 
template<typename T >
constexpr T Pow2 (T a)
 
template<typename T >
constexpr T Power (T base, int exponent)
 
template<typename T >
void QuaternionProduct (const double *const z, const T *const w, T *const zw)
 
constexpr double RadToDeg (double rad)
 
int RoundToInt (const float x)
 
int RoundToInt (const double x)
 
int64 RoundToInt64 (const float x)
 
int64 RoundToInt64 (const double x)
 
double ToSeconds (const Duration duration)
 
int64 ToUniversal (const Time time)
 

Variables

constexpr int64 kUtsEpochOffsetFromUnixEpochInSeconds
 

Typedef Documentation

◆ Duration

Definition at line 43 of file time.h.

◆ MutexLocker

using cartographer::common::MutexLocker = typedef Mutex::Locker

Definition at line 95 of file mutex.h.

◆ Time

Definition at line 44 of file time.h.

Function Documentation

◆ atan2()

template<typename T >
T cartographer::common::atan2 ( const Eigen::Matrix< T, 2, 1 > &  vector)

Definition at line 70 of file math.h.

◆ CAPABILITY()

class cartographer::common::CAPABILITY ( "mutex"  )

Definition at line 60 of file mutex.h.

◆ Clamp()

template<typename T >
T cartographer::common::Clamp ( const T  value,
const T  min,
const T  max 
)

Definition at line 32 of file math.h.

◆ CreateCeresSolverOptions()

ceres::Solver::Options cartographer::common::CreateCeresSolverOptions ( const proto::CeresSolverOptions &  proto)

Definition at line 35 of file ceres_solver_options.cc.

◆ CreateCeresSolverOptionsProto()

proto::CeresSolverOptions cartographer::common::CreateCeresSolverOptionsProto ( common::LuaParameterDictionary parameter_dictionary)

Definition at line 22 of file ceres_solver_options.cc.

◆ DegToRad()

constexpr double cartographer::common::DegToRad ( double  deg)

Definition at line 55 of file math.h.

◆ FastGunzipString()

void cartographer::common::FastGunzipString ( const std::string &  compressed,
std::string *  decompressed 
)
inline

Definition at line 60 of file port.h.

◆ FastGzipString()

void cartographer::common::FastGzipString ( const std::string &  uncompressed,
std::string *  compressed 
)
inline

Definition at line 49 of file port.h.

◆ FromMilliseconds()

Duration cartographer::common::FromMilliseconds ( const int64  milliseconds)

Definition at line 43 of file time.cc.

◆ FromSeconds()

Duration cartographer::common::FromSeconds ( const double  seconds)

Definition at line 24 of file time.cc.

◆ FromUniversal()

Time cartographer::common::FromUniversal ( const int64  ticks)

Definition at line 34 of file time.cc.

◆ make_unique() [1/3]

template<class T , class... Args>
_Unique_if<T>::_Single_object cartographer::common::make_unique ( Args &&...  args)

Definition at line 46 of file make_unique.h.

◆ make_unique() [2/3]

template<class T >
_Unique_if<T>::_Unknown_bound cartographer::common::make_unique ( size_t  n)

Definition at line 51 of file make_unique.h.

◆ make_unique() [3/3]

template<class T , class... Args>
_Unique_if<T>::_Known_bound cartographer::common::make_unique ( Args &&  ...)
delete

◆ MakeDictionary()

std::unique_ptr<LuaParameterDictionary> cartographer::common::MakeDictionary ( const std::string &  code)

Definition at line 49 of file lua_parameter_dictionary_test_helpers.h.

◆ NormalizeAngleDifference()

template<typename T >
T cartographer::common::NormalizeAngleDifference ( difference)

Definition at line 62 of file math.h.

◆ operator<<()

std::ostream & cartographer::common::operator<< ( std::ostream &  os,
const Time  time 
)

Definition at line 38 of file time.cc.

◆ Pow2()

template<typename T >
constexpr T cartographer::common::Pow2 ( a)

Definition at line 50 of file math.h.

◆ Power()

template<typename T >
constexpr T cartographer::common::Power ( base,
int  exponent 
)

Definition at line 44 of file math.h.

◆ QuaternionProduct()

template<typename T >
void cartographer::common::QuaternionProduct ( const double *const  z,
const T *const  w,
T *const  zw 
)
inline

Definition at line 75 of file math.h.

◆ RadToDeg()

constexpr double cartographer::common::RadToDeg ( double  rad)

Definition at line 58 of file math.h.

◆ RoundToInt() [1/2]

int cartographer::common::RoundToInt ( const float  x)
inline

Definition at line 41 of file port.h.

◆ RoundToInt() [2/2]

int cartographer::common::RoundToInt ( const double  x)
inline

Definition at line 43 of file port.h.

◆ RoundToInt64() [1/2]

int64 cartographer::common::RoundToInt64 ( const float  x)
inline

Definition at line 45 of file port.h.

◆ RoundToInt64() [2/2]

int64 cartographer::common::RoundToInt64 ( const double  x)
inline

Definition at line 47 of file port.h.

◆ ToSeconds()

double cartographer::common::ToSeconds ( const Duration  duration)

Definition at line 29 of file time.cc.

◆ ToUniversal()

int64 cartographer::common::ToUniversal ( const Time  time)

Definition at line 36 of file time.cc.

Variable Documentation

◆ kUtsEpochOffsetFromUnixEpochInSeconds

constexpr int64 cartographer::common::kUtsEpochOffsetFromUnixEpochInSeconds
Initial value:
=
(719162ll * 24ll * 60ll * 60ll)

Definition at line 29 of file time.h.



cartographer
Author(s): The Cartographer Authors
autogenerated on Mon Feb 28 2022 22:00:59