MRPT  1.9.9
Classes | Namespaces | Macros | Typedefs | Enumerations | Functions | Variables
test.cpp File Reference
#include <mrpt/bayes.h>
#include <mrpt/poses/CPoint2D.h>
#include <mrpt/poses/CPose2D.h>
#include <mrpt/random.h>
#include <mrpt/system/CTicTac.h>
#include <mrpt/system/os.h>
#include <iostream>
#include <mrpt/bayes/CParticleFilterCapable.h>
#include <mrpt/math/data_utils.h>
#include <mrpt/math/ops_vectors.h>
#include <mrpt/math/utils.h>
#include <mrpt/system/filesystem.h>
#include <mrpt/system/vector_loadsave.h>
#include <map>
#include <mrpt/bayes/CKalmanFilterCapable.h>
#include <mrpt/bayes/CParticleFilterData.h>
#include <mrpt/gui/CDisplayWindowPlots.h>
#include <mrpt/math/distributions.h>
#include <mrpt/math/wrap2pi.h>
#include <mrpt/obs/CObservationBearingRange.h>
#include <mrpt/obs/CSensoryFrame.h>
#include <mrpt/comms/CInterfaceFTDI.h>
#include <mrpt/system/datetime.h>
#include <cstdio>
#include <thread>
#include <mrpt/comms/net_utils.h>
#include <mrpt/core/exceptions.h>
#include "NodeletsTest_impl.cpp"
#include <mrpt/comms/CSerialPort.h>
#include "SocketsTest_impl.cpp"
#include <mrpt/detectors.h>
#include <mrpt/examples_config.h>
#include <mrpt/gui.h>
#include <mrpt/hwdrivers/CCameraSensor.h>
#include <mrpt/img/TColor.h>
#include <mrpt/maps/CColouredPointsMap.h>
#include <mrpt/math/ops_containers.h>
#include <mrpt/obs/CRawlog.h>
#include <mrpt/opengl/CGridPlaneXY.h>
#include <mrpt/opengl/CPointCloudColoured.h>
#include <mrpt/opengl/stock_objects.h>
#include <mrpt/graphs/CAStarAlgorithm.h>
#include <cstdlib>
#include <cstring>
#include <mrpt/graphs/CNetworkOfPoses.h>
#include <mrpt/graphs/dijkstra.h>
#include <mrpt/graphslam/levmarq.h>
#include <mrpt/opengl/COpenGLScene.h>
#include <mrpt/opengl/CSetOfObjects.h>
#include <mrpt/opengl/graph_tools.h>
#include <mrpt/system/TParameters.h>
#include <mrpt/gui/CDisplayWindow3D.h>
#include <mrpt/math/TPose3D.h>
#include <mrpt/opengl/CAxis.h>
#include <mrpt/opengl/CBox.h>
#include <mrpt/opengl/CSphere.h>
#include <mrpt/opengl/CText.h>
#include <mrpt/opengl/gl_utils.h>
#include <mrpt/system/CObserver.h>
#include <mrpt/math/TLine3D.h>
#include <mrpt/math/TObject3D.h>
#include <mrpt/math/geometry.h>
#include <mrpt/gui/CDisplayWindow.h>
#include <mrpt/img/CImage.h>
#include <mrpt/opengl/CFBORender.h>
#include <chrono>
#include <mrpt/hwdrivers/CImageGrabber_dc1394.h>
#include <mrpt/hwdrivers/CFFMPEG_InputStream.h>
#include <mrpt/hwdrivers/CImageGrabber_FlyCapture2.h>
#include <mrpt/io/CFileGZOutputStream.h>
#include <mrpt/serialization/CArchive.h>
#include <mrpt/obs/CObservationImage.h>
#include <mrpt/hwdrivers/CImageGrabber_OpenCV.h>
#include <mrpt/config/CConfigFile.h>
#include <mrpt/hwdrivers/CGPSInterface.h>
#include <mrpt/hwdrivers/CHokuyoURG.h>
#include <mrpt/maps/CSimplePointsMap.h>
#include <mrpt/obs/CObservation2DRangeScan.h>
#include <mrpt/system/string_utils.h>
#include <mrpt/hwdrivers/CJoystick.h>
#include <mrpt/hwdrivers/CKinect.h>
#include <mrpt/io/CFileGZInputStream.h>
#include <mrpt/opengl/CFrustum.h>
#include <mrpt/opengl/CPlanarLaserScan.h>
#include <mrpt/system/CTimeLogger.h>
#include <memory>
#include <mrpt/hwdrivers/CNTRIPClient.h>
#include <mrpt/hwdrivers/COpenNI2Sensor.h>
#include <mrpt/opengl.h>
#include <mrpt/hwdrivers/CPhidgetInterfaceKitProximitySensors.h>
#include <mrpt/obs/CObservationRange.h>
#include <mrpt/hwdrivers/CRoboPeakLidar.h>
#include <mrpt/hwdrivers/CLMS100eth.h>
#include <mrpt/hwdrivers/CSickLaserSerial.h>
#include <mrpt/hwdrivers/CSwissRanger3DCamera.h>
#include <mrpt/obs/CObservation3DRangeScan.h>
#include <mrpt/opengl/CTexturedPlane.h>
#include <mrpt/math/CMatrixF.h>
#include <mrpt/math/fourier.h>
#include <mrpt/core/format.h>
#include <mrpt/io/vector_loadsave.h>
#include <mrpt/io/zip.h>
#include <mrpt/io/CPipe.h>
#include <mrpt/poses/CPose3D.h>
#include <mrpt/img/TCamera.h>
#include <mrpt/io/CTextFileLinesParser.h>
#include <mrpt/obs/CObservationStereoImages.h>
#include <mrpt/maps/CGasConcentrationGridMap2D.h>
#include <mrpt/opengl/CPointCloud.h>
#include <mrpt/maps/COccupancyGridMap3D.h>
#include <mrpt/obs/stock_observations.h>
#include <mrpt/opengl/COctoMapVoxels.h>
#include <mrpt/maps/CMultiMetricMap.h>
#include <mrpt/maps/COccupancyGridMap2D.h>
#include <mrpt/maps/CSimpleMap.h>
#include <mrpt/obs/CActionCollection.h>
#include <mrpt/maps/COctoMap.h>
#include <mrpt/opengl/CSetOfLines.h>
#include <mrpt/poses/CPosePDFGaussian.h>
#include <mrpt/poses/CPosePDFSOG.h>
#include <mrpt/tfest/se2.h>
#include <mrpt/math/CSparseMatrix.h>
#include <mrpt/random/RandomGenerators.h>
#include <mrpt/math/CVectorFixed.h>
#include <mrpt/math/TPoint2D.h>
#include <mrpt/math/kmeans.h>
#include <vector>
#include <mrpt/math/interp_fit.hpp>
#include <mrpt/math/CMatrixFixed.h>
#include <mrpt/math/ops_matrices.h>
#include <Eigen/Dense>
#include <mrpt/math/model_search.h>
#include <mrpt/math/ransac.h>
#include "LevMarqTest_impl.cpp"
#include <mrpt/opengl/CAngularObservationMesh.h>
#include <mrpt/opengl/CPolyhedron.h>
#include <mrpt/containers/copy_container_typecasting.h>
#include <mrpt/math/ransac_applications.h>
#include <mrpt/math/slerp.h>
#include <mrpt/math/CSplineInterpolator1D.h>
#include <mrpt/poses/CPose3DInterpolator.h>
#include <mrpt/nav/planners/PlannerSimple2D.h>
#include <mrpt/nav.h>
#include <mrpt/obs/CObservationGasSensors.h>
#include <mrpt/opengl/CCylinder.h>
#include <mrpt/opengl/CDisk.h>
#include <mrpt/opengl/CEllipsoid.h>
#include <mrpt/poses/CPoint3D.h>
#include <mrpt/opengl/CSetOfTexturedTriangles.h>
#include <mrpt/poses/CPointPDFGaussian.h>
#include <mrpt/poses/CPoses2DSequence.h>
#include <mrpt/math/CQuaternion.h>
#include <mrpt/poses/CPose3DQuat.h>
#include <mrpt/poses/Lie/SE.h>
#include <mrpt/math/transform_gaussian.h>
#include <mrpt/poses/CPose3DPDFGaussian.h>
#include <mrpt/poses/CPose3DQuatPDFGaussian.h>
#include <mrpt/obs/CObservationIMU.h>
#include <mrpt/rtti/CObject.h>
#include <sstream>
#include <mrpt/serialization/CSchemeArchive.h>
#include <mrpt/io/CFileInputStream.h>
#include <mrpt/io/CFileOutputStream.h>
#include <mrpt/serialization/stl_serialization.h>
#include <mrpt/serialization/archiveFrom_std_streams.h>
#include <fstream>
#include <mrpt/slam/CICP.h>
#include <mrpt/poses/CPose3DPDF.h>
#include <mrpt/poses/CPosePDF.h>
#include <mrpt/maps/CLandmarksMap.h>
#include <mrpt/obs/CObservationBeaconRanges.h>
#include <mrpt/slam/CRejectionSamplingRangeOnlyLocalization.h>
#include <mrpt/system/backtrace.h>
#include <mrpt/system/CDirectoryExplorer.h>
#include <string>
#include <mrpt/system/CFileSystemWatcher.h>
#include <mrpt/math/CMatrixD.h>
#include <mrpt/topography.h>
#include <iomanip>
#include <mrpt/typemeta/static_string.h>
#include <mrpt/typemeta/num_to_string.h>
#include <mrpt/typemeta/TEnumType.h>
#include <mrpt/typemeta/TTypeName.h>
#include <mrpt/typemeta/TTypeName_stl.h>
#include <mrpt/vision/bundle_adjustment.h>
#include <mrpt/vision/pinhole.h>
#include <mrpt/vision/CFeatureExtraction.h>
#include <mrpt/vision/CImagePyramid.h>
#include <mrpt/vision/TKeyPoint.h>
#include <mrpt/vision/types.h>
#include <mrpt/vision/chessboard_find_corners.h>
#include <mrpt/vision/CVideoFileWriter.h>
#include <mrpt/vision/tracking.h>
#include <mrpt/vision/chessboard_camera_calib.h>
#include <mrpt/vision/chessboard_stereo_camera_calib.h>
#include <mrpt/vision/CStereoRectifyMap.h>

Go to the source code of this file.

Classes

class  CMyRejectionSampling
 
class  CRangeBearing
 
struct  CParticleVehicleData
 
class  CRangeBearingParticleFilter
 
class  CCoinDistribution
 This is a example of problem resolution using the CAStarAlgorithm template. More...
 
class  CAStarExample
 To use the template, a class must be derived from CAStarAlgorithm<Solution class>="">. More...
 
struct  EdgeAdders< GRAPH, EDGES_ARE_PDF >
 Generic struct template Auxiliary class to add a new edge to the graph. More...
 
struct  EdgeAdders< GRAPH, false >
 Specific templates based on the above EdgeAdders template Non-PDF version: More...
 
struct  EdgeAdders< GRAPH, true >
 
struct  ExampleDemoGraphSLAM< my_graph_t >
 
struct  TMyExtraRenderingStuff
 
struct  TMass
 
struct  TForce
 
class  MyObserver
 
struct  TThreadParam
 
struct  TThreadParam
 
struct  MyConnectivityVisitor
 
class  MyObserver
 
struct  TObs
 
struct  Fit3DPlane
 
class  PIThreadParam
 
class  AggregatorFunctor
 
class  MyNS::Foo
 
class  MyNS::BarBase
 
class  MyNS::Bar
 
class  Foo< INTER_SPACE >
 
struct  MyFooClass
 [example typename] More...
 
struct  MyNS::MyBarClass
 
struct  MyNS::MyBarClass2
 

Namespaces

 MyNS
 [example-define-class]
 

Macros

#define TEST_RESAMPLING(ALGOR)
 
#define BEARING_SENSOR_NOISE_STD   DEG2RAD(15.0f)
 
#define RANGE_SENSOR_NOISE_STD   0.3f
 
#define DELTA_TIME   0.1f
 
#define VEHICLE_INITIAL_X   4.0f
 
#define VEHICLE_INITIAL_Y   4.0f
 
#define VEHICLE_INITIAL_V   1.0f
 
#define VEHICLE_INITIAL_W   DEG2RAD(20.0f)
 
#define TRANSITION_MODEL_STD_XY   0.03f
 
#define TRANSITION_MODEL_STD_VXY   0.20f
 
#define NUM_PARTICLES   2000
 
#define NODELETS_TEST_VERBOSE
 
#define SOCKET_TEST_VERBOSE
 
#define _CRT_SECURE_NO_WARNINGS
 
#define DO_CAPTURE   0
 
#define DO_CAPTURE   0
 
#define LOAD_MAP_FROM_FILE   0
 
#define SHOW_POINT_LABELS   0
 
#define LEVMARQ_EXAMPLE_VERBOSE
 
#define PAIRED_RANDOM_POSES
 
#define USE_THREADS
 
#define COLORR   1.0f
 rayTrace Ray tracing is a technique for generating an image by tracing the path of light through pixels in an image plane and simulating the effects of its encounters with virtual objects More...
 
#define COLORG   0.0f
 
#define COLORB   0.0f
 
#define GRID_R   1.0f
 
#define GRID_G   1.0f
 
#define GRID_B   1.0f
 

Typedefs

typedef CDijkstra< CNetworkOfPoses2DCMyDijkstra
 

Enumerations

enum  TestColors {
  TestColors::Black = 0, TestColors::Gray = 7, TestColors::White = 15, TestColors::Black = 0,
  TestColors::Gray = 7, TestColors::White = 15
}
 [example] More...
 
enum  Directions {
  North, East, South, West,
  North, East, South, West
}
 

Functions

void TestRS ()
 
int main ()
 
void TestResampling ()
 
void TestBatch ()
 
int main (int argc, char **argv)
 
void TestBayesianTracking ()
 
int main ()
 
void Test_EnumerateDevices ()
 
int main ()
 
