MILDRobotModelWithApproximatedIKFactory.hpp
Go to the documentation of this file.
1 
19 #pragma once
20 
23 
24 namespace robot_model_services {
25 
27  private:
30 
31  public:
32  MILDRobotModelWithApproximatedIKFactory(float minTiltAngleDegrees, float maxTiltAngleDegrees,
33  float minPanAngleDegrees, float maxPanAngleDegrees)
34  : mMinTiltAngleDegrees(minTiltAngleDegrees),
35  mMaxTiltAngleDegrees(maxTiltAngleDegrees),
36  mMinPanAngleDegrees(minPanAngleDegrees),
37  mMaxPanAngleDegrees(maxPanAngleDegrees)
38  { }
39 
42  robotModel->setPanAngleLimits(mMinPanAngleDegrees, mMaxPanAngleDegrees);
43  robotModel->setTiltAngleLimits(mMinTiltAngleDegrees, mMaxTiltAngleDegrees);
44  return RobotModelPtr(robotModel);
45  }
46  };
48 }
boost::shared_ptr< MILDRobotModelWithApproximatedIKFactory > MILDRobotModelWithApproximatedIKFactoryPtr
MILDRobotModel implements a model of pan tilt unit robot.
MILDRobotModelWithApproximatedIK implements a model of pan tilt unit robot where the inverse kinemati...
void setPanAngleLimits(float minAngleDegrees, float maxAngleDegrees)
sets the angle limits of the pan angle.
MILDRobotModelWithApproximatedIKFactory(float minTiltAngleDegrees, float maxTiltAngleDegrees, float minPanAngleDegrees, float maxPanAngleDegrees)
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