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

Namespaces

namespace  testing

Classes

class  BlockingQueue
class  ConfigurationFileResolver
class  DummyFileResolver
class  FileResolver
class  FixedRatioSampler
class  Histogram
class  LocklessQueue
class  LuaParameterDictionary
class  RateTimer
class  Task
class  ThreadPool
class  ThreadPoolInterface
struct  UniversalTimeScaleClock

Functions

template<typename T >
atan2 (const Eigen::Matrix< T, 2, 1 > &vector)
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)
template<typename MapType , typename KeyType = typename MapType::key_type, typename ValueType = typename MapType::mapped_type>
ValueType * FindOrNull (MapType &map, const KeyType &key)
common::Duration FromMilliseconds (const int64 milliseconds)
Duration FromSeconds (const double seconds)
Time FromUniversal (const int64 ticks)
double GetThreadCpuTimeSeconds ()
std::unique_ptr
< LuaParameterDictionary
LoadLuaDictionary (const std::vector< std::string > &configuration_directories, const std::string &configuration_basename)
std::unique_ptr
< LuaParameterDictionary
MakeDictionary (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)
void PrintSubdictionaryById (LuaParameterDictionary *lua_dictionary, const std::string &subdictionary_id)
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)
double ToSeconds (const std::chrono::steady_clock::duration duration)
int64 ToUniversal (const Time time)

Variables

constexpr int64 kUtsEpochOffsetFromUnixEpochInSeconds

Function Documentation

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

Definition at line 70 of file math.h.

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

Definition at line 32 of file math.h.

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

Definition at line 35 of file ceres_solver_options.cc.

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

Definition at line 22 of file ceres_solver_options.cc.

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

Definition at line 55 of file math.h.

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

Definition at line 59 of file port.h.

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

Definition at line 48 of file port.h.

template<typename MapType , typename KeyType = typename MapType::key_type, typename ValueType = typename MapType::mapped_type>
ValueType* cartographer::common::FindOrNull ( MapType &  map,
const KeyType &  key 
)

Definition at line 25 of file utils.h.

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

Definition at line 54 of file time.cc.

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

Definition at line 30 of file time.cc.

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

Definition at line 45 of file time.cc.

Definition at line 59 of file time.cc.

std::unique_ptr<LuaParameterDictionary> cartographer::common::LoadLuaDictionary ( const std::vector< std::string > &  configuration_directories,
const std::string &  configuration_basename 
)

Definition at line 41 of file print_configuration_main.cc.

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

Definition at line 49 of file lua_parameter_dictionary_test_helpers.h.

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

Definition at line 62 of file math.h.

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

Definition at line 49 of file time.cc.

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

Definition at line 50 of file math.h.

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

Definition at line 44 of file math.h.

void cartographer::common::PrintSubdictionaryById ( LuaParameterDictionary *  lua_dictionary,
const std::string &  subdictionary_id 
)

Definition at line 53 of file print_configuration_main.cc.

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.

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

Definition at line 58 of file math.h.

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

Definition at line 40 of file port.h.

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

Definition at line 42 of file port.h.

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

Definition at line 44 of file port.h.

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

Definition at line 46 of file port.h.

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

Definition at line 35 of file time.cc.

double cartographer::common::ToSeconds ( const std::chrono::steady_clock::duration  duration)

Definition at line 40 of file time.cc.

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

Definition at line 47 of file time.cc.


Variable Documentation

Initial value:
    (719162ll * 24ll * 60ll * 60ll)

Definition at line 29 of file time.h.



cartographer
Author(s): The Cartographer Authors
autogenerated on Thu May 9 2019 02:27:36