void Test_HTTP_get ()
 
int main (int argc, char **argv)
 [example-http-get] More...
 
int main ()
 
int main ()
 
int main ()
 
void test_except_3rd_lvl ()
 [example-nested-exceptions] More...
 
void test_except_2nd_lvl ()
 
void test_except_toplevel ()
 
int main ()
 
string myDataDir (MRPT_EXAMPLES_BASE_DIRECTORY+string("detectors_face/"))
 
string myInitFile (MRPT_EXAMPLES_BASE_DIRECTORY+string("detectors_face/FACE_DETECTION_TEST.INI"))
 
void TestCamera3DFaceDetection (CCameraSensor::Ptr cam)
 
void TestCameraFaceDetection ()
 
void TestImagesFaceDetection (int argc, char *argv[])
 
void BatchMode ()
 
void mySplit (const string &str)
 
void TestPrepareDetector ()
 
int main (int argc, char *argv[])
 
int main (int argc, char **argv)
 Main function. More...
 
void addEdge (TNodeID from, TNodeID to, const std::map< TNodeID, CPose2D > &real_poses, CNetworkOfPoses2D &graph_links)
 
double myDijkstraWeight (const CMyDijkstra::graph_t &g, const TNodeID from, const TNodeID to, const CMyDijkstra::edge_t &edge)
 
void TestDijkstra ()
 
int main ()
 
int main ()
 
void TestDisplay3D ()
 
int main ()
 
void TestDisplay3D ()
 
int main ()
 
void TestDisplay3D ()
 
int main ()
 
void myOnMenu (int menuID, float x, float y, void *param)
 
void TestDisplayPlots ()
 
int main ()
 
void TestDisplay3D ()
 
int main (int argc, char *argv[])
 
void simulateGravity (vector< TMass > &objs, double At)
 
void GravityDemo ()
 
void simulateGravity (vector< TMass > &objs, double At)
 
int main ()
 
void TestFonts ()
 
int main ()
 
string myExampleImage (MRPT_EXAMPLES_BASE_DIRECTORY+string("img_basic_example/frame_color.jpg"))
 
void TestGuiWindowsEvents ()
 
int main ()
 
void TestCameraCaptureAsk ()
 
int main ()
 
void TestCapture_1394 ()
 
int main (int argc, char **argv)
 
void Test_FFMPEG_CaptureCamera (const std::string &video_url)
 
int main (int argc, char **argv)
 
void TestCapture_FlyCapture2 ()
 
int main (int argc, char **argv)
 
void TestCapture_FlyCapture2_stereo ()
 
int main (int argc, char **argv)
 
void TestCapture_OpenCV ()
 
int main (int argc, char **argv)
 
void TestEnumerate_1394 ()
 
int main (int argc, char **argv)
 
void Test_GPS ()
 
int main ()
 
void Test_HOKUYO ()
 
int main (int argc, char **argv)
 
void TestJoystick ()
 
int main ()
 
void thread_grabbing (TThreadParam &p)
 
void Test_KinectOnlineOffline (bool is_online, const string &rawlog_file=string())
 
int main (int argc, char **argv)
 
void thread_grabbing (TThreadParam &p)
 
void Test_Kinect ()
 
int main (int argc, char **argv)
 
void TestNTRIP ()
 
void TestNTRIP2 ()
 
int main ()
 
int main (int argc, char **argv)
 
int main (int argc, char **argv)
 
int main (int argc, char **argv)
 Usage : . More...
 
void Test_RPLIDAR ()
 
int main (int argc, char **argv)
 
int main (int argc, char *argv[])
 
void TestPLS ()
 
int main (int argc, char **argv)
 
void Test_SwissRanger ()
 
int main (int argc, char **argv)
 
string myDataDir (MRPT_EXAMPLES_BASE_DIRECTORY+string("img_basic_example/"))
 
void TestImageConversion ()
 
int main ()
 
string myDataDir (MRPT_EXAMPLES_BASE_DIRECTORY+string("img_convolution_fft/"))
 
void TestImageConvolutionFFT ()
 
int main ()
 
string myDataDir (MRPT_EXAMPLES_BASE_DIRECTORY+string("img_correlation_example/"))
 
void TestFFT_2D_real ()
 
void TestFFT_2D_complex ()
 
void TestImageFFT ()
 
int main ()
 
string myDataDir (MRPT_EXAMPLES_BASE_DIRECTORY+string("img_gauss_filtering_example/"))
 
void Test_GaussWindows ()
 
int main ()
 
int main (int argc, char **argv)
 
void thread_reader (CPipeReadEndPoint &read_pipe)
 
void thread_writer (CPipeWriteEndPoint &write_pipe)
 
void ThreadsTest ()
 
int main ()
 
void stereo2rawlog (bool is_kitti_dataset, const string &src_path0, const string &src_path1, const string &calib_file, const string &out_name)
 
int main (int argc, char **argv)
 
void Example_GMRF ()
 
int main (int argc, char **argv)
 
void TestGridMap3D ()
 
int main ([[maybe_unused]] int argc, [[maybe_unused]] char **argv)
 
string myDataDir (MRPT_EXAMPLES_BASE_DIRECTORY+string("maps_gridmap_benchmark/"))
 
string iniFile (myDataDir+string("benchmark-options.ini"))
 
void BenchmarkGridmaps ()
 
int main (int argc, char **argv)
 
string myDataDir (MRPT_EXAMPLES_BASE_DIRECTORY+string("maps_gridmap_likelihood_characterization/"))
 
string iniFile (myDataDir+string("config_likelihood.ini"))
 
void theMainThing ()
 
int main ()
 
void TestVoronoi ()
 
int main (int argc, char **argv)
 
void TestLaser2Imgs ()
 
int main (int argc, char **argv)
 
CObservation2DRangeScan getScan ()
 
void TestObserverPattern ()
 
int main ()
 
void TestOctoMap ()
 
int main (int argc, char **argv)
 
void TestRANSAC ()
 
int main ()
 
void ExampleCSparse ()
 
int main (int argc, char **argv)
 
void TestKMeans ()
 
int main (int argc, char **argv)
 
void TestLeastSquares ()
 
int main (int argc, char **argv)
 
string myDataDir (MRPT_EXAMPLES_BASE_DIRECTORY+string("math_matrix_example/"))
 
void TestChol ()
 
void TestInitMatrix ()
 
void TestHCH ()
 
void TestMatrixTemplate ()
 
void TestMatrices ()
 
void TestCov ()
 
int main ()
 
void TestRANSAC ()
 
int main ()
 
int main ()
 
double randomDouble (size_t precision=1000)
 
void display ()
 
int main (int argc, char **argv)
 
double MYRAND1 (size_t prec=64)
 
void randomColor (const CRenderizable::Ptr &obj, double alpha)
 
void piThreadFunction (PIThreadParam &p)
 
std::thread piCreateThread (PIThreadParam &p)
 
CSetOfLines::Ptr getIntersections (const vector< pair< CPolyhedron::Ptr, CPolyhedron::Ptr >> &v)
 
double randomAngle (size_t prec=64)
 
double randomZ (double space=25, size_t prec=64)
 
pair< CPolyhedron::Ptr, CPolyhedron::PtraddPairOfPolys (CPolyhedron::Ptr p1, CPolyhedron::Ptr p2, CSetOfObjects::Ptr &objs, double x, double y)
 
void display ()
 
int main ()
 
void TestRANSACPlanes ()
 
void TestRANSACLines ()
 
int main ()
 
void ransac3Dplane_fit (const CMatrixDouble &allData, const std::vector< size_t > &useIndices, vector< CMatrixDouble > &fitModels)
 
void ransac3Dplane_distance (const CMatrixDouble &allData, const vector< CMatrixDouble > &testModels, const double distanceThreshold, unsigned int &out_bestModelIndex, std::vector< size_t > &out_inlierIndices)
 
bool ransac3Dplane_degenerate (const CMatrixDouble &allData, const std::vector< size_t > &useIndices)
 Return "true" if the selected points are a degenerate (invalid) case. More...
 
void TestRANSAC ()
 
int main ()
 
void TestSLERP ()
 
int main ()
 
void TestCPose3DInterpolation ()
 
void TestSplineInterpolation ()
 
void TestSplineInterpolationVector ()
 
int main (int argc, char **argv)
 
string myGridMap (MRPT_EXAMPLES_BASE_DIRECTORY+string("../share/mrpt/datasets/2006-MalagaCampus.gridmap.gz"))
 
void TestPathPlanning ()
 
int main (int argc, char **argv)
 
string mySimpleMap (MRPT_EXAMPLES_BASE_DIRECTORY+string("../share/mrpt/datasets/malaga-cs-fac-building.simplemap.gz"))
 
string myCfgFileName (MRPT_EXAMPLES_BASE_DIRECTORY+string("../share/mrpt/config_files/navigation-ptgs/" "ptrrt_config_example1.ini"))
 
void TestRRT1 ()
 
int main (int argc, char **argv)
 
int main (int argc, char **argv)
 
void TestOpenGLObjects ()
 
int main ()
 
void insertRandomPoints_uniform (const size_t N, opengl::CPointCloud::Ptr &gl, const TPoint3D &p_min, const TPoint3D &p_max)
 
void insertRandomPoints_screw (const size_t N, opengl::CPointCloud::Ptr &gl, const TPoint3D &p_start, const TPoint3D &p_end)
 
void insertRandomPoints_gauss (const size_t N, opengl::CPointCloud::Ptr &gl, const TPoint3D &p_mean, const TPoint3D &p_stddevs)
 
void TestOctreeRenderHugePointCloud ()
 
int main ()
 
int TestOffscreenRender (int argc, char *argv[])
 
int main (int argc, char *argv[])
 
double MYRAND1 ()
 
double MYRANDG (double scale, double shift=0)
 
CPose3D randomPose ()
 
void configRandom (const CRenderizable::Ptr &obj)
 Call configRandom given the address of an object and assign random pose and color to it. More...
 
void guideLines (const CPose3D &base, CSetOfLines::Ptr &lines, float dist)
 
void generateObjects (CSetOfObjects::Ptr &world)
 
void display ()
 
int main ()
 
string myDataDir (MRPT_EXAMPLES_BASE_DIRECTORY+string("opengl_textured_triangles_example/"))
 
void TestDisplay3D ()
 
int main (int argc, char *argv[])
 
const std::string myTestFile (MRPT_EXAMPLES_BASE_DIRECTORY+std::string("img_basic_example/frame_color.jpg"))
 
void TextureSizes_test ()
 
int main ()
 
void TestOpenGLVideo ()
 
int main ()
 
void TestOpenGLVideo ()
 
int main ()
 
void TestGeometry3D2 ()
 
void TestGeometry3D ()
 
int main ()
 
void TestPosePDFOperations ()
 
void TestPoseComposition ()
 
int main ()
 
void TestQuaternions ()
 
void TestQuaternionsIterators ()
 
int main (int argc, char **argv)
 
void TestSE3 ()
 
int main ()
 
void Test_SoG_Merge ()
 
int main (int argc, char **argv)
 
void myFun1 (const CVectorFixedDouble< 3 > &x, const double &user_param, CVectorFixedDouble< 3 > &y)
 
void Test_SUT ()
 
static void aux_posequat2poseypr (const CVectorFixedDouble< 7 > &x, const double &dummy, CVectorFixedDouble< 6 > &y)
 
void TestCalibrate_pose2quat ()
 
int main (int argc, char **argv)
 
void TestHist ()
 
void TestRandomGenerators ()
 
int main ()
 
template<class CONTAINER >
CONTAINER::const_iterator find_closest (const CONTAINER &data, const typename CONTAINER::key_type &searchkey)
 
void rgbd2rawlog (const string &src_path, const string &out_name)
 
int main (int argc, char **argv)
 
void Test_UserTypes ()
 [example-define-class] More...
 
void do_register ()
 [example-define-class-test] More...
 
void Test_UserTypesFactory ()
 
int main (int argc, char **argv)
 [example-factory] More...
 
void WriteAndReadExample ()
 [example] More...
 
int main (int argc, char **argv)
 [example] More...
 
template<class CONTAINER >
void printMap (const CONTAINER &m)
 
void WriteAndReadExample ()
 [example] More...
 
void WriteAndReadExampleStdIO ()
 [example] More...
 
int main (int argc, char **argv)
 [example_stdio] More...
 
void thread_reader (CPipeReadEndPoint &read_pipe)
 
void thread_writer (CPipeWriteEndPoint &write_pipe)
 
void ThreadsTest ()
 
int main ()
 
void generateObjects (CSetOfObjects::Ptr &world)
 Generate 3 objects to work with - 1 sphere, 2 disks. More...
 
void test_icp3D ()
 
int main ()
 
void TestICP ()
 
int main (int argc, char **argv)
 
void TestRS ()
 
int main ()
 
int main ()
 
void TestTimes ()
 
int main ()
 
void TestDirExplorer ()
 
void TestFileNames ()
 
int main ()
 
void setupDirContents ()
 Create a directory Open and write some content in a file inside the directory If directory exists delete it altogether. More...
 
void renameDirContents ()
 Initialize a directory along with some dummy content. More...
 
int main ()
 
void TestWatch ()
 
int main ()
 
void MyCoolFunction (const TParametersDouble &params)
 
void TestParameters ()
 
int main ()
 
void exampleResults ()
 
void displayResults (const CVectorDouble &thisResults, const unsigned int &example, const bool color)
 
void TestCoordinatesConversions ()
 
void Examples_01 ()
 
void Examples_02 ()
 
void Examples_03 ()
 
void Examples_04 ()
 
void Examples_05 ()
 
void Examples_06 ()
 
void Examples_07 ()
 
void Examples_08 ()
 
void Examples_10 ()
 
void Examples_11 ()
 
void Examples_12 ()
 
void Examples_13 ()
 
int main (int argc, char **argv)
 
void TestGPS_coords ()
 
void TestGeoid2Geocentric ()
 
int main ()
 
void Test_StaticString ()
 [example sstring] More...
 
