Main MRPT website > C++ reference for MRPT 1.9.9
Namespaces | Classes | Typedefs | Functions

Detailed Description

This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.

Determines whether this is an X86 or AMD64 platform.

Namespaces

 bayes
 The namespace for Bayesian filtering algorithm: different particle filters and Kalman filter algorithms.
 
 comms
 Serial and networking devices and utilities.
 
 compress
 Data compression/decompression algorithms.
 
 detectors
 
 global_settings
 Global variables to change the run-time behaviour of some MRPT classes within mrpt-base.
 
 graphs
 Abstract graph and tree data structures, plus generic graph algorithms.
 
 graphslam
 SLAM methods related to graphs of pose constraints.
 
 gui
 Classes for creating GUI windows for 2D and 3D visualization.
 
 hmtslam
 Classes related to the implementation of Hybrid Metric Topological (HMT) SLAM.
 
 hwdrivers
 Contains classes for various device interfaces.
 
 kinematics
 
 maps
 
 math
 This base provides a set of functions for maths stuff.
 
 mrpt
 Determines whether this is an X86 or AMD64 platform.
 
 nav
 
 obs
 This namespace contains representation of robot actions and observations.
 
 opengl
 The namespace for 3D scene representation and rendering.
 
 pbmap
 
 poses
 Classes for 2D/3D geometry representation, both of single values and probability density distributions (PDFs) in many forms.
 
 random
 A namespace of pseudo-random numbers genrators of diferent distributions.
 
 slam
 
 synch
 
 system
 This namespace provides a OS-independent interface to many useful functions: filenames manipulation, time and date, string parsing, file I/O, threading, memory allocation, etc.
 
 tfest
 Functions for estimating the optimal transformation between two frames of references given measurements of corresponding points.
 
 topography
 This namespace provides topography helper functions, coordinate transformations.
 
 utils
 Classes for serialization, sockets, ini-file manipulation, streams, list of properties-values, timewatch, extensions to STL.
 
 vision
 Classes for computer vision, detectors, features, etc.
 

Classes

class  aligned_allocator_cpp11
 Aligned allocator that is compatible with C++11 See: https://bitbucket.org/eigen/eigen/commits/f5b7700. More...
 
struct  aligned_containers
 Helper types for STL containers with Eigen memory allocators. More...
 
struct  Greater
 
struct  Less
 
struct  ptr_cast
 Converts a smart pointer Base::Ptr to Derived::Ptr, in a way compatible with MRPT >=1.5.4 and MRPT 2.x series. More...
 

Typedefs

typedef std::vector< int8_tvector_signed_byte
 
typedef std::vector< int16_tvector_signed_word
 
typedef std::vector< int32_tvector_int
 
typedef std::vector< int64_tvector_long
 
typedef std::vector< size_t > vector_size_t
 
typedef std::vector< uint8_tvector_byte
 
typedef std::vector< uint16_tvector_word
 
typedef std::vector< uint32_tvector_uint
 
typedef std::vector< bool > vector_bool
 A type for passing a vector of bools. More...
 
typedef std::vector< std::stringvector_string
 A type for passing a vector of strings. More...
 

Functions

template<typename T , class... Args>
std::shared_ptr< T > make_aligned_shared (Args &&... args)
 Creates a shared_ptr with 16-byte aligned memory. More...
 
