23 #include <robot_model_services/robot_model/RobotModelAbstractFactory.hpp> 45 double fcp,
double ncp,
46 double useTargetRobotState,
49 double angleThreshold,
50 double omegaUtility,
double omegaPan,
double omegaTilt,
51 double omegaRot,
double omegaBase,
double omegaRecognizer,
52 bool useOrientationUtility,
bool useProximityUtility,
bool useSideUtility)
53 : mFovx(fovx), mFovy(fovy),
55 mUseTargetRobotState(useTargetRobotState),
56 mRobotModelFactoryPtr(robotModelFactory), mCameraModelFilterFactoryPtr(cameraModelFilterFactory),
57 mMapHelperPtr(mapHelper),
58 mAngleThreshold(angleThreshold),
59 mOmegaUtility(omegaUtility), mOmegaPan(omegaPan), mOmegaTilt(omegaTilt),
60 mOmegaRot(omegaRot), mOmegaBase(omegaBase), mOmegaRecognizer(omegaRecognizer),
61 mUseOrientationUtility(useOrientationUtility), mUseProximityUtility(useProximityUtility), mUseSideUtility(useSideUtility)
66 defaultRatingModule->setNormalAngleThreshold(mAngleThreshold);
67 defaultRatingModule->setOmegaParameters(mOmegaUtility, mOmegaPan, mOmegaTilt, mOmegaRot, mOmegaBase, mOmegaRecognizer);
68 defaultRatingModule->setUtilityParameters(mUseOrientationUtility, mUseProximityUtility, mUseSideUtility);
69 return defaultRatingModule;
DefaultRatingModuleFactory(double fovx, double fovy, double fcp, double ncp, double useTargetRobotState, robot_model_services::RobotModelAbstractFactoryPtr robotModelFactory, CameraModelFilterAbstractFactoryPtr cameraModelFilterFactory, MapHelperPtr mapHelper, double angleThreshold, double omegaUtility, double omegaPan, double omegaTilt, double omegaRot, double omegaBase, double omegaRecognizer, bool useOrientationUtility, bool useProximityUtility, bool useSideUtility)
robot_model_services::RobotModelAbstractFactoryPtr mRobotModelFactoryPtr
RatingModulePtr createRatingModule()
MapHelperPtr mMapHelperPtr
bool mUseProximityUtility
this namespace contains all generally usable classes.
CameraModelFilterAbstractFactoryPtr mCameraModelFilterFactoryPtr
boost::shared_ptr< DefaultRatingModuleFactory > DefaultRatingModuleFactoryPtr
DefaultRatingModule implements the functionlities offered by RatingModule.
bool mUseOrientationUtility
boost::shared_ptr< DefaultRatingModule > DefaultRatingModulePtr
Definition for the shared pointer type of the class.
double mUseTargetRobotState