SimpleGridReachability.h
Go to the documentation of this file.
1 #pragma once
3 
4 namespace armarx
5 {
7  {
8  public:
9  struct Parameters
10  {
11  VirtualRobot::RobotNodePtr tcp;
12  VirtualRobot::RobotNodeSetPtr nodeSet;
13 
14  // IK params
15  float ikStepLengthInitial = 0.2f;
16  float ikStepLengthFineTune = 0.5f;
17  size_t stepsInitial = 25;
18  size_t stepsFineTune = 5;
19  float maxPosError = 10.f;
20  float maxOriError = 0.05f;
21  float jointLimitAvoidanceKp = 2.0f;
22  };
23  struct Result
24  {
25  Eigen::VectorXf jointValues;
26  float posError;
27  float oriError;
28  bool reached;
29  };
30 
31  static Result CalculateDiffIK(const Eigen::Matrix4f targetPose, const Parameters& params);
32 
33 
34  };
35 
36 }
37 
armarx::SimpleGridReachability::CalculateDiffIK
static Result CalculateDiffIK(const Eigen::Matrix4f targetPose, const Parameters &params)
armarx::SimpleGridReachability::Result::oriError
float oriError
Definition: SimpleGridReachability.h:27
armarx::SimpleGridReachability::Parameters::stepsInitial
size_t stepsInitial
Definition: SimpleGridReachability.h:17
armarx::SimpleGridReachability::Parameters::ikStepLengthFineTune
float ikStepLengthFineTune
Definition: SimpleGridReachability.h:16
armarx::SimpleGridReachability::Parameters::stepsFineTune
size_t stepsFineTune
Definition: SimpleGridReachability.h:18
armarx::SimpleGridReachability::Result
Definition: SimpleGridReachability.h:23
armarx::SimpleGridReachability::Parameters::maxPosError
float maxPosError
Definition: SimpleGridReachability.h:19
armarx::SimpleGridReachability::Result::posError
float posError
Definition: SimpleGridReachability.h:26
armarx::SimpleGridReachability::Result::reached
bool reached
Definition: SimpleGridReachability.h:28
CartesianPositionController.h
armarx::SimpleGridReachability::Parameters::ikStepLengthInitial
float ikStepLengthInitial
Definition: SimpleGridReachability.h:15
armarx::SimpleGridReachability::Parameters::maxOriError
float maxOriError
Definition: SimpleGridReachability.h:20
GfxTL::Matrix4f
MatrixXX< 4, 4, float > Matrix4f
Definition: MatrixXX.h:601
armarx::SimpleGridReachability::Parameters::jointLimitAvoidanceKp
float jointLimitAvoidanceKp
Definition: SimpleGridReachability.h:21
armarx::SimpleGridReachability::Result::jointValues
Eigen::VectorXf jointValues
Definition: SimpleGridReachability.h:25
armarx::SimpleGridReachability::Parameters::nodeSet
VirtualRobot::RobotNodeSetPtr nodeSet
Definition: SimpleGridReachability.h:12
armarx::SimpleGridReachability
Definition: SimpleGridReachability.h:6
armarx::SimpleGridReachability::Parameters
Definition: SimpleGridReachability.h:9
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition: ArmarXTimeserver.cpp:28
armarx::SimpleGridReachability::Parameters::tcp
VirtualRobot::RobotNodePtr tcp
Definition: SimpleGridReachability.h:11