Visual Servoing Platform
version 3.1.0
|
Classes | |
class | vpTraceOutput |
class | vpDisplayException |
class | vpException |
class | vpImageException |
class | vpIoException |
class | vpMatrixException |
class | vpTrackingException |
Macros | |
#define | vpIN_FCT (vpTraceOutput(__FILE__, __LINE__, __FUNCTION__, false, "begin ")) |
#define | vpOUT_FCT (vpTraceOutput(__FILE__, __LINE__, __FUNCTION__, false, "end ")) |
#define | vpCTRACE std::cout << "(L0) " << __FILE__ << ": " << __FUNCTION__ << "(#" << __LINE__ << ") : " |
#define | vpCERROR |
#define | vpERROR_TRACE (vpTraceOutput(__FILE__, __LINE__, __FUNCTION__, true)) |
#define | vpTRACE (vpTraceOutput(__FILE__, __LINE__, __FUNCTION__, false)) |
#define | vpDERROR_TRACE (vpTraceOutput(__FILE__, __LINE__, __FUNCTION__, true)) |
#define | vpDEBUG_TRACE (vpTraceOutput(__FILE__, __LINE__, __FUNCTION__, false)) |
#define | vpCDEBUG(level) |
#define | vpDEBUG_ENABLE(level) (VP_DEBUG_MODE >= level) |
Debug and exceptions.
#define vpCDEBUG | ( | level | ) |
vpCDEBUG(level) work like the C++ output stream std::cout.
Definition at line 511 of file vpDebug.h.
Referenced by vpPtu46::computeMGD(), vpBiclops::computeMGD(), vpBiclops::get_fMc(), vpRobotBiclops::getPosition(), vpRobotBiclops::getVelocity(), vpMeLine::initTracking(), vpMeLine::leastSquare(), vpRobust::MEstimator(), vpMeLine::sample(), vpMeLine::seekExtremities(), vpRobotPtu46::setVelocity(), vpRobotBiclops::setVelocity(), vpRobust::simultMEstimator(), vpHinkley::testDownUpwardJump(), vpHinkley::testDownwardJump(), vpHinkley::testUpwardJump(), vpMeEllipse::track(), vpMeLine::track(), and vpRobust::vpRobust().
#define vpCERROR |
Used to display error messages on the error stream (C++). Use like this : vpCERROR<<"my message"<<std::endl;
Definition at line 365 of file vpDebug.h.
Referenced by vp1394TwoGrabber::colorCoding2string(), vpFeatureBuilder::create(), vp1394TwoGrabber::framerate2string(), vpRobotBiclops::init(), vpXmlParserHomogeneousMatrix::save(), vpXmlParserCamera::save(), vpRobotBiclops::setRobotState(), vp1394TwoGrabber::videoMode2string(), vpImageIo::write(), and vpRobotBiclops::~vpRobotBiclops().
#define vpCTRACE std::cout << "(L0) " << __FILE__ << ": " << __FUNCTION__ << "(#" << __LINE__ << ") : " |
Used to display trace messages on the standard stream (C++). Use like this : vpCTRACE<<"my message"<<std::endl;
Definition at line 338 of file vpDebug.h.
Referenced by vp1394TwoGrabber::getNumCameras(), and vpTemplateTrackerWarp::warpTriangle().
#define vpDEBUG_ENABLE | ( | level | ) | (VP_DEBUG_MODE >= level) |
vpDEBUG_ENABLE(level) is equal to 1 if the debug level level is greater than the debug mode VP_DEBUG_MODE, 0 else.
Definition at line 538 of file vpDebug.h.
Referenced by vpMeLine::computeRhoTheta(), vpMbtDistanceCircle::displayMovingEdges(), vpMeEllipse::printParameters(), vpMeLine::sample(), vpMeLine::seekExtremities(), vpMeNurbs::seekExtremities(), vpMeEllipse::track(), vpMeLine::track(), and vpMeEllipse::~vpMeEllipse().
#define vpDEBUG_TRACE (vpTraceOutput(__FILE__, __LINE__, __FUNCTION__, false)) |
vpDEBUG_TRACE works like printf, but prints only if the tracing level level is greater than the debug level VP_DEBUG_MODE.
Definition at line 487 of file vpDebug.h.
Referenced by vpServo::computeError(), vpPose::coplanar(), vpGenericFeature::error(), vpDot2::getFreemanChain(), vpRobotPtu46::getPosition(), vpRobotBiclops::getPosition(), vpRobotBiclops::getVelocity(), vpRobotPtu46::init(), vpDisplayX::init(), vpImage< unsigned char >::init(), vpIoTools::makeDirectory(), vpDot2::searchDotsInArea(), vpServo::setInteractionMatrixType(), vpRobotBiclops::setPosition(), vpRobotPtu46::setRobotState(), vpRobotBiclops::setRobotState(), vpRobotPtu46::setVelocity(), vpRobotBiclops::setVelocity(), vpRobotBiclops::vpRobotBiclops(), vpRobotBiclops::vpRobotBiclopsSpeedControlLoop(), vpRobotPtu46::vpRobotPtu46(), vpImageConvert::YCbCrToRGB(), vpImageConvert::YCbCrToRGBa(), vpImageConvert::YCrCbToRGB(), vpImageConvert::YCrCbToRGBa(), and vpRobotBiclops::~vpRobotBiclops().
#define vpDERROR_TRACE (vpTraceOutput(__FILE__, __LINE__, __FUNCTION__, true)) |
vpDERROR_TRACE works like printf, but prints only if the tracing level is smaller than the debug level VP_DEBUG_MODE.
Definition at line 464 of file vpDebug.h.
Referenced by vpMeTracker::initTracking(), vpMeLine::reSample(), vpMeLine::sample(), vpMeLine::seekExtremities(), and vpMeTracker::track().
#define vpERROR_TRACE (vpTraceOutput(__FILE__, __LINE__, __FUNCTION__, true)) |
Used to display error messages on the error stream. Prints the name of the file, the function name and the line where it was used. Use like this : vpERROR_TRACE("my error message number %d", i); with any "printf" string.
Definition at line 393 of file vpDebug.h.
Referenced by vp1394CMUGrabber::acquire(), vp1394TwoGrabber::acquire(), vpSimulator::addObject(), vpRobotViper650::biasForceTorqueSensor(), vpRobotViper850::biasForceTorqueSensor(), vpFeatureDepth::buildFrom(), vpFeaturePoint::buildFrom(), vpFeaturePoint3D::buildFrom(), vpFeaturePointPolar::buildFrom(), vpCalibration::calibrationTsai(), vpImageTools::changeLUT(), vpServer::checkForConnections(), vpRobotAfma6::checkJointLimits(), vp1394CMUGrabber::close(), vpVideoWriter::close(), vpV4l2Grabber::close(), vp1394TwoGrabber::close(), vpRobotAfma6::closeGripper(), vpSimulatorAfma6::computeArticularVelocity(), vpSimulatorViper850::computeArticularVelocity(), vpCalibration::computeCalibrationTsai(), vpServo::computeControlLaw(), vpServo::computeError(), vpPtu46::computeMGD(), vpPose::computePose(), vpPoseFeatures::computePose(), vpMeLine::computeRhoTheta(), vpClient::connectToHostname(), vpClient::connectToIP(), vpMeterPixelConversion::convertLine(), vpPixelMeterConversion::convertLine(), vpPose::coplanar(), vpFeatureBuilder::create(), vp1394TwoGrabber::dequeue(), vpRobotViper650::disableJoint6Limits(), vpRobotViper850::disableJoint6Limits(), vpFeatureVanishingPoint::display(), vpFeatureEllipse::display(), vpFeatureLuminance::display(), vpFeatureDepth::display(), vpGenericFeature::display(), vpFeaturePoint::display(), vpFeatureLine::display(), vpFeaturePoint3D::display(), vpFeatureThetaU::display(), vpFeaturePointPolar::display(), vpFeatureTranslation::display(), vpFeatureDisplay::displayCylinder(), vpFeatureDisplay::displayLine(), vpFeatureDisplay::displayPoint(), vpHomography::DLT(), vpRobotViper650::enableJoint6Limits(), vpRobotViper850::enableJoint6Limits(), vpServolens::enablePrompt(), vp1394TwoGrabber::enqueue(), vpFeatureDepth::error(), vpGenericFeature::error(), vpFeatureThetaU::error(), vpFeatureTranslation::error(), vpLinearKalmanFilterInstantiation::filter(), vpPose::findMatch(), vpRobotAfma4::get_cVf(), vpPtu46::get_eJe(), vpRobotPtu46::get_eJe(), vpRobotBiclops::get_eJe(), vpBiclops::get_eJe(), vpSimulatorAfma6::get_eJe(), vpRobotAfma4::get_eJe(), vpSimulatorViper850::get_eJe(), vpRobotAfma6::get_eJe(), vpRobotViper650::get_eJe(), vpRobotViper850::get_eJe(), vpPtu46::get_fJe(), vpRobotPtu46::get_fJe(), vpRobotBiclops::get_fJe(), vpBiclops::get_fJe(), vpSimulatorAfma6::get_fJe(), vpRobotAfma4::get_fJe(), vpSimulatorViper850::get_fJe(), vpRobotAfma6::get_fJe(), vpRobotViper650::get_fJe(), vpRobotViper850::get_fJe(), vpBiclops::get_fMe(), vpGenericFeature::get_s(), vp1394TwoGrabber::getAutoGain(), vp1394TwoGrabber::getAutoShutter(), vp1394TwoGrabber::getCamera(), vpServolens::getCameraParameters(), vpViper650::getCameraParameters(), vpViper850::getCameraParameters(), vpAfma6::getCameraParameters(), vpSimulatorAfma6::getCameraParameters(), vp1394TwoGrabber::getColorCoding(), vp1394TwoGrabber::getColorCodingSupported(), vpKinect::getDepthMap(), vpRobotPtu46::getDisplacement(), vpRobotBiclops::getDisplacement(), vpRobotAfma4::getDisplacement(), vpRobotAfma6::getDisplacement(), vpRobotViper650::getDisplacement(), vpRobotViper850::getDisplacement(), vpRobotViper650::getForceTorque(), vpRobotViper850::getForceTorque(), vpVideoReader::getFrame(), vp1394TwoGrabber::getFramerate(), vp1394TwoGrabber::getFramerateSupported(), vp1394TwoGrabber::getGuid(), vp1394TwoGrabber::getHeight(), vpDisplayX::getKeyboardEvent(), vp1394TwoGrabber::getParameterValue(), vpHistogram::getPeaks(), vpRobotPtu46::getPosition(), vpServolens::getPosition(), vpRobotBiclops::getPosition(), vpSimulatorAfma6::getPosition(), vpRobotAfma4::getPosition(), vpSimulatorViper850::getPosition(), vpRobotAfma6::getPosition(), vpRobotViper650::getPosition(), vpRobotViper850::getPosition(), vpRobotAfma4::getPowerState(), vpRobotAfma6::getPowerState(), vpRobotViper650::getPowerState(), vpRobotViper850::getPowerState(), vpNetwork::getReceptorIndex(), vpIoTools::getUserName(), vpHistogram::getValey(), vpRobotPtu46::getVelocity(), vpRobotBiclops::getVelocity(), vpSimulatorAfma6::getVelocity(), vpRobotAfma4::getVelocity(), vpSimulatorViper850::getVelocity(), vpRobotAfma6::getVelocity(), vpRobotViper650::getVelocity(), vpRobotViper850::getVelocity(), vp1394TwoGrabber::getVideoMode(), vp1394TwoGrabber::getVideoModeSupported(), vp1394TwoGrabber::getWidth(), vpRobotPtu46::init(), vpRobotBiclops::init(), vpAfma6::init(), vpViper650::init(), vpViper850::init(), vpDisplayWin32::init(), vpDisplayX::init(), vpRobotAfma4::init(), vpCameraParameters::init(), vpLinearKalmanFilterInstantiation::initFilter(), vpMbTracker::initFromPoints(), vpSimulatorAfma6::initialiseCameraRelativeToObject(), vpSimulatorViper850::initialiseCameraRelativeToObject(), vpCameraParameters::initPersProjWithDistortion(), vpCameraParameters::initPersProjWithoutDistortion(), vpWireFrameSimulator::initScene(), vpLinearKalmanFilterInstantiation::initStateConstAccWithColoredNoise_MeasureVel(), vpLinearKalmanFilterInstantiation::initStateConstVelWithColoredNoise_MeasureVel(), vpMeTracker::initTracking(), vpMeLine::initTracking(), vpFeatureDepth::interaction(), vpGenericFeature::interaction(), vpFeaturePoint::interaction(), vpFeatureLine::interaction(), vpFeaturePointPolar::interaction(), vp1394TwoGrabber::isColorCodingSupported(), vp1394TwoGrabber::isFramerateSupported(), vp1394TwoGrabber::isVideoModeSupported(), vpMatrix::kron(), vpSimulator::load(), vpMbEdgeKltTracker::loadConfigFile(), vpMbKltTracker::loadConfigFile(), vpMbTracker::loadVRMLModel(), vpSimulator::mainLoop(), vpIoTools::makeDirectory(), vpFernClassifier::matchPoint(), vpSimulator::offScreenRendering(), vpServoData::open(), vpServolens::open(), vpVideoWriter::open(), vpRobotAfma6::openGripper(), vpRGBa::operator=(), vpXmlParser::parse(), vpPose::poseDementhonPlan(), vpPose::poseVirtualVS(), vpPose::poseVirtualVSrobust(), vpRobotAfma4::powerOff(), vpRobotAfma6::powerOff(), vpRobotViper650::powerOff(), vpRobotViper850::powerOff(), vpRobotAfma4::powerOn(), vpRobotAfma6::powerOn(), vpRobotViper650::powerOn(), vpRobotViper850::powerOn(), vpFeatureLuminance::print(), vpClient::print(), vp1394TwoGrabber::printCameraInfo(), vpForwardProjection::project(), vpCircle::projection(), vpSphere::projection(), vpRansac< vpTransformation >::ransac(), vpHomography::ransac(), vpImageIo::readPNG(), vpNetwork::receive(), vpNetwork::receiveAndDecodeRequestOnceFrom(), vpNetwork::receiveFrom(), vpServolens::reset(), vpMeLine::sample(), vpXmlParser::save(), vpXmlParserCamera::save(), vpVideoWriter::saveFrame(), vpServo::secondaryTask(), vpServo::secondaryTaskJointLimitAvoidance(), vpMeLine::seekExtremities(), vp1394CMUGrabber::selectCamera(), vpGenericFeature::set_s(), vp1394TwoGrabber::setAutoGain(), vpServolens::setAutoIris(), vp1394TwoGrabber::setAutoShutter(), vpServolens::setController(), vpGenericFeature::setError(), vpVideoWriter::setFileName(), vpVideoReader::setFileName(), vpDisplayWin32::setFont(), vpDisplayOpenCV::setFont(), vp1394TwoGrabber::setFormat7ROI(), vp1394CMUGrabber::setFramerate(), vpAR::setImage(), vpGenericFeature::setInteractionMatrix(), vpServo::setInteractionMatrixType(), vp1394TwoGrabber::setIsoTransmissionSpeed(), vp1394TwoGrabber::setPanControl(), vp1394TwoGrabber::setParameterValue(), vpServolens::setPosition(), vpRobotPtu46::setPosition(), vpRobotBiclops::setPosition(), vpSimulatorAfma6::setPosition(), vpRobotAfma4::setPosition(), vpSimulatorViper850::setPosition(), vpRobotAfma6::setPosition(), vpRobotViper650::setPosition(), vpRobotViper850::setPosition(), vpRobotBiclops::setPositioningVelocity(), vpV4l2Grabber::setScale(), vpMbEdgeTracker::setScales(), vpRobotPtu46::setVelocity(), vpSimulatorCamera::setVelocity(), vpRobotCamera::setVelocity(), vpSimulatorPioneer::setVelocity(), vpSimulatorPioneerPan::setVelocity(), vpRobotBiclops::setVelocity(), vpSimulatorAfma6::setVelocity(), vpSimulatorViper850::setVelocity(), vpRobotAfma4::setVelocity(), vpRobotAfma6::setVelocity(), vpRobotViper650::setVelocity(), vpRobotViper850::setVelocity(), vp1394CMUGrabber::setVideoMode(), vpFeatureSegment::setZ1(), vpFeatureSegment::setZ2(), vpHistogram::smooth(), vpServer::start(), vpRobotAfma4::stopMotion(), vpRobotAfma6::stopMotion(), vpRobotViper650::stopMotion(), vpRobotViper850::stopMotion(), vpKltOpencv::suppressFeature(), vpServo::testInitialization(), vpServo::testUpdated(), vpMeTracker::track(), vpForwardProjection::track(), vpMeLine::track(), vpRobotPtu46::vpRobotPtu46(), vpServer::vpServer(), vpKinect::warpRGBFrame(), vpImageIo::writePNG(), and vpRobotPtu46::~vpRobotPtu46().
#define vpIN_FCT (vpTraceOutput(__FILE__, __LINE__, __FUNCTION__, false, "begin ")) |
Works like vpTRACE() and should be used at the beginning of a function.
#define vpOUT_FCT (vpTraceOutput(__FILE__, __LINE__, __FUNCTION__, false, "end ")) |
Works like vpTRACE() and should be used at the end of a function.
#define vpTRACE (vpTraceOutput(__FILE__, __LINE__, __FUNCTION__, false)) |
Used to display trace messages on the standard stream. Prints the name of the file, the function name and the line where it was used. Use like this : vpTRACE("my debug message number %d", i); with any "printf" string.
Definition at line 416 of file vpDebug.h.
Referenced by vpKeyPointSurf::buildReference(), vpFernClassifier::buildReference(), vpDisplayGTK::clearDisplay(), vpDisplayOpenCV::clearDisplay(), vpBSpline::computeCurveDers(), vpBSpline::computeDersBasisFuns(), vpPoseFeatures::computePose(), vpMbHiddenFaces< vpMbtPolygon >::computeScanLineQuery(), vpDisplayGTK::displayImage(), vpDisplayOpenCV::displayImage(), vpHomography::DLT(), vpGenericFeature::duplicate(), vpViper650::getCameraParameters(), vpViper850::getCameraParameters(), vpAfma6::getCameraParameters(), vpSimulatorAfma6::getCameraParameters(), vpSimulatorViper850::getCameraParameters(), vpPose::getCovarianceMatrix(), vpPoseFeatures::getCovarianceMatrix(), vpKeyPointSurf::getDescriptorParamReferencePoint(), vpKeyPointSurf::getDescriptorReferencePoint(), vpCameraParameters::getFovNormals(), vpCameraParameters::getHorizontalFovAngle(), vpBasicKeyPoint::getIndexInAllReferencePointList(), vpAfma6::getInverseKinematics(), vpKeyPointSurf::getLaplacianReferencePoint(), vpBasicKeyPoint::getMatchedPoints(), vpBasicKeyPoint::getReferencePoint(), vpCameraParameters::getVerticalFovAngle(), vpRobotTemplate::init(), vpDisplayX::init(), vpFeatureVanishingPoint::interaction(), vpFeatureEllipse::interaction(), vpFeatureSegment::interaction(), vpFeatureDepth::interaction(), vpFeaturePoint::interaction(), vpFeatureLine::interaction(), vpFeaturePoint3D::interaction(), vpFeatureThetaU::interaction(), vpFeaturePointPolar::interaction(), vpFeatureTranslation::interaction(), vpMbTracker::loadCAOModel(), vpMbEdgeKltTracker::loadConfigFile(), vpMbKltTracker::loadConfigFile(), vpMbEdgeTracker::loadConfigFile(), vpPlanarObjectDetector::matchPoint(), vpKeyPointSurf::matchPoint(), vpFernClassifier::matchPoint(), vpPlot::plot(), vpRansac< vpTransformation >::ransac(), vpNetwork::receive(), vpNetwork::receiveAndDecodeRequestOnceFrom(), vpNetwork::receiveFrom(), vpDot2::searchDotsInArea(), vpMeNurbs::seekExtremitiesCanny(), vpNetwork::send(), vpNetwork::sendRequestTo(), vpNetwork::sendTo(), vpMbTracker::setFarClippingDistance(), vp1394TwoGrabber::setFormat7ROI(), vpSimulatorAfma6::setJointLimit(), vpSimulatorViper850::setJointLimit(), vpDot::setMaxDotSize(), vpMbTracker::setNearClippingDistance(), vpMbEdgeMultiTracker::track(), vpMbEdgeTracker::track(), vpSimulator::write(), and vpServo::~vpServo().