Visual Servoing Platform
version 3.0.1
|
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 std::cerr << "(L0) " << "!!\t" << __FILE__ << ": " << __FUNCTION__ << "(#" << __LINE__ << ") : " |
#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 502 of file vpDebug.h.
Referenced by vpPtu46::computeMGD(), vpBiclops::computeMGD(), vpBiclops::get_fMc(), vpRobotBiclops::getPosition(), vpRobotBiclops::getVelocity(), vpMeEllipse::initTracking(), vpMeLine::initTracking(), vpMeLine::leastSquare(), vpRobust::MEstimator(), vpMeLine::sample(), vpMeLine::seekExtremities(), vpRobotPtu46::setVelocity(), vpRobotBiclops::setVelocity(), vpRobust::simultMEstimator(), vpHinkley::testDownUpwardJump(), vpHinkley::testDownwardJump(), vpHinkley::testUpwardJump(), vpMeLine::track(), and vpRobust::vpRobust().
#define vpCERROR std::cerr << "(L0) " << "!!\t" << __FILE__ << ": " << __FUNCTION__ << "(#" << __LINE__ << ") : " |
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(), 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 337 of file vpDebug.h.
Referenced by vp1394TwoGrabber::getNumCameras(), vpMbKltTracker::setProjectionErrorComputation(), 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 526 of file vpDebug.h.
Referenced by vpMeLine::computeRhoTheta(), vpMbtDistanceCircle::displayMovingEdges(), vpMeLine::sample(), vpMeLine::seekExtremities(), vpMeNurbs::seekExtremities(), vpMeEllipse::track(), and vpMeLine::track().
#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 478 of file vpDebug.h.
Referenced by vpDiskGrabber::acquire(), vpServo::computeError(), vpPose::coplanar(), vpGenericFeature::error(), vpRobotPtu46::getPosition(), vpRobotBiclops::getPosition(), vpRobotBiclops::getVelocity(), vpRobotPtu46::init(), vpDisplayX::init(), vpImage< Type >::init(), vpAdaptiveGain::initFromConstant(), vpAdaptiveGain::initFromVoid(), vpAdaptiveGain::initStandard(), vpAdaptiveGain::limitValue(), vpAdaptiveGain::limitValue_const(), vpIoTools::makeDirectory(), vpDiskGrabber::open(), vpAdaptiveGain::setConstant(), vpDiskGrabber::setImageNumber(), vpRobotBiclops::setPosition(), vpRobotPtu46::setRobotState(), vpRobotBiclops::setRobotState(), vpRobotPtu46::setVelocity(), vpRobotBiclops::setVelocity(), vpAdaptiveGain::value(), vpAdaptiveGain::value_const(), vpAdaptiveGain::vpAdaptiveGain(), 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 455 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 391 of file vpDebug.h.
Referenced by vp1394CMUGrabber::acquire(), vp1394TwoGrabber::acquire(), vpSimulator::addObject(), vpRobotViper650::biasForceTorqueSensor(), vpRobotViper850::biasForceTorqueSensor(), vpFeatureDepth::buildFrom(), vpFeaturePoint::buildFrom(), vpFeaturePoint3D::buildFrom(), vpFeaturePointPolar::buildFrom(), vpImageTools::changeLUT(), vpServer::checkForConnections(), vpRobotAfma6::checkJointLimits(), vpSubMatrix::checkParentStatus(), vp1394CMUGrabber::close(), vpVideoWriter::close(), vp1394TwoGrabber::close(), vpRobotAfma6::closeGripper(), vpSimulatorAfma6::computeArticularVelocity(), vpSimulatorViper850::computeArticularVelocity(), vpCalibration::computeCalibrationTsai(), vpServo::computeControlLaw(), vpServo::computeError(), vpPtu46::computeMGD(), vpPose::computePose(), vpMeLine::computeRhoTheta(), vpMbEdgeKltTracker::computeVVS(), vpClient::connectToHostname(), vpClient::connectToIP(), vpMeterPixelConversion::convertLine(), vpPixelMeterConversion::convertLine(), vpPose::coplanar(), vpFeatureBuilder::create(), vp1394TwoGrabber::dequeue(), vpRobotViper650::disableJoint6Limits(), vpRobotViper850::disableJoint6Limits(), vpFeatureVanishingPoint::display(), vpFeatureEllipse::display(), vpFeatureLuminance::display(), vpGenericFeature::display(), vpFeatureDepth::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(), vpSimulatorViper850::get_eJe(), vpRobotAfma4::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(), vpSimulatorViper850::get_fJe(), vpRobotAfma4::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(), vpVideoReader::getFramerate(), 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(), vpImage< double >::getValue(), vpImage< Type >::getValue(), vpImage< vpRGBa >::getValue(), vpRobotPtu46::getVelocity(), vpRobotBiclops::getVelocity(), vpSimulatorAfma6::getVelocity(), vpSimulatorViper850::getVelocity(), vpRobotAfma4::getVelocity(), vpRobotAfma6::getVelocity(), vpRobotViper650::getVelocity(), vpRobotViper850::getVelocity(), vp1394TwoGrabber::getVideoMode(), vp1394TwoGrabber::getVideoModeSupported(), vp1394TwoGrabber::getWidth(), vpSubMatrix::init(), vpRobotPtu46::init(), vpAfma6::init(), vpDisplayWin32::init(), vpRobotBiclops::init(), vpViper650::init(), vpViper850::init(), vpDisplayX::init(), vpImage< Type >::init(), vpCameraParameters::init(), vpRobotAfma4::init(), vpLinearKalmanFilterInstantiation::initFilter(), vpMbTracker::initFromPoints(), vpSimulatorAfma6::initialiseCameraRelativeToObject(), vpSimulatorViper850::initialiseCameraRelativeToObject(), vpCameraParameters::initPersProjWithDistortion(), vpCameraParameters::initPersProjWithoutDistortion(), vpWireFrameSimulator::initScene(), vpLinearKalmanFilterInstantiation::initStateConstAccWithColoredNoise_MeasureVel(), vpLinearKalmanFilterInstantiation::initStateConstVelWithColoredNoise_MeasureVel(), vpMeTracker::initTracking(), vpMeEllipse::initTracking(), vpMeLine::initTracking(), vpFeatureDepth::interaction(), vpGenericFeature::interaction(), vpFeaturePoint::interaction(), vpFeatureLine::interaction(), vpFeaturePointPolar::interaction(), vpMatrix::inverseByCholesky(), vpMatrix::inverseByLU(), vpMatrix::inverseByQR(), 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(), vpVideoReader::open(), vpRobotAfma6::openGripper(), vpColVector::operator-(), vpSubMatrix::operator=(), vpRGBa::operator=(), vpImage< Type >::operator=(), vpXmlParser::parse(), vpViper650::parseConfigFile(), vpViper850::parseConfigFile(), vpPose::poseDementhonPlan(), vpPose::poseVirtualVS(), vpPose::poseVirtualVSrobust(), vpRobotAfma4::powerOff(), vpRobotAfma6::powerOff(), vpRobotViper650::powerOff(), vpRobotViper850::powerOff(), vpRobotAfma4::powerOn(), vpRobotAfma6::powerOn(), vpRobotViper650::powerOn(), vpRobotViper850::powerOn(), vpFeatureLuminance::print(), vp1394TwoGrabber::printCameraInfo(), vpForwardProjection::project(), vpCircle::projection(), vpSphere::projection(), vpRansac< vpTransformation >::ransac(), vpHomography::ransac(), vpImageIo::readPNG(), vpNetwork::receive(), vpNetwork::receiveFrom(), vpServolens::reset(), vpImage< Type >::resize(), vpMeLine::sample(), vpXmlParser::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(), vp1394TwoGrabber::setIsoTransmissionSpeed(), vp1394TwoGrabber::setPanControl(), vp1394TwoGrabber::setParameterValue(), vpServolens::setPosition(), vpRobotPtu46::setPosition(), vpRobotBiclops::setPosition(), vpSimulatorAfma6::setPosition(), vpSimulatorViper850::setPosition(), vpRobotAfma4::setPosition(), vpRobotAfma6::setPosition(), vpRobotViper650::setPosition(), vpRobotViper850::setPosition(), vpRobotBiclops::setPositioningVelocity(), vpV4l2Grabber::setScale(), vpMbEdgeTracker::setScales(), vpSimulatorCamera::setVelocity(), vpSimulatorPioneer::setVelocity(), vpRobotCamera::setVelocity(), vpSimulatorPioneerPan::setVelocity(), vpRobotPtu46::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(), vpImage< Type >::sub(), vpServo::testInitialization(), vpServo::testUpdated(), vpMeTracker::track(), vpForwardProjection::track(), vpMeLine::track(), vpMbKltMultiTracker::track(), vpMbKltTracker::track(), vpImage< Type >::vpImage(), 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 414 of file vpDebug.h.
Referenced by vpFFMPEG::acquire(), vpKeyPointSurf::buildReference(), vpFernClassifier::buildReference(), vpDisplayGTK::clearDisplay(), vpDisplayOpenCV::clearDisplay(), vpBSpline::computeCurveDers(), vpBSpline::computeDersBasisFuns(), vpDisplayGTK::displayImage(), vpDisplayOpenCV::displayImage(), vpHomography::DLT(), vpGenericFeature::duplicate(), vpFFMPEG::endWrite(), vpViper650::getCameraParameters(), vpViper850::getCameraParameters(), vpAfma6::getCameraParameters(), vpSimulatorAfma6::getCameraParameters(), vpSimulatorViper850::getCameraParameters(), vpMbTracker::getCovarianceMatrix(), vpPose::getCovarianceMatrix(), vpPoseFeatures::getCovarianceMatrix(), vpKeyPointSurf::getDescriptorParamReferencePoint(), vpKeyPointSurf::getDescriptorReferencePoint(), vpCameraParameters::getFovNormals(), vpFFMPEG::getFrame(), vpCameraParameters::getHorizontalFovAngle(), vpBasicKeyPoint::getIndexInAllReferencePointList(), vpAfma6::getInverseKinematics(), vpKeyPointSurf::getLaplacianReferencePoint(), vpBasicKeyPoint::getMatchedPoints(), vpBasicKeyPoint::getReferencePoint(), vpCameraParameters::getVerticalFovAngle(), vpRobotTemplate::init(), vpDisplayX::init(), vpFFMPEG::initStream(), 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(), vpFFMPEG::openStream(), vpPlot::plot(), vpRansac< vpTransformation >::ransac(), vpNetwork::receive(), vpNetwork::receiveFrom(), vpFFMPEG::saveFrame(), vpDot2::searchDotsInArea(), vpMeNurbs::seekExtremitiesCanny(), vpNetwork::send(), vpNetwork::sendRequestTo(), vpNetwork::sendTo(), vpMbEdgeTracker::setFarClippingDistance(), vpMbTracker::setFarClippingDistance(), vp1394TwoGrabber::setFormat7ROI(), vpSimulatorAfma6::setJointLimit(), vpSimulatorViper850::setJointLimit(), vpDot::setMaxDotSize(), vpMbEdgeTracker::setNearClippingDistance(), vpMbTracker::setNearClippingDistance(), vpMbEdgeMultiTracker::track(), vpMbEdgeTracker::track(), vpSimulator::write(), and vpServo::~vpServo().