std::string format (const char *fmt,...) MRPT_printf_format_check(1
 A std::string version of C sprintf. More...
 
template<bool Aligned>
__m128i load_si128 (const void *addr)
 
template<>
__m128i load_si128< true > (const void *addr)
 

Function Documentation

◆ format()

std::string mrpt::format ( const char *  fmt,
  ... 
)

A std::string version of C sprintf.

You can call this to obtain a std::string using printf-like syntax. Based on very nice code by Paul Senzee, published at http://senzee.blogspot.com/2006/05/c-formatting-stdstring.html Function implemented in format.cpp

Definition at line 19 of file format.cpp.

References mrpt::system::os::vsnprintf().

Referenced by mrpt::graphslam::CGraphSlamEngine< GRAPH_T >::_execGraphSlamStep(), mrpt::slam::CGridMapAligner::AlignPDF_robustMatch(), mrpt::graphslam::TUncertaintyPath< GRAPH_T >::assertIsBetweenNodeIDs(), mrpt::maps::CGasConcentrationGridMap2D::build_Gaussian_Wind_Grid(), mrpt::hwdrivers::CRovio::captureImageAsync(), mrpt::vision::checkerBoardCameraCalibration(), mrpt::vision::checkerBoardStereoCalibration(), mrpt::graphslam::apps::TUserOptionsChecker< GRAPH_T >::checkRegistrationDeciderExists(), mrpt::hwdrivers::CImageGrabber_dc1394::CImageGrabber_dc1394(), mrpt::math::CMatrixTemplate< mrpt::math::TPoint3D >::CMatrixTemplate(), mrpt::maps::CMultiMetricMapPDF::prediction_and_update< mrpt::slam::OptimalProposal >(), mrpt::compress::zip::compress_gz_data_block(), mrpt::graphslam::CGraphSlamEngine< GRAPH_T >::computeMap(), mrpt::bayes::CParticleFilterCapable::computeResampling(), mrpt::hmtslam::CTopLCDetector_GridMatching::computeTopologicalObservationModel(), mrpt::comms::CClientTCPSocket::connect(), mrpt::system::createDirectory(), cvFindChessboardCorners3(), mrpt::system::dateTimeLocalToString(), mrpt::system::dateTimeToString(), mrpt::system::dateToString(), mrpt::system::decodeBase64(), mrpt::utils::TRuntimeClassId::derivedFrom(), mrpt::hwdrivers::CNTRIPEmitter::doProcess(), mrpt::hwdrivers::CGPSInterface::doProcess(), mrpt::utils::CCanvas::drawFeatures(), mrpt::graphs::detail::CVisualizer< CPOSE, MAPS_IMPLEMENTATION, TMRSlamNodeAnnotations, EDGE_ANNOTATIONS >::drawNodeCorners(), mrpt::hmtslam::CLocalMetricHypothesis::dumpAsText(), mrpt::hmtslam::CHierarchicalMHMap::dumpAsXMLfile(), mrpt::graphslam::apps::TUserOptionsChecker< GRAPH_T >::dumpRegistrarsToConsole(), mrpt::hmtslam::CHMTSLAM::TMessageLSLAMfromAA::dumpToConsole(), mrpt::hwdrivers::CImageGrabber_dc1394::enumerateCameras(), mrpt::math::RANSAC_Template< NUMTYPE >::execute(), EXPLICIT_INST_ransac_detect_3D_planes(), mrpt::utils::CImage::extract_patch(), mrpt::vision::CFeatureExtraction::extractFeaturesSIFT(), mrpt::graphs::CNetworkOfPoses< CPOSE, MAPS_IMPLEMENTATION, NODE_ANNOTATIONS, EDGE_ANNOTATIONS >::extractSubGraph(), find_chessboard_corners_multiple(), mrpt::graphslam::deciders::CLoopCloserERD< GRAPH_T >::findPathByEnds(), mrpt::system::formatTimeInterval(), mrpt::utils::CListOfClasses::fromString(), mrpt::hwdrivers::CRovio::general_command(), mrpt::hwdrivers::CLMS100Eth::generateCmd(), mrpt::graphslam::deciders::CLoopCloserERD< GRAPH_T >::generateHypotsPool(), mrpt::hmtslam::CHMTSLAM::generateLogFiles(), mrpt::graphslam::CGraphSlamEngine< GRAPH_T >::generateReportFiles(), mrpt::hmtslam::CHMTSLAM::generateUniqueAreaLabel(), mrpt::utils::CStringList::get_string(), mrpt::math::CMatrixTemplate< mrpt::math::TPoint3D >::get_unsafe(), mrpt::math::CMatrixTemplate< mrpt::math::TPoint3D >::get_unsafe_row(), mrpt::slam::CRangeBearingKFSLAM2D::getAs3DObject(), mrpt::maps::CBeacon::getAs3DObject(), mrpt::slam::CRangeBearingKFSLAM::getAs3DObject(), mrpt::hmtslam::CLocalMetricHypothesis::getAs3DScene(), mrpt::slam::CIncrementalMapPartitioner::getAs3DScene(), mrpt::graphslam::deciders::CLoopCloserERD< GRAPH_T >::TGetICPEdgeAdParams::getAsString(), mrpt::obs::CObservationWirelessPower::getDescriptionAsText(), mrpt::obs::CObservationOdometry::getDescriptionAsText(), mrpt::obs::CObservationBatteryState::getDescriptionAsText(), mrpt::obs::CObservationBeaconRanges::getDescriptionAsText(), mrpt::obs::CObservationCANBusJ1939::getDescriptionAsText(), mrpt::obs::CObservationImage::getDescriptionAsText(), mrpt::obs::CObservationRange::getDescriptionAsText(), mrpt::obs::CObservationGasSensors::getDescriptionAsText(), mrpt::obs::CObservationBearingRange::getDescriptionAsText(), mrpt::obs::CObservationStereoImagesFeatures::getDescriptionAsText(), mrpt::obs::CObservationStereoImages::getDescriptionAsText(), mrpt::obs::CObservationIMU::getDescriptionAsText(), mrpt::obs::CObservation2DRangeScan::getDescriptionAsText(), mrpt::obs::CObservationVelodyneScan::getDescriptionAsText(), mrpt::graphs::CDirectedGraph< CPOSE, EDGE_ANNOTATIONS >::getEdge(), mrpt::graphs::CNetworkOfPoses< CPOSE, MAPS_IMPLEMENTATION, NODE_ANNOTATIONS, EDGE_ANNOTATIONS >::getEdgeSquareError(), mrpt::hwdrivers::CJoystick::getJoystickPosition(), mrpt::hwdrivers::CJoystick::getJoysticksCount(), mrpt::hwdrivers::CSwissRanger3DCamera::getMesaLibVersion(), mrpt::obs::CObservationGPS::getMsgByType(), mrpt::hwdrivers::CCameraSensor::getNextFrame(), mrpt::hwdrivers::CSwissRanger3DCamera::getNextObservation(), mrpt::graphslam::deciders::CLoopCloserERD< GRAPH_T >::getPropsOfNodeID(), mrpt::utils::CTimeLogger::getStatsAsText(), mrpt::graphs::CDijkstra< TYPE_GRAPH, MAPS_IMPLEMENTATION >::getTreeGraph(), mrpt::gui::CDisplayWindow3D::grabImageGetNextFile(), mrpt::graphs::detail::graph_ops< graph_t >::graph_edge_sqerror(), mrpt::opengl::graph_tools::graph_visualize(), mrpt::comms::net::http_request(), mrpt::gui::CDisplayWindowPlots::image(), CAboutBoxBase::information(), mrpt::hwdrivers::CRovio::initialize(), mrpt::hwdrivers::CNTRIPEmitter::initialize(), mrpt::hwdrivers::CVelodyneScanner::initialize(), mrpt::hwdrivers::CCameraSensor::initialize(), mrpt::vision::CFeatureExtraction::internal_computeSpinImageDescriptors(), mrpt::nav::CPTG_DiffDrive_CollisionGridBased::internal_initialize(), mrpt::nav::PlannerTPS_VirtualBase::internal_loadConfig_PTG(), mrpt::gui::CDisplayWindowPlots::internal_plot(), mrpt::hwdrivers::CVelodyneScanner::internal_receive_UDP_packet(), mrpt::system::intervalFormat(), mrpt::hwdrivers::CGPSInterface::JAVAD_sendMessage(), mrpt::hwdrivers::CGPSInterface::legacy_topcon_setup_commands(), mrpt::hwdrivers::CSickLaserSerial::LMS_waitACK(), mrpt::maps::CGasConcentrationGridMap2D::load_Gaussian_Wind_Grid_From_File(), mrpt::graphs::detail::graph_ops< graph_t >::load_graph_of_poses_from_text_file(), mrpt::hwdrivers::C2DRangeFinderAbstract::loadCommonParams(), mrpt::hwdrivers::CBoardSonars::loadConfig_sensorSpecific(), mrpt::hwdrivers::CPhidgetInterfaceKitProximitySensors::loadConfig_sensorSpecific(), mrpt::nav::CReactiveNavigationSystem::loadConfigFile(), mrpt::nav::CReactiveNavigationSystem3D::loadConfigFile(), mrpt::graphslam::optimizers::CLevMarqGSO< GRAPH_T >::OptimizationParams::loadFromConfigFile(), mrpt::maps::CLandmarksMap::TMapDefinition::loadFromConfigFile_map_specific(), mrpt::vision::CFeatureList::loadFromTextFile(), mrpt::opengl::CTexturedObject::loadTextureInOpenGL(), mrpt::hmtslam::CHMTSLAM::LSLAM_process_message_from_AA(), mrpt::math::MATLAB_plotCovariance2D(), mrpt::graphs::CNetworkOfPoses< CPOSE, MAPS_IMPLEMENTATION, NODE_ANNOTATIONS, EDGE_ANNOTATIONS >::mergeGraph(), mrpt::graphslam::CGraphSlamEngine< GRAPH_T >::monitorNodeRegistration(), mrpt::hwdrivers::CNTRIPClient::open(), mrpt::math::CMatrixTemplate< mrpt::math::TPoint3D >::operator()(), mrpt::utils::CImage::operator()(), mrpt::vision::CVideoFileWriter::operator<<(), mrpt::poses::operator<<(), mrpt::math::CMatrixTemplate< mrpt::math::TPoint3D >::operator=(), mrpt::math::operator>>(), mrpt::utils::operator>>(), mrpt::graphslam::optimize_graph_spa_levmarq(), mrpt::hwdrivers::CRovio::path_management(), mrpt::hwdrivers::CRovio::pathRename(), mrpt::gui::CDisplayWindowPlots::plotEllipse(), mrpt::hwdrivers::CNTRIPClient::private_ntrip_thread(), mrpt::slam::CMetricMapBuilderRBPF::processActionObservation(), mrpt::slam::CMetricMapBuilderICP::processObservation(), CGraphSlamHandler< GRAPH_T >::readConfigFname(), mrpt::utils::readFileWithPoses(), mrpt::graphslam::CGraphSlamEngine< GRAPH_T >::readGTFile(), mrpt::graphslam::CGraphSlamEngine< GRAPH_T >::readGTFileRGBD_TUM(), mrpt::utils::CStream::ReadObject(), mrpt::utils::CConfigFile::readString(), mrpt::utils::CConfigFileMemory::readString(), mrpt::hwdrivers::CVelodyneScanner::receivePackets(), mrpt::graphs::CGraphPartitioner< GRAPH_MATRIX, num_t >::RecursiveSpectralPartition(), mrpt::graphslam::deciders::CNodeRegistrationDecider< GRAPH_t >::registerNewNodeAtEnd(), mrpt::opengl::COpenGLViewport::render(), mrpt::poses::CPoint2D::resize(), mrpt::poses::CPoint3D::resize(), mrpt::poses::CPose2D::resize(), mrpt::poses::CPose3DQuat::resize(), mrpt::poses::CPose3DRotVec::resize(), mrpt::poses::CPose3D::resize(), mrpt::maps::CGasConcentrationGridMap2D::save_Gaussian_Wind_Grid_To_File(), mrpt::obs::CObservationGasSensors::CMOSmodel::save_log_map(), mrpt::maps::COccupancyGridMap2D::saveAsBitmapFileWithLandmarks(), mrpt::obs::CObservationStereoImagesFeatures::saveFeaturesToTextFile(), mrpt::poses::CPoseInterpolatorBase< 3 >::saveInterpolatedToTextFile(), mrpt::maps::CMultiMetricMap::saveMetricMapRepresentationToFile(), mrpt::utils::TCamera::saveToConfigFile(), mrpt::utils::CTimeLogger::saveToCSVFile(), mrpt::poses::CPoseInterpolatorBase< 3 >::saveToTextFile(), mrpt::pbmap::PlaneInferredInfo::searchTheFloor(), mrpt::hwdrivers::CRovio::send_cmd_action(), mrpt::utils::CStringList::set(), mrpt::math::CMatrixTemplate< mrpt::math::TPoint3D >::set_unsafe(), mrpt::hwdrivers::CGPSInterface::setJAVAD_AIM_mode(), mrpt::comms::CServerTCPSocket::setupSocket(), mrpt::nav::CPTG_DiffDrive_CollisionGridBased::simulateTrajectories(), mrpt::nav::PlannerTPS_VirtualBase::spaceTransformer(), mrpt::nav::PlannerTPS_VirtualBase::spaceTransformerOneDirectionOnly(), mrpt::graphslam::deciders::CLoopCloserERD< GRAPH_T >::splitPartitionToGroups(), mrpt::system::sprintf_container(), mrpt::utils::sprintf_vector(), mrpt::nav::CReactiveNavigationSystem::STEP1_InitPTGs(), mrpt::nav::CReactiveNavigationSystem3D::STEP1_InitPTGs(), TEST(), mrpt::hwdrivers::CCameraSensor::thread_save_images(), mrpt::hwdrivers::CRovio::thread_video(), mrpt::system::timeLocalToString(), mrpt::system::timeToString(), mrpt::system::unitsFormat(), mrpt::hwdrivers::CCANBusReader::waitACK(), mrpt::hwdrivers::CCANBusReader::waitContinuousSampleFrame(), mrpt::hwdrivers::CSickLaserUSB::waitContinuousSampleFrame(), mrpt::hwdrivers::CSickLaserSerial::waitContinuousSampleFrame(), mrpt::gui::CPanelCameraSelection::writeConfigFromVideoSourcePanel(), mrpt::vision::CVideoFileWriter::writeImage(), and mrpt::utils::CConfigFileBase::writeString().

Here is the call graph for this function:

◆ load_si128()

template<bool Aligned>
__m128i mrpt::load_si128 ( const void addr)
inline

Definition at line 60 of file faster_corner_utilities.h.

◆ load_si128< true >()

template<>
__m128i mrpt::load_si128< true > ( const void addr)
inline

Definition at line 65 of file faster_corner_utilities.h.




Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: ae4571287 Thu Nov 23 00:06:53 2017 +0100 at dom oct 27 23:51:55 CET 2019