void Test_StaticNum2Str ()
 [example sstring] More...
 
int main (int argc, char **argv)
 [example num2str] More...
 
 MRPT_FILL_ENUM_MEMBER (TestColors, Black)
 
 MRPT_FILL_ENUM_MEMBER (TestColors, Gray)
 
 MRPT_FILL_ENUM_MEMBER (TestColors, White)
 
 MRPT_FILL_ENUM (North)
 
 MRPT_FILL_ENUM (East)
 
 MRPT_FILL_ENUM (South)
 
 MRPT_FILL_ENUM (West)
 
void Test_EnumType ()
 
int main (int argc, char **argv)
 [example] More...
 
 DECLARE_CUSTOM_TTYPENAME (MyFooClass)
 
 DECLARE_CUSTOM_TTYPENAME (MyNS::MyBarClass)
 
void Test_TypeName ()
 
int main (int argc, char **argv)
 [example typename] More...
 
void my_BundleAdjustmentFeedbackFunctor (const size_t cur_iter, const double cur_total_sq_error, const size_t max_iters, const TSequenceFeatureObservations &input_observations, const TFramePosesVec &current_frame_estimate, const TLandmarkLocationsVec &current_landmark_estimate)
 
void bundle_adj_full_demo (const TCamera &camera_params, const TSequenceFeatureObservations &allObs, TFramePosesVec &frame_poses, TLandmarkLocationsVec &landmark_points)
 
mrpt::opengl::CSetOfObjects::Ptr framePosesVecVisualize (const TFramePosesVec &poses, const double len, const double lineWidth)
 
int main (int argc, char **argv)
 
mrpt::opengl::CSetOfObjects::Ptr framePosesVecVisualize (const TFramePosesVec &poses, const double len, const double lineWidth)
 
void TestVideoBuildPyr ()
 
int main ()
 
void TestCheckerboardDetectors ()
 
int main ()
 
void Test_VideoFile ()
 
int main (int argc, char **argv)
 
string myDataDir (MRPT_EXAMPLES_BASE_DIRECTORY+string("img_convolution_fft/"))
 
void TestExtractMatchProjectAndPaint ()
 
void TestMatchFeatures ()
 
void TestMatchingComparative ()
 
void TestExtractFeatures ()
 
void TestExtractFeaturesTile ()
 
int main (int argc, char **argv)
 
string myDataDir (MRPT_EXAMPLES_BASE_DIRECTORY+string("vision_keypoint_matching_example/imgs/"))
 
void TestExtractMatchProjectAndPaint ()
 
void TestMatchFeatures (bool showMatches)
 
void TestMatchingComparative ()
 
int main (int argc, char **argv)
 
void TestMultipleCheckerboard (const std::string &img_filename, const unsigned int checkerboard_size_x, const unsigned int checkerboard_size_y)
 
int main (int argc, char **argv)
 
int TestStereoCalibrate (int argc, char **argv)
 
int main (int argc, char **argv)
 
void TestStereoRectify (int argc, char **argv)
 

Variables

double SIGMA = 0.05
 
double MIN_LOG_WEIG = -1.0
 
unsigned int N_TESTS = 500
 
int N_PARTICLES = 100
 
CVectorDouble min_log_ws
 
map< string, CVectorDoubleresults
 
string url = "http://www.google.es/"
 
CFaceDetection faceDetector
 
bool showEachDetectedFace
 
bool batchMode
 
vector< stringrawlogs
 
vector< std::vector< uint32_t > > falsePositives
 
vector< std::vector< uint32_t > > ignored
 
string rawlogsDir
 
static string OPENCV_SRC_DIR = "./"
 
const double STD_NOISE_NODE_XYZ = 0.5
 
const double STD_NOISE_NODE_ANG = 5.0_deg
 
const double STD_NOISE_EDGE_XYZ = 0.001
 
const double STD_NOISE_EDGE_ANG = 0.01_deg
 
const double STD4EDGES_COV_MATRIX = 10
 
const double ERROR_IN_INCOMPATIBLE_EDGE = 0.3
 
vector< double > log_sq_err_evolution
 
const size_t N_MASSES = 750
 
const double BOX = 500
 
const double V0 = 100
 
const double MASS_MIN = log(40.0)
 
const double MASS_MAX = log(100.0)
 
const double M2R = 2.0
 
const double LARGEST_STEP = 0.001
 
const double G = 300
 
const double COLLIS_LOSS = 0.98
 
MyObserver observer
 
bool LIVE_CAM = true
 
int N_CAM_TO_OPEN = 0
 
std::string AVI_TO_OPEN
 
string SERIAL_NAME
 
string SERIAL_NAME
 
const float vert_FOV = 4.0_deg
 
string SERIAL_NAME
 
string SERIAL_NAME
 
const double STEREO_FPS = 10.0
 
const string sample_simplemap_file
 
std::string RAWLOG_FILE
 
const size_t NUM_OBSERVATIONS_TO_SIMUL = 10
 
const size_t RANSAC_MINIMUM_INLIERS = 9
 
const float normalizationStd = 0.15f
 
const float ransac_mahalanobisDistanceThreshold = 5.0f
 
const size_t MINIMUM_RANSAC_ITERS = 100000
 
const size_t NUM_MAP_FEATS = 100
 
const double MAP_SIZE_X = 50
 
const double MAP_SIZE_Y = 25
 
const unsigned int NUMBER_OF_EDGES = 20
 
const double MIN_RADIUS = 5
 
const double MAX_RADIUS = 40
 
const double DIFF_RADIUS = MAX_RADIUS - MIN_RADIUS
 
const double GRID_R = 1.0
 
const double GRID_G = 1.0
 
const double GRID_B = 1.0
 
mrpt::gui::CDisplayWindow3D::Ptr win
 
const size_t HOW_MANY_YAWS = 150
 
const size_t HOW_MANY_PITCHS = 75
 
const float RANDOM_POSE_DISTANCE = 10
 
const double KINECT_FPS = 30.0
 
const size_t HOW_MANY_YAWS = 120
 
const size_t HOW_MANY_PITCHS = 120
 
vector< CObservation2DRangeScansequence_scans1
 
vector< CObservation2DRangeScansequence_scans2
 
CPose3D viewpoint1 (-0.3, 0.7, 3, 5.0_deg, 80.0_deg, 3.0_deg)
 
CPose3D viewpoint2 (0.5, -0.2, 2.6, -5.0_deg, 100.0_deg, -7.0_deg)
 
CPose3D SCAN2_POSE_ERROR (0.15, -0.07, 0.10, -0.03, 0.1, 0.1)
 
bool skip_window = false
 
int ICP_method = (int)icpClassic
 
float SIGMA = 0.03f
 
std::vector< stringnames
 
std::vector< CMatrixDresults
 
const double TH = 0.02
 
CVectorDouble history_avr_err
 
double WORLD_SCALE = 1
 
std::string myDataDir
 
const string the_img_for_extract_feats = myDataDir + string("test_image.jpg")
 
std::string myDataDir
 

Macro Definition Documentation

◆ _CRT_SECURE_NO_WARNINGS

#define _CRT_SECURE_NO_WARNINGS

Definition at line 9 of file vision_stereo_rectify/test.cpp.

◆ BEARING_SENSOR_NOISE_STD

#define BEARING_SENSOR_NOISE_STD   DEG2RAD(15.0f)

Definition at line 34 of file vision_stereo_rectify/test.cpp.

◆ COLORB

#define COLORB   0.0f

Definition at line 36 of file vision_stereo_rectify/test.cpp.

◆ COLORG

#define COLORG   0.0f

Definition at line 35 of file vision_stereo_rectify/test.cpp.

◆ COLORR

#define COLORR   1.0f

rayTrace Ray tracing is a technique for generating an image by tracing the path of light through pixels in an image plane and simulating the effects of its encounters with virtual objects

Definition at line 34 of file vision_stereo_rectify/test.cpp.

◆ DELTA_TIME

#define DELTA_TIME   0.1f

Definition at line 36 of file vision_stereo_rectify/test.cpp.

◆ DO_CAPTURE [1/2]

#define DO_CAPTURE   0

◆ DO_CAPTURE [2/2]

#define DO_CAPTURE   0

◆ GRID_B

#define GRID_B   1.0f

Definition at line 40 of file vision_stereo_rectify/test.cpp.

◆ GRID_G

#define GRID_G   1.0f

Definition at line 39 of file vision_stereo_rectify/test.cpp.

◆ GRID_R

#define GRID_R   1.0f

Definition at line 38 of file vision_stereo_rectify/test.cpp.

◆ LEVMARQ_EXAMPLE_VERBOSE

#define LEVMARQ_EXAMPLE_VERBOSE

Definition at line 10 of file vision_stereo_rectify/test.cpp.

◆ LOAD_MAP_FROM_FILE

#define LOAD_MAP_FROM_FILE   0

Definition at line 35 of file vision_stereo_rectify/test.cpp.

◆ NODELETS_TEST_VERBOSE

#define NODELETS_TEST_VERBOSE

Definition at line 10 of file vision_stereo_rectify/test.cpp.

◆ NUM_PARTICLES

#define NUM_PARTICLES   2000

Definition at line 46 of file vision_stereo_rectify/test.cpp.

◆ PAIRED_RANDOM_POSES

#define PAIRED_RANDOM_POSES

Definition at line 32 of file vision_stereo_rectify/test.cpp.

◆ RANGE_SENSOR_NOISE_STD

#define RANGE_SENSOR_NOISE_STD   0.3f

Definition at line 35 of file vision_stereo_rectify/test.cpp.

◆ SHOW_POINT_LABELS

#define SHOW_POINT_LABELS   0

Definition at line 36 of file vision_stereo_rectify/test.cpp.

◆ SOCKET_TEST_VERBOSE

#define SOCKET_TEST_VERBOSE

Definition at line 10 of file vision_stereo_rectify/test.cpp.

Referenced by thread_server().

◆ TEST_RESAMPLING

