SimpleGridReachability.h
Go to the documentation of this file.
1#pragma once
3
4namespace 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;
17 size_t stepsInitial = 25;
18 size_t stepsFineTune = 5;
19 float maxPosError = 10.f;
20 float maxOriError = 0.05f;
22 };
23
24 struct Result
25 {
26 Eigen::VectorXf jointValues;
27 float posError;
28 float oriError;
29 bool reached;
30 };
31
32 static Result CalculateDiffIK(const Eigen::Matrix4f targetPose, const Parameters& params);
33 };
34
35} // namespace armarx
static Result CalculateDiffIK(const Eigen::Matrix4f targetPose, const Parameters &params)
This file offers overloads of toIce() and fromIce() functions for STL container types.