MILDRobotModelWithExactIKFactory.hpp
Go to the documentation of this file.
1 
20 #pragma once
21 
24 
25 namespace robot_model_services {
26 
28  private:
31 
32  public:
33  MILDRobotModelWithExactIKFactory(float minTiltAngleDegrees, float maxTiltAngleDegrees,
34  float minPanAngleDegrees, float maxPanAngleDegrees)
35  : mMinTiltAngleDegrees(minTiltAngleDegrees),
36  mMaxTiltAngleDegrees(maxTiltAngleDegrees),
37  mMinPanAngleDegrees(minPanAngleDegrees),
38  mMaxPanAngleDegrees(maxPanAngleDegrees)
39  { }
40 
42  MILDRobotModel* robotModel = new MILDRobotModelWithExactIK();
43  robotModel->setPanAngleLimits(mMinPanAngleDegrees, mMaxPanAngleDegrees);
44  robotModel->setTiltAngleLimits(mMinTiltAngleDegrees, mMaxTiltAngleDegrees);
45  return RobotModelPtr(robotModel);
46  }
47  };
49 }
50 
MILDRobotModel implements a model of pan tilt unit robot.
boost::shared_ptr< MILDRobotModelWithExactIKFactory > MILDRobotModelWithExactIKFactoryPtr
MILDRobotModelWithExactIKFactory(float minTiltAngleDegrees, float maxTiltAngleDegrees, float minPanAngleDegrees, float maxPanAngleDegrees)
void setPanAngleLimits(float minAngleDegrees, float maxAngleDegrees)
sets the angle limits of the pan angle.
boost::shared_ptr< RobotModel > RobotModelPtr
Definition for the shared pointer type of the class.
Definition: RobotModel.hpp:132
this namespace contains all generally usable classes.
Definition: DebugHelper.hpp:27
void setTiltAngleLimits(float minAngleDegrees, float maxAngleDegrees)
sets the angle limits of the tilt angle.


asr_robot_model_services
Author(s): Aumann Florian, Borella Jocelyn, Heller Florian, Meißner Pascal, Schleicher Ralf, Stöckle Patrick, Stroh Daniel, Trautmann Jeremias, Walter Milena, Wittenbeck Valerij
autogenerated on Mon Jun 10 2019 12:49:59