#define TEST_RESAMPLING (   ALGOR)
Value:
/*printf(#ALGOR);*/ \
/*printf("\n");*/ \
ERR_MEANs.clear(); \
ERR_STDs.clear(); \
for (size_t i = 0; i < N_TESTS; i++) \
{ \
log_ws, MIN_LOG_WEIG, 0.0); \
CParticleFilterCapable::log2linearWeights(log_ws, lin_ws); \
CParticleFilterCapable::computeResampling( \
CParticleFilter::ALGOR, log_ws, out_indxs); \
hist_parts = mrpt::math::histogram(out_indxs, 0, M - 1, M, true); \
vector<double> errs_hist = lin_ws - hist_parts; \
ERR_MEANs.push_back(mrpt::math::mean(errs_hist)); \
ERR_STDs.push_back(mrpt::math::stddev(errs_hist)); \
} \
printf("%s: ERR_MEAN %e\n", #ALGOR, mrpt::math::mean(ERR_MEANs)); \
printf("%s: ERR_STD %f\n", #ALGOR, mrpt::math::mean(ERR_STDs)); \
results[#ALGOR].push_back(mrpt::math::mean(ERR_STDs));
double stddev(const VECTORLIKE &v, bool unbiased=true)
Computes the standard deviation of a vector.
double MIN_LOG_WEIG
unsigned int N_TESTS
std::vector< double > histogram(const CONTAINER &v, double limit_min, double limit_max, size_t number_bins, bool do_normalization=false, std::vector< double > *out_bin_centers=nullptr)
Computes the normalized or normal histogram of a sequence of numbers given the number of bins and the...
double mean(const CONTAINER &v)
Computes the mean value of a vector.
bool deleteFile(const std::string &fileName)
Deletes a single file.
Definition: filesystem.cpp:182
CRandomGenerator & getRandomGenerator()
A static instance of a CRandomGenerator class, for use in single-thread applications.
void drawUniformVector(VEC &v, const double unif_min=0, const double unif_max=1)
Fills the given vector with independent, uniformly distributed samples.

Definition at line 37 of file vision_stereo_rectify/test.cpp.

◆ TRANSITION_MODEL_STD_VXY

#define TRANSITION_MODEL_STD_VXY   0.20f

Definition at line 44 of file vision_stereo_rectify/test.cpp.

◆ TRANSITION_MODEL_STD_XY

#define TRANSITION_MODEL_STD_XY   0.03f

Definition at line 43 of file vision_stereo_rectify/test.cpp.

◆ USE_THREADS

#define USE_THREADS

Definition at line 34 of file vision_stereo_rectify/test.cpp.

◆ VEHICLE_INITIAL_V

#define VEHICLE_INITIAL_V   1.0f

Definition at line 40 of file vision_stereo_rectify/test.cpp.

◆ VEHICLE_INITIAL_W

#define VEHICLE_INITIAL_W   DEG2RAD(20.0f)

Definition at line 41 of file vision_stereo_rectify/test.cpp.

◆ VEHICLE_INITIAL_X

#define VEHICLE_INITIAL_X   4.0f

Definition at line 38 of file vision_stereo_rectify/test.cpp.

◆ VEHICLE_INITIAL_Y

#define VEHICLE_INITIAL_Y   4.0f

Definition at line 39 of file vision_stereo_rectify/test.cpp.

Typedef Documentation

◆ CMyDijkstra

Definition at line 29 of file vision_stereo_rectify/test.cpp.

Enumeration Type Documentation

◆ Directions

enum Directions
Enumerator
North 
East 
South 
West 
North 
East 
South 
West 

Definition at line 31 of file vision_stereo_rectify/test.cpp.

◆ TestColors

enum TestColors
strong

[example]

Enumerator
Black 
Gray 
White 
Black 
Gray 
White 

Definition at line 17 of file vision_stereo_rectify/test.cpp.

Function Documentation

◆ addEdge()

void addEdge ( TNodeID  from,
TNodeID  to,
const std::map< TNodeID, CPose2D > &  real_poses,
CNetworkOfPoses2D graph_links 
)

Definition at line 36 of file vision_stereo_rectify/test.cpp.

Referenced by GraphSlamLevMarqTest< my_graph_t >::create_ring_path().

Here is the caller graph for this function:

◆ addPairOfPolys()

pair<CPolyhedron::Ptr, CPolyhedron::Ptr> addPairOfPolys ( CPolyhedron::Ptr  p1,
CPolyhedron::Ptr  p2,
CSetOfObjects::Ptr objs,
double  x,
double  y 
)

Definition at line 122 of file vision_stereo_rectify/test.cpp.

◆ aux_posequat2poseypr()

static void aux_posequat2poseypr ( const CVectorFixedDouble< 7 > &  x,
const double &  dummy,
CVectorFixedDouble< 6 > &  y 
)
static

Definition at line 194 of file vision_stereo_rectify/test.cpp.

◆ BatchMode()

void BatchMode ( )

Definition at line 382 of file vision_stereo_rectify/test.cpp.

◆ BenchmarkGridmaps()

void BenchmarkGridmaps ( )

Definition at line 38 of file vision_stereo_rectify/test.cpp.

◆ bundle_adj_full_demo()

void bundle_adj_full_demo ( const TCamera camera_params,
const TSequenceFeatureObservations allObs,
TFramePosesVec frame_poses,
TLandmarkLocationsVec landmark_points 
)

Definition at line 78 of file vision_stereo_rectify/test.cpp.

◆ configRandom()

void configRandom ( const CRenderizable::Ptr obj)

Call configRandom given the address of an object and assign random pose and color to it.

Definition at line 85 of file vision_stereo_rectify/test.cpp.

◆ DECLARE_CUSTOM_TTYPENAME() [1/2]

DECLARE_CUSTOM_TTYPENAME ( MyFooClass  )

◆ DECLARE_CUSTOM_TTYPENAME() [2/2]

DECLARE_CUSTOM_TTYPENAME ( MyNS::MyBarClass  )

◆ display() [1/3]

void display ( )

Definition at line 32 of file vision_stereo_rectify/test.cpp.

Referenced by mrpt::vision::CFeatureLines::extractLines(), and mrpt::hwdrivers::CPhidgetInterfaceKitProximitySensors::loadConfig_sensorSpecific().

Here is the caller graph for this function:

◆ display() [2/3]

void display ( )

Definition at line 148 of file vision_stereo_rectify/test.cpp.

◆ display() [3/3]

void display ( )

Definition at line 150 of file vision_stereo_rectify/test.cpp.

◆ displayResults()

void displayResults ( const CVectorDouble thisResults,
const unsigned int &  example,
const bool  color 
)

Definition at line 291 of file vision_stereo_rectify/test.cpp.

◆ do_register()

void do_register ( )

[example-define-class-test]

[example-factory]

Definition at line 85 of file vision_stereo_rectify/test.cpp.

◆ Example_GMRF()

void Example_GMRF ( )

Definition at line 49 of file vision_stereo_rectify/test.cpp.

◆ ExampleCSparse()

void ExampleCSparse ( )

Definition at line 18 of file vision_stereo_rectify/test.cpp.

◆ exampleResults()

void exampleResults ( )

Definition at line 27 of file vision_stereo_rectify/test.cpp.

◆ Examples_01()

void Examples_01 ( )

Definition at line 449 of file vision_stereo_rectify/test.cpp.

◆ Examples_02()

void Examples_02 ( )

Definition at line 512 of file vision_stereo_rectify/test.cpp.

◆ Examples_03()

void Examples_03 ( )

Definition at line 603 of file vision_stereo_rectify/test.cpp.

◆ Examples_04()

void Examples_04 ( )

Definition at line 681 of file vision_stereo_rectify/test.cpp.

◆ Examples_05()

void Examples_05 ( )

Definition at line 754 of file vision_stereo_rectify/test.cpp.

◆ Examples_06()

void Examples_06 ( )

Definition at line 828 of file vision_stereo_rectify/test.cpp.

◆ Examples_07()

void Examples_07 ( )

Definition at line 958 of file vision_stereo_rectify/test.cpp.

◆ Examples_08()

void Examples_08 ( )

Definition at line 1083 of file vision_stereo_rectify/test.cpp.

◆ Examples_10()

void Examples_10 ( )

Definition at line 1212 of file vision_stereo_rectify/test.cpp.

◆ Examples_11()

void Examples_11 ( )

Definition at line 1303 of file vision_stereo_rectify/test.cpp.

◆ Examples_12()

void Examples_12 ( )

Definition at line 1395 of file vision_stereo_rectify/test.cpp.

◆ Examples_13()

void Examples_13 ( )

Definition at line 1484 of file vision_stereo_rectify/test.cpp.

◆ find_closest()

template<class CONTAINER >
CONTAINER::const_iterator find_closest ( const CONTAINER &  data,
const typename CONTAINER::key_type &  searchkey 
)

Definition at line 52 of file vision_stereo_rectify/test.cpp.

◆ framePosesVecVisualize() [1/2]

mrpt::opengl::CSetOfObjects::Ptr framePosesVecVisualize ( const TFramePosesVec poses,
const double  len,
const double  lineWidth 
)

Definition at line 520 of file vision_stereo_rectify/test.cpp.

◆ framePosesVecVisualize() [2/2]

mrpt::opengl::CSetOfObjects::Ptr framePosesVecVisualize ( const TFramePosesVec poses,
const double  len,
const double  lineWidth 
)

Definition at line 520 of file vision_stereo_rectify/test.cpp.

◆ generateObjects() [1/2]

void generateObjects ( CSetOfObjects::Ptr world)

Generate 3 objects to work with - 1 sphere, 2 disks.

Definition at line 53 of file vision_stereo_rectify/test.cpp.

◆ generateObjects() [2/2]

void generateObjects ( CSetOfObjects::Ptr world)

Definition at line 107 of file vision_stereo_rectify/test.cpp.

Referenced by TEST_F().

Here is the caller graph for this function:

◆ getIntersections()

CSetOfLines::Ptr getIntersections ( const vector< pair< CPolyhedron::Ptr, CPolyhedron::Ptr >> &  v)

Definition at line 88 of file vision_stereo_rectify/test.cpp.

◆ getScan()

Definition at line 23 of file vision_stereo_rectify/test.cpp.

◆ GravityDemo()

void GravityDemo ( )

Definition at line 49 of file vision_stereo_rectify/test.cpp.

◆ guideLines()

void guideLines ( const CPose3D base,
CSetOfLines::Ptr lines,
float  dist 
)

Definition at line 91 of file vision_stereo_rectify/test.cpp.

◆ iniFile() [1/2]

string iniFile ( myDataDir string"benchmark-options.ini")

Referenced by mrpt::maps::CRandomFieldGridMap2D::TInsertionOptionsCommon::internal_loadFromConfigFile_common(), mrpt::slam::TKLDParams::loadFromConfigFile(), mrpt::maps::CGasConcentrationGridMap2D::TInsertionOptions::loadFromConfigFile(), mrpt::maps::CWirelessPowerGridMap2D::TInsertionOptions::loadFromConfigFile(), mrpt::maps::CHeightGridMap2D_MRF::TInsertionOptions::loadFromConfigFile(), mrpt::hmtslam::CTopLCDetector_FabMap::TOptions::loadFromConfigFile(), mrpt::bayes::TKF_options::loadFromConfigFile(), mrpt::slam::CICP::TConfigParams::loadFromConfigFile(), mrpt::maps::CReflectivityGridMap2D::TInsertionOptions::loadFromConfigFile(), mrpt::slam::CGridMapAligner::TConfigParams::loadFromConfigFile(), mrpt::slam::CMetricMapBuilderRBPF::TConstructionOptions::loadFromConfigFile(), mrpt::maps::COctoMapBase< octree_t, octree_node_t >::TInsertionOptions::loadFromConfigFile(), mrpt::vision::CFeatureExtraction::TOptions::loadFromConfigFile(), mrpt::maps::CHeightGridMap2D::TInsertionOptions::loadFromConfigFile(), mrpt::bayes::CParticleFilter::TParticleFilterOptions::loadFromConfigFile(), mrpt::maps::CBeaconMap::TLikelihoodOptions::loadFromConfigFile(), mrpt::maps::CMultiMetricMapPDF::TPredictionParams::loadFromConfigFile(), mrpt::maps::CRandomFieldGridMap3D::TInsertionOptions::loadFromConfigFile(), mrpt::maps::CBeaconMap::TInsertionOptions::loadFromConfigFile(), mrpt::maps::COccupancyGridMap3D::TInsertionOptions::loadFromConfigFile(), mrpt::maps::CPointsMap::TInsertionOptions::loadFromConfigFile(), mrpt::maps::CLandmarksMap::TInsertionOptions::loadFromConfigFile(), mrpt::maps::COctoMapBase< octree_t, octree_node_t >::TLikelihoodOptions::loadFromConfigFile(), mrpt::vision::TStereoSystemParams::loadFromConfigFile(), mrpt::maps::COccupancyGridMap3D::TLikelihoodOptions::loadFromConfigFile(), mrpt::maps::CPointsMap::TLikelihoodOptions::loadFromConfigFile(), mrpt::maps::CPointsMap::TRenderOptions::loadFromConfigFile(), mrpt::maps::CLandmarksMap::TLikelihoodOptions::loadFromConfigFile(), mrpt::vision::TMatchingOptions::loadFromConfigFile(), mrpt::maps::COccupancyGridMap2D::TInsertionOptions::loadFromConfigFile(), mrpt::maps::COccupancyGridMap2D::TLikelihoodOptions::loadFromConfigFile(), and run_test_pf_localization().

Here is the caller graph for this function:

◆ iniFile() [2/2]

string iniFile ( myDataDir string"config_likelihood.ini")

◆ insertRandomPoints_gauss()

void insertRandomPoints_gauss ( const size_t  N,
opengl::CPointCloud::Ptr gl,
const TPoint3D p_mean,
const TPoint3D p_stddevs 
)

Definition at line 57 of file vision_stereo_rectify/test.cpp.

◆ insertRandomPoints_screw()

void insertRandomPoints_screw ( const size_t  N,
opengl::CPointCloud::Ptr gl,
const TPoint3D p_start,
const TPoint3D p_end 
)

Definition at line 35 of file vision_stereo_rectify/test.cpp.

◆ insertRandomPoints_uniform()

void insertRandomPoints_uniform ( const size_t  N,
opengl::CPointCloud::Ptr gl,
const TPoint3D p_min,
const TPoint3D p_max 
)

Definition at line 24 of file vision_stereo_rectify/test.cpp.

◆ main() [1/114]

int main ( )

Definition at line 13 of file vision_stereo_rectify/test.cpp.

◆ main() [2/114]

int main ( )

Definition at line 15 of file vision_stereo_rectify/test.cpp.

◆ main() [3/114]

int main ( )

Definition at line 16 of file vision_stereo_rectify/test.cpp.

◆ main() [4/114]

int main ( )

Definition at line 17 of file vision_stereo_rectify/test.cpp.

◆ main() [5/114]

int main ( int  argc,
char **  argv 
)

Definition at line 24 of file vision_stereo_rectify/test.cpp.

◆ main() [6/114]

int main ( int  argc,
char **  argv 
)

Usage : .

/test <conf file="" name>="">.ini

Definition at line 25 of file vision_stereo_rectify/test.cpp.

◆ main() [7/114]

int main ( int  argc,
char *  argv[] 
)

Definition at line 26 of file vision_stereo_rectify/test.cpp.

◆ main() [8/114]

int main ( )

Definition at line 27 of file vision_stereo_rectify/test.cpp.

◆ main() [9/114]

int main ( int  argc,
char **  argv 
)

Definition at line 28 of file vision_stereo_rectify/test.cpp.

◆ main() [10/114]

int main ( int  argc,
char **  argv 
)

Definition at line 29 of file vision_stereo_rectify/test.cpp.

◆ main() [11/114]

int main ( int  argc,
char **  argv 
)

Definition at line 30 of file vision_stereo_rectify/test.cpp.

◆ main() [12/114]

int main ( )

Definition at line 32 of file vision_stereo_rectify/test.cpp.

◆ main() [13/114]

int main ( )

Definition at line 37 of file vision_stereo_rectify/test.cpp.

◆ main() [14/114]

int main ( )

Definition at line 38 of file vision_stereo_rectify/test.cpp.

◆ main() [15/114]

int main ( int  argc,
char **  argv 
)

Definition at line 46 of file vision_stereo_rectify/test.cpp.

◆ main() [16/114]

int main ( int  argc,
char **  argv 
)

[example-http-get]

Definition at line 50 of file vision_stereo_rectify/test.cpp.

◆ main() [17/114]

int main ( )

Definition at line 51 of file vision_stereo_rectify/test.cpp.

◆ main() [18/114]

int main ( )

Definition at line 53 of file vision_stereo_rectify/test.cpp.

◆ main() [19/114]

int main ( )

Definition at line 54 of file vision_stereo_rectify/test.cpp.

◆ main() [20/114]

int main ( int  argc,
char **  argv 
)

Definition at line 54 of file vision_stereo_rectify/test.cpp.

◆ main() [21/114]

int main ( int  argc,
char **  argv 
)

[example num2str]

Definition at line 54 of file vision_stereo_rectify/test.cpp.

◆ main() [22/114]

int main ( int  argc,
char **  argv 
)

Definition at line 56 of file vision_stereo_rectify/test.cpp.

◆ main() [23/114]

int main ( )

Definition at line 59 of file vision_stereo_rectify/test.cpp.

◆ main() [24/114]

int main ( int  argc,
char **  argv 
)

Definition at line 61 of file vision_stereo_rectify/test.cpp.

◆ main() [25/114]

int main ( int  argc,
char **  argv 
)

Definition at line 62 of file vision_stereo_rectify/test.cpp.

◆ main() [26/114]

int main ( int  argc,
char **  argv 
)

[example]

Definition at line 63 of file vision_stereo_rectify/test.cpp.

◆ main() [27/114]

int main ( )

Definition at line 65 of file vision_stereo_rectify/test.cpp.

◆ main() [28/114]

int main ( int  argc,
char **  argv 
)

[example typename]

Definition at line 65 of file vision_stereo_rectify/test.cpp.

◆ main() [29/114]

int main ( int  argc,
char **  argv 
)

Definition at line 67 of file vision_stereo_rectify/test.cpp.

◆ main() [30/114]

int main ( int  argc,
char **  argv 
)

[example]

Definition at line 67 of file vision_stereo_rectify/test.cpp.

◆ main() [31/114]

int main ( int  argc,
char **  argv 
)

Definition at line 68 of file vision_stereo_rectify/test.cpp.

◆ main() [32/114]

int main ( int  argc,
char *  argv[] 
)

Definition at line 70 of file vision_stereo_rectify/test.cpp.

◆ main() [33/114]

int main ( )

Definition at line 72 of file vision_stereo_rectify/test.cpp.

◆ main() [34/114]

int main ( )

Definition at line 72 of file vision_stereo_rectify/test.cpp.

◆ main() [35/114]

int main ( int  argc,
char **  argv 
)

Definition at line 75 of file vision_stereo_rectify/test.cpp.

◆ main() [36/114]

int main ( int  argc,
char **  argv 
)

Definition at line 77 of file vision_stereo_rectify/test.cpp.

◆ main() [37/114]

int main ( )

◆ main() [38/114]

int main ( )

Definition at line 80 of file vision_stereo_rectify/test.cpp.

◆ main() [39/114]

int main ( )

Definition at line 83 of file vision_stereo_rectify/test.cpp.

◆ main() [40/114]

int main ( int  argc,
char **  argv 
)

Definition at line 88 of file vision_stereo_rectify/test.cpp.

◆ main() [41/114]

int main ( )

Definition at line 91 of file vision_stereo_rectify/test.cpp.

◆ main() [42/114]

int main ( int  argc,
char **  argv 
)

Definition at line 95 of file vision_stereo_rectify/test.cpp.

◆ main() [43/114]

int main ( int  argc,
char **  argv 
)

Definition at line 96 of file vision_stereo_rectify/test.cpp.

◆ main() [44/114]

int main ( )

Definition at line 97 of file vision_stereo_rectify/test.cpp.

◆ main() [45/114]

int main ( )

Definition at line 98 of file vision_stereo_rectify/test.cpp.

◆ main() [46/114]

int main ( int  argc,
char **  argv 
)

Definition at line 99 of file vision_stereo_rectify/test.cpp.

◆ main() [47/114]

int main ( )

Definition at line 100 of file vision_stereo_rectify/test.cpp.

◆ main() [48/114]

int main ( int  argc,
char **  argv 
)

[example_stdio]

Definition at line 101 of file vision_stereo_rectify/test.cpp.

◆ main() [49/114]

int main ( int  argc,
char **  argv 
)

Definition at line 102 of file vision_stereo_rectify/test.cpp.

◆ main() [50/114]

int main ( )

Definition at line 103 of file vision_stereo_rectify/test.cpp.

◆ main() [51/114]

int main ( )

Definition at line 104 of file vision_stereo_rectify/test.cpp.

◆ main() [52/114]

int main ( int  argc,
char **  argv 
)

Definition at line 105 of file vision_stereo_rectify/test.cpp.

◆ main() [53/114]

int main ( )

Definition at line 105 of file vision_stereo_rectify/test.cpp.

◆ main() [54/114]

int main ( int  argc,
char **  argv 
)

Definition at line 106 of file vision_stereo_rectify/test.cpp.

◆ main() [55/114]

int main ( )

Definition at line 110 of file vision_stereo_rectify/test.cpp.

◆ main() [56/114]

int main ( int  argc,
char **  argv 
)

Definition at line 112 of file vision_stereo_rectify/test.cpp.

◆ main() [57/114]

int main ( )

Definition at line 114 of file vision_stereo_rectify/test.cpp.

◆ main() [58/114]

int main ( int  argc,
char *  argv[] 
)

Definition at line 115 of file vision_stereo_rectify/test.cpp.

◆ main() [59/114]

int main ( int  argc,
char **  argv 
)

Definition at line 115 of file vision_stereo_rectify/test.cpp.

◆ main() [60/114]

int main ( )

Definition at line 116 of file vision_stereo_rectify/test.cpp.

◆ main() [61/114]

int main ( int  argc,
char **  argv 
)

Main function.

Just calls the A* algorithm as many times as needed.

Definition at line 117 of file vision_stereo_rectify/test.cpp.

◆ main() [62/114]

int main ( )

Definition at line 118 of file vision_stereo_rectify/test.cpp.

◆ main() [63/114]

int main ( int  argc,
char **  argv 
)

Definition at line 119 of file vision_stereo_rectify/test.cpp.

◆ main() [64/114]

int main ( int  argc,
char **  argv 
)

Definition at line 122 of file vision_stereo_rectify/test.cpp.

◆ main() [65/114]

int main ( )

Definition at line 125 of file vision_stereo_rectify/test.cpp.

◆ main() [66/114]

int main ( )

Definition at line 125 of file vision_stereo_rectify/test.cpp.

◆ main() [67/114]

int main ( [[maybe_unused] ] int  argc,
[[maybe_unused] ] char **  argv 
)

Definition at line 127 of file vision_stereo_rectify/test.cpp.

◆ main() [68/114]

int main ( int  argc,
char **  argv 
)

[example-factory]

Definition at line 127 of file vision_stereo_rectify/test.cpp.

◆ main() [69/114]

int main ( )

Definition at line 129 of file vision_stereo_rectify/test.cpp.

◆ main() [70/114]

int main ( )

Definition at line 132 of file vision_stereo_rectify/test.cpp.

◆ main() [71/114]

int main ( )

Definition at line 133 of file vision_stereo_rectify/test.cpp.

◆ main() [72/114]

int main ( )

Definition at line 133 of file vision_stereo_rectify/test.cpp.

◆ main() [73/114]

int main ( int  argc,
char *  argv[] 
)

Definition at line 136 of file vision_stereo_rectify/test.cpp.

◆ main() [74/114]

int main ( int  argc,
char **  argv 
)

Definition at line 138 of file vision_stereo_rectify/test.cpp.

◆ main() [75/114]

int main ( int  argc,
char **  argv 
)

Definition at line 139 of file vision_stereo_rectify/test.cpp.

References mrpt::system::CTimeLogger::enter(), and mrpt::vision::CStereoRectifyMap::setFromCamParams().

Here is the call graph for this function:

◆ main() [76/114]

int main ( )

Definition at line 145 of file vision_stereo_rectify/test.cpp.

◆ main() [77/114]

int main ( int  argc,
char **  argv 
)

Definition at line 148 of file vision_stereo_rectify/test.cpp.

◆ main() [78/114]

int main ( int  argc,
char **  argv 
)

Definition at line 153 of file vision_stereo_rectify/test.cpp.

◆ main() [79/114]

int main ( )

Definition at line 155 of file vision_stereo_rectify/test.cpp.

◆ main() [80/114]

int main ( )

Definition at line 158 of file vision_stereo_rectify/test.cpp.

◆ main() [81/114]

int main ( int  argc,
char **  argv 
)

Definition at line 160 of file vision_stereo_rectify/test.cpp.

◆ main() [82/114]

int main ( int  argc,
char **  argv 
)

Definition at line 171 of file vision_stereo_rectify/test.cpp.

References mrpt::img::CImage::getHeight(), and mrpt::img::CImage::getWidth().

Here is the call graph for this function:

◆ main() [83/114]

int main ( int  argc,
char **  argv 
)

Definition at line 177 of file vision_stereo_rectify/test.cpp.

References mrpt::img::CImage::line().

Here is the call graph for this function:

◆ main() [84/114]

int main ( )

Definition at line 180 of file vision_stereo_rectify/test.cpp.

◆ main() [85/114]

int main ( int  argc,
char **  argv 
)

Definition at line 182 of file vision_stereo_rectify/test.cpp.

◆ main() [86/114]

int main ( )

Definition at line 182 of file vision_stereo_rectify/test.cpp.

◆ main() [87/114]

int main ( )

Definition at line 186 of file vision_stereo_rectify/test.cpp.

◆ main() [88/114]

int main ( )

Definition at line 188 of file vision_stereo_rectify/test.cpp.

◆ main() [89/114]

int main ( )

Definition at line 196 of file vision_stereo_rectify/test.cpp.

References mrpt::gui::MRPTK_ESCAPE, and win.

◆ main() [90/114]

int main ( )

Definition at line 204 of file vision_stereo_rectify/test.cpp.

◆ main() [91/114]

int main ( )

Definition at line 208 of file vision_stereo_rectify/test.cpp.

◆ main() [92/114]

int main ( )

Definition at line 213 of file vision_stereo_rectify/test.cpp.

References mrpt::vision::CStereoRectifyMap::enableResizeOutput(), and mrpt::vision::CStereoRectifyMap::isEnabledResizeOutput().

Here is the call graph for this function:

◆ main() [93/114]

int main ( )

Definition at line 219 of file vision_stereo_rectify/test.cpp.

◆ main() [94/114]

int main ( )

Definition at line 220 of file vision_stereo_rectify/test.cpp.

◆ main() [95/114]

int main ( )

Definition at line 222 of file vision_stereo_rectify/test.cpp.

◆ main() [96/114]

int main ( int  argc,
char **  argv 
)

Definition at line 223 of file vision_stereo_rectify/test.cpp.

◆ main() [97/114]

int main ( )

Definition at line 227 of file vision_stereo_rectify/test.cpp.

◆ main() [98/114]

int main ( )

Definition at line 229 of file vision_stereo_rectify/test.cpp.

◆ main() [99/114]

int main ( )

Definition at line 263 of file vision_stereo_rectify/test.cpp.

◆ main() [100/114]

int main ( int  argc,
char **  argv 
)

Definition at line 268 of file vision_stereo_rectify/test.cpp.

◆ main() [101/114]

int main ( int  argc,
char **  argv 
)

Definition at line 269 of file vision_stereo_rectify/test.cpp.

◆ main() [102/114]

int main ( )

Definition at line 276 of file vision_stereo_rectify/test.cpp.

◆ main() [103/114]

int main ( int  argc,
char **  argv 
)

Definition at line 279 of file vision_stereo_rectify/test.cpp.

◆ main() [104/114]

int main ( int  argc,
char **  argv 
)

Definition at line 328 of file vision_stereo_rectify/test.cpp.

◆ main() [105/114]

int main ( )

Definition at line 390 of file vision_stereo_rectify/test.cpp.

◆ main() [106/114]

int main ( )

Definition at line 392 of file vision_stereo_rectify/test.cpp.

◆ main() [107/114]

int main ( int  argc,
char **  argv 
)

Definition at line 407 of file vision_stereo_rectify/test.cpp.

◆ main() [108/114]

int main ( )

Definition at line 407 of file vision_stereo_rectify/test.cpp.

◆ main() [109/114]

int main ( int  argc,
char **  argv 
)

Definition at line 465 of file vision_stereo_rectify/test.cpp.

◆ main() [110/114]

int main ( int  argc,
char **  argv 
)

Definition at line 475 of file vision_stereo_rectify/test.cpp.

◆ main() [111/114]

int main ( int  argc,
char *  argv[] 
)

Definition at line 512 of file vision_stereo_rectify/test.cpp.

◆ main() [112/114]

int main ( int  argc,
char **  argv 
)

Definition at line 596 of file vision_stereo_rectify/test.cpp.

◆ main() [113/114]

int main ( )

Definition at line 863 of file vision_stereo_rectify/test.cpp.

◆ main() [114/114]

int main ( int  argc,
char **  argv 
)

Definition at line 1567 of file vision_stereo_rectify/test.cpp.

◆ MRPT_FILL_ENUM() [1/4]

MRPT_FILL_ENUM ( North  )

◆ MRPT_FILL_ENUM() [2/4]

MRPT_FILL_ENUM ( East  )

◆ MRPT_FILL_ENUM() [3/4]

MRPT_FILL_ENUM ( South  )

◆ MRPT_FILL_ENUM() [4/4]

MRPT_FILL_ENUM ( West  )

◆ MRPT_FILL_ENUM_MEMBER() [1/3]

MRPT_FILL_ENUM_MEMBER ( TestColors  ,
Black   
)

◆ MRPT_FILL_ENUM_MEMBER() [2/3]

MRPT_FILL_ENUM_MEMBER ( TestColors  ,
Gray   
)

◆ MRPT_FILL_ENUM_MEMBER() [3/3]

MRPT_FILL_ENUM_MEMBER ( TestColors  ,
White   
)

◆ my_BundleAdjustmentFeedbackFunctor()

void my_BundleAdjustmentFeedbackFunctor ( const size_t  cur_iter,
const double  cur_total_sq_error,
const size_t  max_iters,
const TSequenceFeatureObservations input_observations,
const TFramePosesVec current_frame_estimate,
const TLandmarkLocationsVec current_landmark_estimate 
)

Definition at line 57 of file vision_stereo_rectify/test.cpp.

◆ myCfgFileName()

string myCfgFileName ( MRPT_EXAMPLES_BASE_DIRECTORY+  string"../share/mrpt/config_files/navigation-ptgs/" "ptrrt_config_example1.ini")

◆ MyCoolFunction()

void MyCoolFunction ( const TParametersDouble params)

Definition at line 17 of file vision_stereo_rectify/test.cpp.

◆ myDataDir() [1/11]

string myDataDir ( MRPT_EXAMPLES_BASE_DIRECTORY+  string"img_gauss_filtering_example/")

◆ myDataDir() [2/11]

string myDataDir ( MRPT_EXAMPLES_BASE_DIRECTORY+  string"img_convolution_fft/")

◆ myDataDir() [3/11]

string myDataDir ( MRPT_EXAMPLES_BASE_DIRECTORY+  string"img_basic_example/")

◆ myDataDir() [4/11]

string myDataDir ( MRPT_EXAMPLES_BASE_DIRECTORY+  string"img_convolution_fft/")

◆ myDataDir() [5/11]

string myDataDir ( MRPT_EXAMPLES_BASE_DIRECTORY+  string"img_correlation_example/")

◆ myDataDir() [6/11]

string myDataDir ( MRPT_EXAMPLES_BASE_DIRECTORY+  string"math_matrix_example/")

◆ myDataDir() [7/11]

string myDataDir ( MRPT_EXAMPLES_BASE_DIRECTORY+  string"vision_keypoint_matching_example/imgs/")

◆ myDataDir() [8/11]

string myDataDir ( MRPT_EXAMPLES_BASE_DIRECTORY+  string"opengl_textured_triangles_example/")

◆ myDataDir() [9/11]

string myDataDir ( MRPT_EXAMPLES_BASE_DIRECTORY+  string"maps_gridmap_likelihood_characterization/")

◆ myDataDir() [10/11]

string myDataDir ( MRPT_EXAMPLES_BASE_DIRECTORY+  string"maps_gridmap_benchmark/")

◆ myDataDir() [11/11]

string myDataDir ( MRPT_EXAMPLES_BASE_DIRECTORY+  string"detectors_face/")

◆ myDijkstraWeight()

double myDijkstraWeight ( const CMyDijkstra::graph_t g,
const TNodeID  from,
const TNodeID  to,
const CMyDijkstra::edge_t edge 
)

Definition at line 45 of file vision_stereo_rectify/test.cpp.

◆ myExampleImage()

string myExampleImage ( MRPT_EXAMPLES_BASE_DIRECTORY+  string"img_basic_example/frame_color.jpg")

◆ myFun1()

void myFun1 ( const CVectorFixedDouble< 3 > &  x,
const double &  user_param,
CVectorFixedDouble< 3 > &  y 
)

Definition at line 33 of file vision_stereo_rectify/test.cpp.

◆ myGridMap()

string myGridMap ( MRPT_EXAMPLES_BASE_DIRECTORY+  string"../share/mrpt/datasets/2006-MalagaCampus.gridmap.gz")

◆ myInitFile()

string myInitFile ( MRPT_EXAMPLES_BASE_DIRECTORY+  string"detectors_face/FACE_DETECTION_TEST.INI")

◆ myOnMenu()

void myOnMenu ( int  menuID,
float  x,
float  y,
void param 
)

Definition at line 20 of file vision_stereo_rectify/test.cpp.

◆ MYRAND1() [1/2]

double MYRAND1 ( size_t  prec = 64)
inline

Definition at line 36 of file vision_stereo_rectify/test.cpp.

◆ MYRAND1() [2/2]

double MYRAND1 ( )
inline

Definition at line 60 of file vision_stereo_rectify/test.cpp.

◆ MYRANDG()

double MYRANDG ( double  scale,
double  shift = 0 
)
inline

Definition at line 66 of file vision_stereo_rectify/test.cpp.

◆ mySimpleMap()

string mySimpleMap ( MRPT_EXAMPLES_BASE_DIRECTORY+  string"../share/mrpt/datasets/malaga-cs-fac-building.simplemap.gz")

◆ mySplit()

void mySplit ( const string str)

Definition at line 440 of file vision_stereo_rectify/test.cpp.

◆ myTestFile()

const std::string myTestFile ( MRPT_EXAMPLES_BASE_DIRECTORY+  std::string"img_basic_example/frame_color.jpg")

◆ piCreateThread()

std::thread piCreateThread ( PIThreadParam p)
inline

Definition at line 71 of file vision_stereo_rectify/test.cpp.

◆ piThreadFunction()

void piThreadFunction ( PIThreadParam p)

Definition at line 64 of file vision_stereo_rectify/test.cpp.

◆ printMap()

template<class CONTAINER >
void printMap ( const CONTAINER &  m)
Examples:
serialization_stl/test.cpp.

Definition at line 14 of file vision_stereo_rectify/test.cpp.

◆ randomAngle()

double randomAngle ( size_t  prec = 64)
inline

Definition at line 116 of file vision_stereo_rectify/test.cpp.

◆ randomColor()

void randomColor ( const CRenderizable::Ptr obj,
double  alpha 
)

Definition at line 41 of file vision_stereo_rectify/test.cpp.

◆ randomDouble()

double randomDouble ( size_t  precision = 1000)
inline

Definition at line 26 of file vision_stereo_rectify/test.cpp.

◆ randomPose()

CPose3D randomPose ( )

Definition at line 72 of file vision_stereo_rectify/test.cpp.

◆ randomZ()

double randomZ ( double  space = 25,
size_t  prec = 64 
)
inline

Definition at line 117 of file vision_stereo_rectify/test.cpp.

◆ ransac3Dplane_degenerate()

bool ransac3Dplane_degenerate ( const CMatrixDouble allData,
const std::vector< size_t > &  useIndices 
)

Return "true" if the selected points are a degenerate (invalid) case.

Definition at line 91 of file vision_stereo_rectify/test.cpp.

◆ ransac3Dplane_distance()

void ransac3Dplane_distance ( const CMatrixDouble allData,
const vector< CMatrixDouble > &  testModels,
const double  distanceThreshold,
unsigned int &  out_bestModelIndex,
std::vector< size_t > &  out_inlierIndices 
)

Definition at line 61 of file vision_stereo_rectify/test.cpp.

◆ ransac3Dplane_fit()

void ransac3Dplane_fit ( const CMatrixDouble allData,
const std::vector< size_t > &  useIndices,
vector< CMatrixDouble > &  fitModels 
)

Definition at line 29 of file vision_stereo_rectify/test.cpp.

◆ renameDirContents()

void renameDirContents ( )

Initialize a directory along with some dummy content.

Rename the directory and filenames inside it to ${PREVIOUS_FNAME}_renamed_datetime

Definition at line 79 of file vision_stereo_rectify/test.cpp.

◆ rgbd2rawlog()

void rgbd2rawlog ( const string src_path,
const string out_name 
)

Definition at line 65 of file vision_stereo_rectify/test.cpp.

◆ setupDirContents()

void setupDirContents ( )

Create a directory Open and write some content in a file inside the directory If directory exists delete it altogether.

Definition at line 37 of file vision_stereo_rectify/test.cpp.

◆ simulateGravity() [1/2]

void simulateGravity ( vector< TMass > &  objs,
double  At 
)

Definition at line 150 of file vision_stereo_rectify/test.cpp.

◆ simulateGravity() [2/2]

void simulateGravity ( vector< TMass > &  objs,
double  At 
)

Definition at line 150 of file vision_stereo_rectify/test.cpp.

◆ stereo2rawlog()

void stereo2rawlog ( bool  is_kitti_dataset,
const string src_path0,
const string src_path1,
const string calib_file,
const string out_name 
)

Definition at line 49 of file vision_stereo_rectify/test.cpp.

◆ Test_EnumerateDevices()

void Test_EnumerateDevices ( )

Definition at line 25 of file vision_stereo_rectify/test.cpp.

◆ Test_EnumType()

void Test_EnumType ( )
Examples:
typemeta_TEnumType/test.cpp.

Definition at line 46 of file vision_stereo_rectify/test.cpp.

◆ test_except_2nd_lvl()

void test_except_2nd_lvl ( )

Definition at line 24 of file vision_stereo_rectify/test.cpp.

◆ test_except_3rd_lvl()

void test_except_3rd_lvl ( )

[example-nested-exceptions]

Definition at line 17 of file vision_stereo_rectify/test.cpp.

◆ test_except_toplevel()

void test_except_toplevel ( )

Definition at line 31 of file vision_stereo_rectify/test.cpp.

◆ Test_FFMPEG_CaptureCamera()

void Test_FFMPEG_CaptureCamera ( const std::string video_url)

Definition at line 24 of file vision_stereo_rectify/test.cpp.

◆ Test_GaussWindows()

void Test_GaussWindows ( )

Definition at line 27 of file vision_stereo_rectify/test.cpp.

◆ Test_GPS()

void Test_GPS ( )

Definition at line 30 of file vision_stereo_rectify/test.cpp.

◆ Test_HOKUYO()

void Test_HOKUYO ( )

Definition at line 34 of file vision_stereo_rectify/test.cpp.

◆ Test_HTTP_get()

void Test_HTTP_get ( )
Examples:
comms_http_client/test.cpp.

Definition at line 25 of file vision_stereo_rectify/test.cpp.

◆ test_icp3D()

void test_icp3D ( )

Definition at line 75 of file vision_stereo_rectify/test.cpp.

◆ Test_Kinect()

void Test_Kinect ( )

Definition at line 134 of file vision_stereo_rectify/test.cpp.

◆ Test_KinectOnlineOffline()

void Test_KinectOnlineOffline ( bool  is_online,
const string rawlog_file = string() 
)

Definition at line 238 of file vision_stereo_rectify/test.cpp.

References mrpt::exception_to_str().

Here is the call graph for this function:

◆ Test_RPLIDAR()

void Test_RPLIDAR ( )

Definition at line 29 of file vision_stereo_rectify/test.cpp.

◆ Test_SoG_Merge()

void Test_SoG_Merge ( )

Definition at line 30 of file vision_stereo_rectify/test.cpp.

◆ Test_StaticNum2Str()

void Test_StaticNum2Str ( )

[example sstring]

[example num2str]

Examples:
typemeta_StaticString/test.cpp.

Definition at line 42 of file vision_stereo_rectify/test.cpp.

◆ Test_StaticString()

void Test_StaticString ( )

[example sstring]

Examples:
typemeta_StaticString/test.cpp.

Definition at line 15 of file vision_stereo_rectify/test.cpp.

◆ Test_SUT()

void Test_SUT ( )

Definition at line 45 of file vision_stereo_rectify/test.cpp.

◆ Test_SwissRanger()

void Test_SwissRanger ( )

Definition at line 36 of file vision_stereo_rectify/test.cpp.

◆ Test_TypeName()

void Test_TypeName ( )
Examples:
typemeta_TTypeName/test.cpp.

Definition at line 35 of file vision_stereo_rectify/test.cpp.

◆ Test_UserTypes()

void Test_UserTypes ( )

[example-define-class]

[example-define-class-test]

Examples:
rtti_example1/test.cpp.

Definition at line 57 of file vision_stereo_rectify/test.cpp.

◆ Test_UserTypesFactory()

void Test_UserTypesFactory ( )
Examples:
rtti_example1/test.cpp.

Definition at line 98 of file vision_stereo_rectify/test.cpp.

◆ Test_VideoFile()

void Test_VideoFile ( )

Definition at line 22 of file vision_stereo_rectify/test.cpp.

◆ TestBatch()

void TestBatch ( )

Definition at line 88 of file vision_stereo_rectify/test.cpp.

◆ TestBayesianTracking()

void TestBayesianTracking ( )

Definition at line 230 of file vision_stereo_rectify/test.cpp.

References argc, argv, and TestStereoRectify().

Here is the call graph for this function:

◆ TestCalibrate_pose2quat()

void TestCalibrate_pose2quat ( )

Definition at line 206 of file vision_stereo_rectify/test.cpp.

◆ TestCamera3DFaceDetection()

void TestCamera3DFaceDetection ( CCameraSensor::Ptr  cam)

Definition at line 61 of file vision_stereo_rectify/test.cpp.

◆ TestCameraCaptureAsk()

void TestCameraCaptureAsk ( )

Definition at line 26 of file vision_stereo_rectify/test.cpp.

◆ TestCameraFaceDetection()

void TestCameraFaceDetection ( )

Definition at line 245 of file vision_stereo_rectify/test.cpp.

◆ TestCapture_1394()

void TestCapture_1394 ( )

Definition at line 28 of file vision_stereo_rectify/test.cpp.

◆ TestCapture_FlyCapture2()

void TestCapture_FlyCapture2 ( )

Definition at line 30 of file vision_stereo_rectify/test.cpp.

◆ TestCapture_FlyCapture2_stereo()

void TestCapture_FlyCapture2_stereo ( )

Definition at line 31 of file vision_stereo_rectify/test.cpp.

◆ TestCapture_OpenCV()

void TestCapture_OpenCV ( )

Definition at line 32 of file vision_stereo_rectify/test.cpp.

◆ TestCheckerboardDetectors()

void TestCheckerboardDetectors ( )

Definition at line 29 of file vision_stereo_rectify/test.cpp.

◆ TestChol()

void TestChol ( )

Definition at line 31 of file vision_stereo_rectify/test.cpp.

◆ TestCoordinatesConversions()

void TestCoordinatesConversions ( )

Definition at line 345 of file vision_stereo_rectify/test.cpp.

◆ TestCov()

void TestCov ( )

Definition at line 157 of file vision_stereo_rectify/test.cpp.

◆ TestCPose3DInterpolation()

void TestCPose3DInterpolation ( )

Definition at line 29 of file vision_stereo_rectify/test.cpp.

◆ TestDijkstra()

void TestDijkstra ( )

Definition at line 56 of file vision_stereo_rectify/test.cpp.

◆ TestDirExplorer()

void TestDirExplorer ( )

Definition at line 23 of file vision_stereo_rectify/test.cpp.

◆ TestDisplay3D() [1/5]

void TestDisplay3D ( )

Definition at line 27 of file vision_stereo_rectify/test.cpp.

◆ TestDisplay3D() [2/5]

void TestDisplay3D ( )

Definition at line 32 of file vision_stereo_rectify/test.cpp.

◆ TestDisplay3D() [3/5]

void TestDisplay3D ( )

Definition at line 34 of file vision_stereo_rectify/test.cpp.

◆ TestDisplay3D() [4/5]

void TestDisplay3D ( )

Definition at line 34 of file vision_stereo_rectify/test.cpp.

◆ TestDisplay3D() [5/5]

void TestDisplay3D ( )

Definition at line 99 of file vision_stereo_rectify/test.cpp.

◆ TestDisplayPlots()

void TestDisplayPlots ( )

Definition at line 28 of file vision_stereo_rectify/test.cpp.

◆ TestEnumerate_1394()

void TestEnumerate_1394 ( )

Definition at line 23 of file vision_stereo_rectify/test.cpp.

◆ TestExtractFeatures()

void TestExtractFeatures ( )

Definition at line 449 of file vision_stereo_rectify/test.cpp.

◆ TestExtractFeaturesTile()

void TestExtractFeaturesTile ( )

Definition at line 550 of file vision_stereo_rectify/test.cpp.

◆ TestExtractMatchProjectAndPaint() [1/2]

void TestExtractMatchProjectAndPaint ( )

Definition at line 29 of file vision_stereo_rectify/test.cpp.

◆ TestExtractMatchProjectAndPaint() [2/2]

void TestExtractMatchProjectAndPaint ( )

Definition at line 34 of file vision_stereo_rectify/test.cpp.

◆ TestFFT_2D_complex()

void TestFFT_2D_complex ( )

Definition at line 71 of file vision_stereo_rectify/test.cpp.

◆ TestFFT_2D_real()

void TestFFT_2D_real ( )

Definition at line 32 of file vision_stereo_rectify/test.cpp.

◆ TestFileNames()

void TestFileNames ( )

Definition at line 49 of file vision_stereo_rectify/test.cpp.

◆ TestFonts()

void TestFonts ( )

Definition at line 21 of file vision_stereo_rectify/test.cpp.

◆ TestGeoid2Geocentric()

void TestGeoid2Geocentric ( )

Definition at line 95 of file vision_stereo_rectify/test.cpp.

◆ TestGeometry3D()

void TestGeometry3D ( )

Definition at line 36 of file vision_stereo_rectify/test.cpp.

◆ TestGeometry3D2()

void TestGeometry3D2 ( )

Definition at line 21 of file vision_stereo_rectify/test.cpp.

◆ TestGPS_coords()

void TestGPS_coords ( )

Definition at line 19 of file vision_stereo_rectify/test.cpp.

◆ TestGridMap3D()

void TestGridMap3D ( )

Definition at line 22 of file vision_stereo_rectify/test.cpp.

◆ TestGuiWindowsEvents()

void TestGuiWindowsEvents ( )

Definition at line 73 of file vision_stereo_rectify/test.cpp.

◆ TestHCH()

void TestHCH ( )

Definition at line 66 of file vision_stereo_rectify/test.cpp.

◆ TestHist()

void TestHist ( )

Definition at line 28 of file vision_stereo_rectify/test.cpp.

◆ TestICP()

void TestICP ( )

user-set parameters for the icp algorithm. For a full list of the available options check the online tutorials page: https://www.mrpt.org/Iterative_Closest_Point_(ICP)_and_other_matching_algorithms

Scans alignment procedure. Given an initial guess (initialPose) and the maps to be aligned, the algorithm returns the probability density function (pdf) of the alignment Additional arguments are provided to investigate the performance of the algorithm

Save the results for potential postprocessing (in txt and in matlab format)

Plotting the icp results: Aligned maps + transformation uncertainty ellipsis

Definition at line 43 of file vision_stereo_rectify/test.cpp.

◆ TestImageConversion()

void TestImageConversion ( )

Definition at line 29 of file vision_stereo_rectify/test.cpp.

◆ TestImageConvolutionFFT()

void TestImageConvolutionFFT ( )

Definition at line 30 of file vision_stereo_rectify/test.cpp.

◆ TestImageFFT()

void TestImageFFT ( )

Definition at line 114 of file vision_stereo_rectify/test.cpp.

◆ TestImagesFaceDetection()

void TestImagesFaceDetection ( int  argc,
char *  argv[] 
)

Definition at line 341 of file vision_stereo_rectify/test.cpp.

◆ TestInitMatrix()

void TestInitMatrix ( )

Definition at line 40 of file vision_stereo_rectify/test.cpp.

◆ TestJoystick()

void TestJoystick ( )

Definition at line 27 of file vision_stereo_rectify/test.cpp.

◆ TestKMeans()

void TestKMeans ( )

Definition at line 28 of file vision_stereo_rectify/test.cpp.

◆ TestLaser2Imgs()

void TestLaser2Imgs ( )

Definition at line 51 of file vision_stereo_rectify/test.cpp.

◆ TestLeastSquares()

void TestLeastSquares ( )

for convenience, first initialize the data as C arrays and then define std;:vectors from that data

loadVector Assignment operator for initializing a std::vector from a C array refer to https://reference.mrpt.org/stable/group__container__ops__grp.html#ga40e8e47dea9f504a28d2a70ea8ddb158

Least squares line approximation, based on the provided x,y vectors.

Definition at line 26 of file vision_stereo_rectify/test.cpp.

◆ TestMatchFeatures() [1/2]

void TestMatchFeatures ( )

Definition at line 93 of file vision_stereo_rectify/test.cpp.

◆ TestMatchFeatures() [2/2]

void TestMatchFeatures ( bool  showMatches)

Definition at line 109 of file vision_stereo_rectify/test.cpp.

◆ TestMatchingComparative() [1/2]

void TestMatchingComparative ( )

Definition at line 251 of file vision_stereo_rectify/test.cpp.

◆ TestMatchingComparative() [2/2]

void TestMatchingComparative ( )

Definition at line 277 of file vision_stereo_rectify/test.cpp.

◆ TestMatrices()

void TestMatrices ( )

Definition at line 120 of file vision_stereo_rectify/test.cpp.

◆ TestMatrixTemplate()

void TestMatrixTemplate ( )

Definition at line 96 of file vision_stereo_rectify/test.cpp.

◆ TestMultipleCheckerboard()

void TestMultipleCheckerboard ( const std::string img_filename,
const unsigned int  checkerboard_size_x,
const unsigned int  checkerboard_size_y 
)

Definition at line 30 of file vision_stereo_rectify/test.cpp.

◆ TestNTRIP()

void TestNTRIP ( )

Definition at line 24 of file vision_stereo_rectify/test.cpp.

◆ TestNTRIP2()

void TestNTRIP2 ( )

Definition at line 95 of file vision_stereo_rectify/test.cpp.

◆ TestObserverPattern()

void TestObserverPattern ( )

Definition at line 49 of file vision_stereo_rectify/test.cpp.

◆ TestOctoMap()

void TestOctoMap ( )

Definition at line 36 of file vision_stereo_rectify/test.cpp.

◆ TestOctreeRenderHugePointCloud()

void TestOctreeRenderHugePointCloud ( )

Definition at line 71 of file vision_stereo_rectify/test.cpp.

◆ TestOffscreenRender()

int TestOffscreenRender ( int  argc,
char *  argv[] 
)

Definition at line 25 of file vision_stereo_rectify/test.cpp.

◆ TestOpenGLObjects()

void TestOpenGLObjects ( )

Define each one of the objects in its own scope and just attach it to the scene by using insert(obj) method call.

Definition at line 25 of file vision_stereo_rectify/test.cpp.

◆ TestOpenGLVideo() [1/2]

void TestOpenGLVideo ( )

Definition at line 25 of file vision_stereo_rectify/test.cpp.

◆ TestOpenGLVideo() [2/2]

void TestOpenGLVideo ( )

Definition at line 25 of file vision_stereo_rectify/test.cpp.

◆ TestParameters()

void TestParameters ( )

Definition at line 30 of file vision_stereo_rectify/test.cpp.

◆ TestPathPlanning()

void TestPathPlanning ( )

Definition at line 40 of file vision_stereo_rectify/test.cpp.

◆ TestPLS()

void TestPLS ( )

Definition at line 31 of file vision_stereo_rectify/test.cpp.

◆ TestPoseComposition()

void TestPoseComposition ( )

CPose3D default constructor method takes the arguments in the (X, Y, Z, YAW=0, PITCH=0, ROLL=0) format. The angles are optional

Incrementally update the pose of the "robot". Appending the pose is equivalent to a position/rotation change with regards to the body-fixed frame of reference For more information refer to: https://reference.mrpt.org/stable/_c_poses2_d_sequence_8h_source.html

Definition at line 79 of file vision_stereo_rectify/test.cpp.

◆ TestPosePDFOperations()

void TestPosePDFOperations ( )

Construct the CPointPDFGaussian instances initialize and pass a mean to the p1, p2 instances and a covariance matrix. The latter is done by explicitly adding the cov. matrix elemnts

Definition at line 30 of file vision_stereo_rectify/test.cpp.

◆ TestPrepareDetector()

void TestPrepareDetector ( )

Definition at line 463 of file vision_stereo_rectify/test.cpp.

◆ TestQuaternions()

void TestQuaternions ( )

Definition at line 23 of file vision_stereo_rectify/test.cpp.

◆ TestQuaternionsIterators()

void TestQuaternionsIterators ( )

Definition at line 51 of file vision_stereo_rectify/test.cpp.

◆ TestRandomGenerators()

void TestRandomGenerators ( )

Definition at line 44 of file vision_stereo_rectify/test.cpp.

◆ TestRANSAC() [1/3]

void TestRANSAC ( )

Definition at line 67 of file vision_stereo_rectify/test.cpp.

◆ TestRANSAC() [2/3]

void TestRANSAC ( )

Definition at line 70 of file vision_stereo_rectify/test.cpp.

◆ TestRANSAC() [3/3]

void TestRANSAC ( )

Definition at line 100 of file vision_stereo_rectify/test.cpp.

◆ TestRANSACLines()

void TestRANSACLines ( )

Definition at line 144 of file vision_stereo_rectify/test.cpp.

◆ TestRANSACPlanes()

void TestRANSACPlanes ( )

Definition at line 36 of file vision_stereo_rectify/test.cpp.

◆ TestResampling()

void TestResampling ( )

Definition at line 62 of file vision_stereo_rectify/test.cpp.

◆ TestRRT1()

void TestRRT1 ( )

Definition at line 39 of file vision_stereo_rectify/test.cpp.

◆ TestRS() [1/2]

void TestRS ( )

Definition at line 34 of file vision_stereo_rectify/test.cpp.

◆ TestRS() [2/2]

void TestRS ( )

Definition at line 52 of file vision_stereo_rectify/test.cpp.

◆ TestSE3()

void TestSE3 ( )

Definition at line 17 of file vision_stereo_rectify/test.cpp.

◆ TestSLERP()

void TestSLERP ( )

Definition at line 34 of file vision_stereo_rectify/test.cpp.

◆ TestSplineInterpolation()

void TestSplineInterpolation ( )

Definition at line 74 of file vision_stereo_rectify/test.cpp.

◆ TestSplineInterpolationVector()

void TestSplineInterpolationVector ( )

Definition at line 121 of file vision_stereo_rectify/test.cpp.

◆ TestStereoCalibrate()

int TestStereoCalibrate ( int  argc,
char **  argv 
)

Definition at line 27 of file vision_stereo_rectify/test.cpp.

◆ TestStereoRectify()

void TestStereoRectify ( int  argc,
char **  argv 
)

Definition at line 34 of file vision_stereo_rectify/test.cpp.

Referenced by TestBayesianTracking().

Here is the caller graph for this function:

◆ TestTimes()

void TestTimes ( )

Definition at line 24 of file vision_stereo_rectify/test.cpp.

◆ TestVideoBuildPyr()

void TestVideoBuildPyr ( )

Definition at line 31 of file vision_stereo_rectify/test.cpp.

◆ TestVoronoi()

void TestVoronoi ( )

Definition at line 33 of file vision_stereo_rectify/test.cpp.

◆ TestWatch()

void TestWatch ( )

Definition at line 22 of file vision_stereo_rectify/test.cpp.

◆ TextureSizes_test()

void TextureSizes_test ( )

Definition at line 31 of file vision_stereo_rectify/test.cpp.

◆ theMainThing()

void theMainThing ( )

Definition at line 38 of file vision_stereo_rectify/test.cpp.

◆ thread_grabbing() [1/2]

void thread_grabbing ( TThreadParam p)

Definition at line 58 of file vision_stereo_rectify/test.cpp.

◆ thread_grabbing() [2/2]

void thread_grabbing ( TThreadParam p)

Definition at line 92 of file vision_stereo_rectify/test.cpp.

◆ thread_reader() [1/2]

void thread_reader ( CPipeReadEndPoint read_pipe)

Definition at line 21 of file vision_stereo_rectify/test.cpp.

◆ thread_reader() [2/2]

void thread_reader ( CPipeReadEndPoint read_pipe)

Definition at line 24 of file vision_stereo_rectify/test.cpp.

◆ thread_writer() [1/2]

void thread_writer ( CPipeWriteEndPoint write_pipe)

Definition at line 56 of file vision_stereo_rectify/test.cpp.

◆ thread_writer() [2/2]

void thread_writer ( CPipeWriteEndPoint write_pipe)

Definition at line 63 of file vision_stereo_rectify/test.cpp.

◆ ThreadsTest() [1/2]

void ThreadsTest ( )

Definition at line 85 of file vision_stereo_rectify/test.cpp.

◆ ThreadsTest() [2/2]

void ThreadsTest ( )

Definition at line 100 of file vision_stereo_rectify/test.cpp.

◆ WriteAndReadExample() [1/2]

void WriteAndReadExample ( )

◆ WriteAndReadExample() [2/2]

void WriteAndReadExample ( )

[example]

Definition at line 28 of file vision_stereo_rectify/test.cpp.

◆ WriteAndReadExampleStdIO()

void WriteAndReadExampleStdIO ( )

[example]

[example_stdio]

Examples:
serialization_stl/test.cpp.

Definition at line 67 of file vision_stereo_rectify/test.cpp.

Variable Documentation

◆ AVI_TO_OPEN

std::string AVI_TO_OPEN

Definition at line 30 of file vision_stereo_rectify/test.cpp.

◆ batchMode

bool batchMode

Definition at line 46 of file vision_stereo_rectify/test.cpp.

◆ BOX

const double BOX = 500

Definition at line 26 of file vision_stereo_rectify/test.cpp.

◆ COLLIS_LOSS

const double COLLIS_LOSS = 0.98

Definition at line 32 of file vision_stereo_rectify/test.cpp.

◆ DIFF_RADIUS

const double DIFF_RADIUS = MAX_RADIUS - MIN_RADIUS

Definition at line 24 of file vision_stereo_rectify/test.cpp.

◆ ERROR_IN_INCOMPATIBLE_EDGE

const double ERROR_IN_INCOMPATIBLE_EDGE = 0.3

Definition at line 41 of file vision_stereo_rectify/test.cpp.

◆ faceDetector

CFaceDetection faceDetector

Definition at line 41 of file vision_stereo_rectify/test.cpp.

◆ falsePositives

vector<std::vector<uint32_t> > falsePositives

◆ G

const double G = 300

Definition at line 31 of file vision_stereo_rectify/test.cpp.

Referenced by mrpt::poses::CPose3DQuat::composePoint(), mrpt::detectors::CFaceDetection::experimental_viewRegions(), mrpt::maps::CPointsMap::extractPoints(), mrpt::img::CImage::getAsRGBMatrices(), mrpt::maps::CColouredPointsMap::getPCLPointCloudXYZRGB(), mrpt::maps::CColouredPointsMap::getPointColor(), mrpt::maps::CColouredPointsMap::getPointColor_fast(), mrpt::opengl::CPointCloudColoured::getPointColor_fast(), mrpt::maps::CColouredPointsMap::getPointRGB(), mrpt::maps::CPointsMapXYZI::getPointRGB(), mrpt::maps::CPointsMap::getPointRGB(), mrpt::opengl::PointCloudAdapter< mrpt::opengl::CPointCloudColoured >::getPointRGBu8(), mrpt::opengl::PointCloudAdapter< mrpt::maps::CColouredPointsMap >::getPointRGBu8(), MD5::GG(), mrpt::maps::CColouredPointsMap::insertPointRGB(), mrpt::maps::CPointsMap::insertPointRGB(), mrpt::poses::CPose3DQuat::inverseComposePoint(), jacob_db_dp(), mrpt::poses::CPose3DQuat::operator+(), mrpt::poses::operator-(), mrpt::opengl::CPointCloudColoured::push_back(), mrpt::opengl::CColorBar::render_dl(), mrpt::opengl::CVectorField3D::render_dl(), mrpt::maps::saveLASFile(), mrpt::opengl::CRenderizable::setColor(), mrpt::opengl::CRenderizableDisplayList::setColor_u8(), mrpt::opengl::CRenderizable::setColor_u8(), mrpt::opengl::CPlanarLaserScan::setLineColor(), mrpt::opengl::CVectorField2D::setPointColor(), mrpt::opengl::CVectorField3D::setPointColor(), mrpt::maps::CColouredPointsMap::setPointColor(), mrpt::maps::CColouredPointsMap::setPointColor_fast(), mrpt::opengl::CPointCloudColoured::setPointColor_fast(), mrpt::maps::CColouredPointsMap::setPointRGB(), mrpt::maps::CPointsMap::setPointRGB(), mrpt::opengl::CPlanarLaserScan::setPointsColor(), mrpt::opengl::CPlanarLaserScan::setSurfaceColor(), mrpt::opengl::CVectorField2D::setVectorFieldColor(), mrpt::opengl::CVectorField3D::setVectorFieldColor(), and mrpt::opengl::CGeneralizedCylinder::updateMesh().

◆ GRID_B

const double GRID_B = 1.0

Definition at line 29 of file vision_stereo_rectify/test.cpp.

◆ GRID_G

const double GRID_G = 1.0

Definition at line 28 of file vision_stereo_rectify/test.cpp.

◆ GRID_R

const double GRID_R = 1.0

Definition at line 27 of file vision_stereo_rectify/test.cpp.

◆ history_avr_err

CVectorDouble history_avr_err

Definition at line 51 of file vision_stereo_rectify/test.cpp.

◆ HOW_MANY_PITCHS [1/2]

const size_t HOW_MANY_PITCHS = 120

Definition at line 39 of file vision_stereo_rectify/test.cpp.

◆ HOW_MANY_PITCHS [2/2]

const size_t HOW_MANY_PITCHS = 75

Definition at line 56 of file vision_stereo_rectify/test.cpp.

Referenced by TEST_F().

◆ HOW_MANY_YAWS [1/2]

const size_t HOW_MANY_YAWS = 120

Definition at line 38 of file vision_stereo_rectify/test.cpp.

◆ HOW_MANY_YAWS [2/2]

const size_t HOW_MANY_YAWS = 150

Definition at line 55 of file vision_stereo_rectify/test.cpp.

Referenced by TEST_F().

◆ ICP_method

int ICP_method = (int)icpClassic

Definition at line 38 of file vision_stereo_rectify/test.cpp.

◆ ignored

vector<std::vector<uint32_t> > ignored

Definition at line 49 of file vision_stereo_rectify/test.cpp.

◆ KINECT_FPS

const double KINECT_FPS = 30.0

Definition at line 47 of file vision_stereo_rectify/test.cpp.

◆ LARGEST_STEP

const double LARGEST_STEP = 0.001

Definition at line 30 of file vision_stereo_rectify/test.cpp.

◆ LIVE_CAM

bool LIVE_CAM = true

Definition at line 28 of file vision_stereo_rectify/test.cpp.

◆ log_sq_err_evolution

vector<double> log_sq_err_evolution

Definition at line 98 of file vision_stereo_rectify/test.cpp.

◆ M2R

const double M2R = 2.0

Definition at line 29 of file vision_stereo_rectify/test.cpp.

◆ MAP_SIZE_X

const double MAP_SIZE_X = 50

Definition at line 44 of file vision_stereo_rectify/test.cpp.

◆ MAP_SIZE_Y

const double MAP_SIZE_Y = 25

Definition at line 45 of file vision_stereo_rectify/test.cpp.

◆ MASS_MAX

const double MASS_MAX = log(100.0)

Definition at line 28 of file vision_stereo_rectify/test.cpp.

◆ MASS_MIN

const double MASS_MIN = log(40.0)

Definition at line 28 of file vision_stereo_rectify/test.cpp.

◆ MAX_RADIUS

const double MAX_RADIUS = 40

Definition at line 22 of file vision_stereo_rectify/test.cpp.

◆ MIN_LOG_WEIG

double MIN_LOG_WEIG = -1.0

Definition at line 26 of file vision_stereo_rectify/test.cpp.

◆ min_log_ws

CVectorDouble min_log_ws

Definition at line 32 of file vision_stereo_rectify/test.cpp.

◆ MIN_RADIUS

const double MIN_RADIUS = 5

Definition at line 21 of file vision_stereo_rectify/test.cpp.

◆ MINIMUM_RANSAC_ITERS

const size_t MINIMUM_RANSAC_ITERS = 100000

Definition at line 40 of file vision_stereo_rectify/test.cpp.

◆ myDataDir [1/2]

std::string myDataDir
Initial value:
=
MRPT_EXAMPLES_BASE_DIRECTORY + string("vision_checkerboard_detectors/")
GLsizei const GLchar ** string
Definition: glext.h:4116

Definition at line 23 of file vision_stereo_rectify/test.cpp.

◆ myDataDir [2/2]

std::string myDataDir
Initial value:
=
MRPT_EXAMPLES_BASE_DIRECTORY + string("vision_multiple_checkerboards/")
GLsizei const GLchar ** string
Definition: glext.h:4116

Definition at line 24 of file vision_stereo_rectify/test.cpp.

◆ N_CAM_TO_OPEN

int N_CAM_TO_OPEN = 0

Definition at line 29 of file vision_stereo_rectify/test.cpp.

◆ N_MASSES

const size_t N_MASSES = 750

Definition at line 24 of file vision_stereo_rectify/test.cpp.

◆ N_PARTICLES

int N_PARTICLES = 100

Definition at line 29 of file vision_stereo_rectify/test.cpp.

◆ N_TESTS

unsigned int N_TESTS = 500

Definition at line 28 of file vision_stereo_rectify/test.cpp.

◆ names

std::vector<string> names

◆ normalizationStd

const float normalizationStd = 0.15f

Definition at line 38 of file vision_stereo_rectify/test.cpp.

◆ NUM_MAP_FEATS

const size_t NUM_MAP_FEATS = 100

Definition at line 43 of file vision_stereo_rectify/test.cpp.

◆ NUM_OBSERVATIONS_TO_SIMUL

const size_t NUM_OBSERVATIONS_TO_SIMUL = 10

Definition at line 32 of file vision_stereo_rectify/test.cpp.

◆ NUMBER_OF_EDGES

const unsigned int NUMBER_OF_EDGES = 20

Definition at line 20 of file vision_stereo_rectify/test.cpp.

◆ observer

MyObserver observer

Definition at line 71 of file vision_stereo_rectify/test.cpp.

◆ OPENCV_SRC_DIR

string OPENCV_SRC_DIR = "./"
static

Definition at line 55 of file vision_stereo_rectify/test.cpp.

◆ RANDOM_POSE_DISTANCE

const float RANDOM_POSE_DISTANCE = 10

Definition at line 58 of file vision_stereo_rectify/test.cpp.

◆ ransac_mahalanobisDistanceThreshold

const float ransac_mahalanobisDistanceThreshold = 5.0f

Definition at line 39 of file vision_stereo_rectify/test.cpp.

◆ RANSAC_MINIMUM_INLIERS

const size_t RANSAC_MINIMUM_INLIERS = 9

Definition at line 33 of file vision_stereo_rectify/test.cpp.

◆ RAWLOG_FILE

std::string RAWLOG_FILE
Initial value:
= MRPT_EXAMPLES_BASE_DIRECTORY
"../share/mrpt/datasets/localization_demo.rawlog"

Definition at line 45 of file vision_stereo_rectify/test.cpp.

Referenced by run_test_pf_localization().

◆ rawlogs

vector<string> rawlogs

Definition at line 47 of file vision_stereo_rectify/test.cpp.

◆ rawlogsDir

string rawlogsDir

Definition at line 50 of file vision_stereo_rectify/test.cpp.

◆ results [1/2]

std::vector<CMatrixD> results

Definition at line 24 of file vision_stereo_rectify/test.cpp.

◆ results [2/2]

map<string, CVectorDouble> results

◆ sample_simplemap_file

const string sample_simplemap_file
Initial value:
=
MRPT_EXAMPLES_BASE_DIRECTORY +
string("../share/mrpt/datasets/localization_demo.simplemap.gz")
GLsizei const GLchar ** string
Definition: glext.h:4116

Definition at line 26 of file vision_stereo_rectify/test.cpp.

◆ SCAN2_POSE_ERROR

CPose3D SCAN2_POSE_ERROR(0.15, -0.07, 0.10, -0.03, 0.1, 0.1)

Referenced by TEST_F().

◆ sequence_scans1

vector<CObservation2DRangeScan> sequence_scans1

Definition at line 42 of file vision_stereo_rectify/test.cpp.

◆ sequence_scans2

vector<CObservation2DRangeScan> sequence_scans2

Definition at line 42 of file vision_stereo_rectify/test.cpp.

◆ SERIAL_NAME [1/4]

string SERIAL_NAME

Definition at line 24 of file vision_stereo_rectify/test.cpp.

◆ SERIAL_NAME [2/4]

string SERIAL_NAME

Definition at line 25 of file vision_stereo_rectify/test.cpp.

◆ SERIAL_NAME [3/4]

string SERIAL_NAME

Definition at line 26 of file vision_stereo_rectify/test.cpp.

◆ SERIAL_NAME [4/4]

string SERIAL_NAME

Definition at line 29 of file vision_stereo_rectify/test.cpp.

◆ showEachDetectedFace

bool showEachDetectedFace

Definition at line 43 of file vision_stereo_rectify/test.cpp.

◆ SIGMA [1/2]

double SIGMA = 0.05

Definition at line 24 of file vision_stereo_rectify/test.cpp.

◆ SIGMA [2/2]

float SIGMA = 0.03f

Definition at line 29 of file vision_stereo_rectify/test.cpp.

◆ skip_window

bool skip_window = false

Definition at line 37 of file vision_stereo_rectify/test.cpp.

◆ STD4EDGES_COV_MATRIX

const double STD4EDGES_COV_MATRIX = 10

Definition at line 40 of file vision_stereo_rectify/test.cpp.

◆ STD_NOISE_EDGE_ANG

const double STD_NOISE_EDGE_ANG = 0.01_deg

◆ STD_NOISE_EDGE_XYZ

const double STD_NOISE_EDGE_XYZ = 0.001

◆ STD_NOISE_NODE_ANG

const double STD_NOISE_NODE_ANG = 5.0_deg

◆ STD_NOISE_NODE_XYZ

const double STD_NOISE_NODE_XYZ = 0.5

◆ STEREO_FPS

const double STEREO_FPS = 10.0

Definition at line 47 of file vision_stereo_rectify/test.cpp.

◆ TH

const double TH = 0.02

Definition at line 25 of file vision_stereo_rectify/test.cpp.

◆ the_img_for_extract_feats

const string the_img_for_extract_feats = myDataDir + string("test_image.jpg")

Definition at line 24 of file vision_stereo_rectify/test.cpp.

◆ url

string url = "http://www.google.es/"

◆ V0

const double V0 = 100

Definition at line 27 of file vision_stereo_rectify/test.cpp.

◆ vert_FOV

const float vert_FOV = 4.0_deg

Definition at line 25 of file vision_stereo_rectify/test.cpp.

◆ viewpoint1

CPose3D viewpoint1(-0.3, 0.7, 3, 5.0_deg, 80.0_deg, 3.0_deg)

Referenced by TEST_F().

◆ viewpoint2

CPose3D viewpoint2(0.5, -0.2, 2.6, -5.0_deg, 100.0_deg, -7.0_deg)

Referenced by TEST_F().

◆ win

◆ WORLD_SCALE

double WORLD_SCALE = 1

Definition at line 53 of file vision_stereo_rectify/test.cpp.




Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 4363012a5 Tue Nov 19 10:55:26 2019 +0100 at mar nov 19 11:00:13 CET 2019