From a8d101544b344bcdd447b8c1aa71493db715ea9e Mon Sep 17 00:00:00 2001 From: dmronga Date: Fri, 7 Jun 2024 07:57:21 +0000 Subject: [PATCH] deploy: 3d440c7ddfa14b498f267736746e0a377274e58e --- CartesianTask_8hpp_source.html | 2 +- KinematicChainKDL_8cpp.html | 89 -- KinematicChainKDL_8hpp.html | 110 -- KinematicChainKDL_8hpp_source.html | 177 --- RobotModelKDL_8cpp.html | 94 -- RobotModelKDL_8hpp.html | 100 -- RobotModelKDL_8hpp_source.html | 202 --- annotated.html | 76 +- classes.html | 21 +- classwbc_1_1KinematicChainKDL-members.html | 110 -- classwbc_1_1KinematicChainKDL.html | 665 ---------- classwbc_1_1RobotModel.html | 31 +- classwbc_1_1RobotModel.png | Bin 1328 -> 1144 bytes classwbc_1_1RobotModelKDL-members.html | 166 --- classwbc_1_1RobotModelKDL.html | 1349 -------------------- classwbc_1_1RobotModelKDL.png | Bin 560 -> 0 bytes dir_4b0a3be32108824a8cbe2b2dafa78f1b.html | 94 -- dir_88439d26a4e189b0caff163511948ba7.html | 2 - dir_f621786a8d819b7aecfe1f8e64790879.html | 83 -- doxygen_crawl.html | 106 +- files.html | 35 +- functions_a.html | 2 +- functions_b.html | 6 +- functions_c.html | 17 +- functions_f.html | 4 - functions_func_b.html | 4 +- functions_func_c.html | 15 +- functions_func_g.html | 1 - functions_func_j.html | 4 +- functions_func_k.html | 75 -- functions_func_r.html | 4 +- functions_func_s.html | 7 +- functions_func_u.html | 2 +- functions_func_~.html | 1 - functions_g.html | 1 - functions_h.html | 1 - functions_j.html | 13 +- functions_k.html | 78 -- functions_p.html | 1 - functions_q.html | 7 +- functions_r.html | 7 +- functions_s.html | 11 +- functions_t.html | 5 +- functions_type.html | 2 - functions_u.html | 2 +- functions_vars_a.html | 2 +- functions_vars_b.html | 2 - functions_vars_c.html | 2 - functions_vars_f.html | 4 - functions_vars_h.html | 1 - functions_vars_j.html | 9 +- functions_vars_k.html | 75 -- functions_vars_p.html | 1 - functions_vars_q.html | 7 +- functions_vars_r.html | 3 +- functions_vars_s.html | 4 +- functions_vars_t.html | 5 +- functions_vars_z.html | 75 -- functions_z.html | 75 -- functions_~.html | 1 - globals.html | 6 +- globals_defs.html | 4 +- globals_func.html | 2 +- hierarchy.html | 147 ++- menudata.js | 7 +- namespaces.html | 76 +- namespacewbc.html | 6 - structwbc_1_1RobotModelFactory.html | 7 +- structwbc_1_1RobotModelFactory.png | Bin 2391 -> 2088 bytes test__model__consistency_8cpp.html | 22 +- test__robot__model__kdl_8cpp.html | 246 ---- 71 files changed, 260 insertions(+), 4311 deletions(-) delete mode 100644 KinematicChainKDL_8cpp.html delete mode 100644 KinematicChainKDL_8hpp.html delete mode 100644 KinematicChainKDL_8hpp_source.html delete mode 100644 RobotModelKDL_8cpp.html delete mode 100644 RobotModelKDL_8hpp.html delete mode 100644 RobotModelKDL_8hpp_source.html delete mode 100644 classwbc_1_1KinematicChainKDL-members.html delete mode 100644 classwbc_1_1KinematicChainKDL.html delete mode 100644 classwbc_1_1RobotModelKDL-members.html delete mode 100644 classwbc_1_1RobotModelKDL.html delete mode 100644 classwbc_1_1RobotModelKDL.png delete mode 100644 dir_4b0a3be32108824a8cbe2b2dafa78f1b.html delete mode 100644 dir_f621786a8d819b7aecfe1f8e64790879.html delete mode 100644 functions_func_k.html delete mode 100644 functions_k.html delete mode 100644 functions_vars_k.html delete mode 100644 functions_vars_z.html delete mode 100644 functions_z.html delete mode 100644 test__robot__model__kdl_8cpp.html diff --git a/CartesianTask_8hpp_source.html b/CartesianTask_8hpp_source.html index 820392b1..e1f86427 100644 --- a/CartesianTask_8hpp_source.html +++ b/CartesianTask_8hpp_source.html @@ -72,7 +72,7 @@
3
4#include "../core/Task.hpp"
5
-
6namespace base{ namespace samples { class RigidBodyStateSE3; } }
+
6namespace base{ namespace samples { class RigidBodyStateSE3; } }
7
8namespace wbc {
9
diff --git a/KinematicChainKDL_8cpp.html b/KinematicChainKDL_8cpp.html deleted file mode 100644 index a8e42116..00000000 --- a/KinematicChainKDL_8cpp.html +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - - -wbc: src/robot_models/kdl/KinematicChainKDL.cpp File Reference - - - - - - - - - - - -
-
- - - - - - -
-
wbc -
-
-
- - - - - - - - - -
-
-
- -
KinematicChainKDL.cpp File Reference
-
-
-
#include "KinematicChainKDL.hpp"
-#include <base-logging/Logging.hpp>
-#include <base/samples/Joints.hpp>
-#include <kdl/chaindynparam.hpp>
-
- - - -

-Namespaces

namespace  wbc
 
-
- - -
- - diff --git a/KinematicChainKDL_8hpp.html b/KinematicChainKDL_8hpp.html deleted file mode 100644 index d386725b..00000000 --- a/KinematicChainKDL_8hpp.html +++ /dev/null @@ -1,110 +0,0 @@ - - - - - - - -wbc: src/robot_models/kdl/KinematicChainKDL.hpp File Reference - - - - - - - - - - - -
-
- - - - - - -
-
wbc -
-
-
- - - - - - - - - -
-
-
- -
KinematicChainKDL.hpp File Reference
-
-
-
#include <memory>
-#include <kdl/frameacc.hpp>
-#include <kdl/chain.hpp>
-#include <kdl/jacobian.hpp>
-#include <kdl/jntarray.hpp>
-#include <kdl/jntarrayacc.hpp>
-#include <base/Time.hpp>
-#include <base/samples/RigidBodyStateSE3.hpp>
-#include <kdl/chainfksolvervel_recursive.hpp>
-#include <kdl/chainjnttojacsolver.hpp>
-#include <kdl/chainjnttojacdotsolver.hpp>
-#include <map>
-
-

Go to the source code of this file.

- - - - - -

-Classes

class  wbc::KinematicChainKDL
 Helper class for storing information of a KDL chain in the robot model. More...
 
- - - - - - - -

-Namespaces

namespace  base
 
namespace  base::samples
 
namespace  wbc
 
-
- - -
- - diff --git a/KinematicChainKDL_8hpp_source.html b/KinematicChainKDL_8hpp_source.html deleted file mode 100644 index a1e73c7b..00000000 --- a/KinematicChainKDL_8hpp_source.html +++ /dev/null @@ -1,177 +0,0 @@ - - - - - - - -wbc: src/robot_models/kdl/KinematicChainKDL.hpp Source File - - - - - - - - - - - -
-
- - - - - - -
-
wbc -
-
-
- - - - - - - - - -
-
-
-
KinematicChainKDL.hpp
-
-
-Go to the documentation of this file.
1#ifndef KINMATICCHAINKDL_HPP
-
2#define KINMATICCHAINKDL_HPP
-
3
-
4#include <memory>
-
5#include <kdl/frameacc.hpp>
-
6#include <kdl/chain.hpp>
-
7#include <kdl/jacobian.hpp>
-
8#include <kdl/jntarray.hpp>
-
9#include <kdl/jntarrayacc.hpp>
-
10#include <base/Time.hpp>
-
11#include <base/samples/RigidBodyStateSE3.hpp>
-
12#include <kdl/chainfksolvervel_recursive.hpp>
-
13#include <kdl/chainjnttojacsolver.hpp>
-
14#include <kdl/chainjnttojacdotsolver.hpp>
-
15#include <map>
-
16
-
17namespace base{
-
-
18 namespace samples{
-
19 class Joints;
-
20 }
-
-
21}
-
22namespace wbc{
-
23
-
- -
28
-
29protected:
-
30 base::samples::RigidBodyStateSE3 cartesian_state;
-
31
-
32public:
-
33 KinematicChainKDL(const KDL::Chain &chain, const std::string &root_frame, const std::string &tip_frame);
-
34
-
39 void update(const KDL::JntArray& q, const KDL::JntArray& qd, const KDL::JntArray& qdd, std::map<std::string,int> joint_idx_map);
-
41 const base::samples::RigidBodyStateSE3& rigidBodyState();
-
42
- - - - -
52
-
53
-
54 KDL::Frame pose_kdl;
-
55 KDL::FrameVel frame_vel;
-
56 KDL::Twist twist_kdl;
-
57 base::Vector6d acc;
-
58 KDL::Chain chain;
-
59 KDL::JntArrayVel jnt_array_vel;
-
60 KDL::JntArrayAcc jnt_array_acc;
-
61 KDL::Jacobian space_jacobian;
-
62 KDL::Jacobian body_jacobian;
-
63 KDL::Jacobian jacobian_dot;
-
64 std::vector<std::string> joint_names;
-
65 std::string root_frame;
-
66 std::string tip_frame;
-
67 base::Time stamp;
- -
69 std::shared_ptr<KDL::ChainJntToJacSolver> jac_solver;
-
70 std::shared_ptr<KDL::ChainFkSolverVel_recursive> fk_solver_vel;
-
71 std::shared_ptr<KDL::ChainJntToJacDotSolver> jac_dot_solver;
-
72
-
73};
-
-
74
-
75} // namespace wbc
-
76#endif
-
Helper class for storing information of a KDL chain in the robot model.
Definition KinematicChainKDL.hpp:27
-
void calculateSpaceJacobian()
Definition KinematicChainKDL.cpp:87
-
bool space_jacobian_is_up_to_date
Definition KinematicChainKDL.hpp:68
-
void calculateBodyJacobian()
Definition KinematicChainKDL.cpp:93
-
std::string root_frame
Definition KinematicChainKDL.hpp:65
-
void update(const KDL::JntArray &q, const KDL::JntArray &qd, const KDL::JntArray &qdd, std::map< std::string, int > joint_idx_map)
Update all joints of the kinematic chain.
Definition KinematicChainKDL.cpp:49
-
void calculateForwardKinematics()
Definition KinematicChainKDL.cpp:70
-
bool has_acceleration
Definition KinematicChainKDL.hpp:68
-
KDL::Chain chain
Definition KinematicChainKDL.hpp:58
-
std::string tip_frame
Definition KinematicChainKDL.hpp:66
-
bool body_jacobian_is_up_to_date
Definition KinematicChainKDL.hpp:68
-
KinematicChainKDL(const KDL::Chain &chain, const std::string &root_frame, const std::string &tip_frame)
Definition KinematicChainKDL.cpp:8
-
std::shared_ptr< KDL::ChainFkSolverVel_recursive > fk_solver_vel
Definition KinematicChainKDL.hpp:70
-
void calculateJacobianDot()
Definition KinematicChainKDL.cpp:103
-
bool jac_dot_is_up_to_date
Definition KinematicChainKDL.hpp:68
-
base::Time stamp
Definition KinematicChainKDL.hpp:67
-
KDL::Jacobian space_jacobian
Definition KinematicChainKDL.hpp:61
-
base::Vector6d acc
Definition KinematicChainKDL.hpp:57
-
KDL::Frame pose_kdl
Definition KinematicChainKDL.hpp:54
-
KDL::Jacobian jacobian_dot
Definition KinematicChainKDL.hpp:63
-
const base::samples::RigidBodyStateSE3 & rigidBodyState()
Definition KinematicChainKDL.cpp:37
-
KDL::Twist twist_kdl
Definition KinematicChainKDL.hpp:56
-
KDL::JntArrayAcc jnt_array_acc
Definition KinematicChainKDL.hpp:60
-
std::vector< std::string > joint_names
Definition KinematicChainKDL.hpp:64
-
bool fk_is_up_to_date
Definition KinematicChainKDL.hpp:68
-
std::shared_ptr< KDL::ChainJntToJacSolver > jac_solver
Definition KinematicChainKDL.hpp:69
-
KDL::Jacobian body_jacobian
Definition KinematicChainKDL.hpp:62
-
KDL::JntArrayVel jnt_array_vel
Definition KinematicChainKDL.hpp:59
-
base::samples::RigidBodyStateSE3 cartesian_state
Definition KinematicChainKDL.hpp:30
-
std::shared_ptr< KDL::ChainJntToJacDotSolver > jac_dot_solver
Definition KinematicChainKDL.hpp:71
-
KDL::FrameVel frame_vel
Definition KinematicChainKDL.hpp:55
-
Definition ControllerTools.cpp:6
-
Definition ContactsAccelerationConstraint.cpp:3
-
- - -
- - diff --git a/RobotModelKDL_8cpp.html b/RobotModelKDL_8cpp.html deleted file mode 100644 index cf1249b2..00000000 --- a/RobotModelKDL_8cpp.html +++ /dev/null @@ -1,94 +0,0 @@ - - - - - - - -wbc: src/robot_models/kdl/RobotModelKDL.cpp File Reference - - - - - - - - - - - -
-
- - - - - - -
-
wbc -
-
-
- - - - - - - - - -
-
-
- -
RobotModelKDL.cpp File Reference
-
-
-
#include "RobotModelKDL.hpp"
-#include "KinematicChainKDL.hpp"
-#include <kdl_parser/kdl_parser.hpp>
-#include <base-logging/Logging.hpp>
-#include "../../core/RobotModelConfig.hpp"
-#include <kdl/treeidsolver_recursive_newton_euler.hpp>
-#include <algorithm>
-#include <tools/URDFTools.hpp>
-#include <kdl/chaindynparam.hpp>
-
- - - -

-Namespaces

namespace  wbc
 
-
- - -
- - diff --git a/RobotModelKDL_8hpp.html b/RobotModelKDL_8hpp.html deleted file mode 100644 index d12ec7f4..00000000 --- a/RobotModelKDL_8hpp.html +++ /dev/null @@ -1,100 +0,0 @@ - - - - - - - -wbc: src/robot_models/kdl/RobotModelKDL.hpp File Reference - - - - - - - - - - - -
-
- - - - - - -
-
wbc -
-
-
- - - - - - - - - -
-
-
- -
RobotModelKDL.hpp File Reference
-
-
-
#include "../../core/RobotModel.hpp"
-#include <kdl/tree.hpp>
-#include <kdl/jacobian.hpp>
-#include <kdl/jntarray.hpp>
-#include <urdf_world/types.h>
-#include <map>
-
-

Go to the source code of this file.

- - - - - -

-Classes

class  wbc::RobotModelKDL
 This model describes the kinemetic relationships required for velocity based wbc. It is based on a single KDL Tree. However, multiple KDL trees can be added and will be appropriately concatenated. This way you can describe e.g. geometric robot-object relationships or create multi-robot scenarios. More...
 
- - - -

-Namespaces

namespace  wbc
 
-
- - -
- - diff --git a/RobotModelKDL_8hpp_source.html b/RobotModelKDL_8hpp_source.html deleted file mode 100644 index 15785897..00000000 --- a/RobotModelKDL_8hpp_source.html +++ /dev/null @@ -1,202 +0,0 @@ - - - - - - - -wbc: src/robot_models/kdl/RobotModelKDL.hpp Source File - - - - - - - - - - - -
-
- - - - - - -
-
wbc -
-
-
- - - - - - - - - -
-
-
-
RobotModelKDL.hpp
-
-
-Go to the documentation of this file.
1#ifndef ROBOTMODELKDL_HPP
-
2#define ROBOTMODELKDL_HPP
-
3
- -
5
-
6#include <kdl/tree.hpp>
-
7#include <kdl/jacobian.hpp>
-
8#include <kdl/jntarray.hpp>
-
9#include <urdf_world/types.h>
-
10#include <map>
-
11
-
12namespace wbc{
-
13
-
14class KinematicChainKDL;
-
15
-
- -
21protected:
-
22
- -
24
-
25 typedef std::shared_ptr<KinematicChainKDL> KinematicChainKDLPtr;
-
26 typedef std::map<std::string, KinematicChainKDLPtr> KinematicChainKDLMap;
-
27
-
28 KDL::JntArray q,qd,qdd,tau,zero;
-
29 base::VectorXd qdot_tmp;
-
30 base::VectorXd tmp_acc;
-
31
-
32 KDL::Tree full_tree;
-
33 std::map<std::string,int> joint_idx_map_kdl;
- -
41 void createChain(const std::string &root_frame, const std::string &tip_frame);
-
42
-
49 void createChain(const KDL::Tree& tree, const std::string &root_frame, const std::string &tip_frame);
-
50
-
57 void clear();
-
58
-
65 void recursiveCOM( const KDL::SegmentMap::const_iterator& currentSegment,
-
66 const KDL::Frame& frame,
-
67 double& mass, KDL::Vector& cog);
-
68
-
75 virtual const base::MatrixXd &spaceJacobianFromTree(const KDL::Tree& tree, const std::string &root_frame, const std::string &tip_frame);
-
76
-
77
-
78public:
- -
80 virtual ~RobotModelKDL();
-
81
-
92 virtual bool configure(const RobotModelConfig& cfg);
-
93
-
101 virtual void update(const base::samples::Joints& joint_state,
-
102 const base::samples::RigidBodyStateSE3& floating_base_state = base::samples::RigidBodyStateSE3());
-
103
-
105 virtual void systemState(base::VectorXd &q, base::VectorXd &qd, base::VectorXd &qdd);
-
106
-
113 virtual const base::samples::RigidBodyStateSE3 &rigidBodyState(const std::string &root_frame, const std::string &tip_frame);
-
114
-
120 virtual const base::MatrixXd &spaceJacobian(const std::string &root_frame, const std::string &tip_frame);
-
121
-
127 virtual const base::MatrixXd &bodyJacobian(const std::string &root_frame, const std::string &tip_frame);
-
128
-
129
-
135 virtual const base::MatrixXd &comJacobian();
-
136
-
144 virtual const base::MatrixXd &jacobianDot(const std::string &root_frame, const std::string &tip_frame);
-
145
-
151 virtual const base::Acceleration &spatialAccelerationBias(const std::string &root_frame, const std::string &tip_frame);
-
152
-
154 virtual const base::MatrixXd &jointSpaceInertiaMatrix();
-
155
-
157 virtual const base::VectorXd &biasForces();
-
158
-
160 KDL::Tree getTree(){return full_tree;}
-
161
-
163 virtual const base::samples::RigidBodyStateSE3& centerOfMass();
-
164
-
166 virtual void computeInverseDynamics(base::commands::Joints &solver_output);
-
167
-
168};
-
-
169
-
170}
-
171
-
172#endif // KINEMATICMODEL_HPP
- -
This model describes the kinemetic relationships required for velocity based wbc. It is based on a si...
Definition RobotModelKDL.hpp:20
-
virtual void update(const base::samples::Joints &joint_state, const base::samples::RigidBodyStateSE3 &floating_base_state=base::samples::RigidBodyStateSE3())
Update the robot model. The joint state has to contain all joints that are relevant in the model....
Definition RobotModelKDL.cpp:143
-
virtual void systemState(base::VectorXd &q, base::VectorXd &qd, base::VectorXd &qdd)
Definition RobotModelKDL.cpp:206
-
KDL::JntArray qdd
Definition RobotModelKDL.hpp:28
-
void createChain(const std::string &root_frame, const std::string &tip_frame)
Create a KDL chain and add it to the KDL Chain map. Throws an exception if chain cannot be extracted ...
Definition RobotModelKDL.cpp:123
-
void clear()
Definition RobotModelKDL.cpp:21
-
virtual const base::MatrixXd & spaceJacobian(const std::string &root_frame, const std::string &tip_frame)
Returns the Space Jacobian for the kinematic chain between root and the tip frame as full body Jacobi...
Definition RobotModelKDL.cpp:239
-
KinematicChainKDLMap kdl_chain_map
Definition RobotModelKDL.hpp:34
-
virtual const base::MatrixXd & jointSpaceInertiaMatrix()
Definition RobotModelKDL.cpp:393
-
virtual ~RobotModelKDL()
Definition RobotModelKDL.cpp:18
-
virtual const base::Acceleration & spatialAccelerationBias(const std::string &root_frame, const std::string &tip_frame)
Returns the spatial acceleration bias, i.e. the term Jdot*qdot.
Definition RobotModelKDL.cpp:364
-
KDL::Tree full_tree
Definition RobotModelKDL.hpp:32
-
virtual const base::samples::RigidBodyStateSE3 & centerOfMass()
Compute and return center of mass expressed in base frame.
Definition RobotModelKDL.cpp:468
-
void recursiveCOM(const KDL::SegmentMap::const_iterator &currentSegment, const KDL::Frame &frame, double &mass, KDL::Vector &cog)
Definition RobotModelKDL.cpp:421
-
virtual const base::MatrixXd & bodyJacobian(const std::string &root_frame, const std::string &tip_frame)
Returns the Body Jacobian for the kinematic chain between root and the tip frame as full body Jacobia...
Definition RobotModelKDL.cpp:267
-
std::map< std::string, int > joint_idx_map_kdl
Definition RobotModelKDL.hpp:33
-
KDL::JntArray qd
Definition RobotModelKDL.hpp:28
-
virtual bool configure(const RobotModelConfig &cfg)
Load and configure the robot model. In this implementation, each model config constains a URDF file t...
Definition RobotModelKDL.cpp:29
-
virtual const base::samples::RigidBodyStateSE3 & rigidBodyState(const std::string &root_frame, const std::string &tip_frame)
Computes and returns the relative transform between the two given frames. By convention this is the p...
Definition RobotModelKDL.cpp:220
-
virtual void computeInverseDynamics(base::commands::Joints &solver_output)
Compute and return the inverse dynamics solution.
Definition RobotModelKDL.cpp:491
-
virtual const base::MatrixXd & spaceJacobianFromTree(const KDL::Tree &tree, const std::string &root_frame, const std::string &tip_frame)
Returns the Space Jacobian for the kinematic chain between root and the tip frame as full body Jacobi...
Definition RobotModelKDL.cpp:243
-
base::VectorXd tmp_acc
Definition RobotModelKDL.hpp:30
-
static RobotModelRegistry< RobotModelKDL > reg
Definition RobotModelKDL.hpp:23
-
KDL::JntArray zero
Definition RobotModelKDL.hpp:28
-
std::map< std::string, KinematicChainKDLPtr > KinematicChainKDLMap
Definition RobotModelKDL.hpp:26
-
virtual const base::MatrixXd & jacobianDot(const std::string &root_frame, const std::string &tip_frame)
Returns the derivative of the Jacobian for the kinematic chain between root and the tip frame as full...
Definition RobotModelKDL.cpp:340
-
virtual const base::MatrixXd & comJacobian()
Returns the CoM Jacobian for the entire robot, which maps the robot joint velocities to linear spatia...
Definition RobotModelKDL.cpp:292
-
std::shared_ptr< KinematicChainKDL > KinematicChainKDLPtr
Definition RobotModelKDL.hpp:25
-
RobotModelKDL()
Definition RobotModelKDL.cpp:15
-
KDL::JntArray q
Definition RobotModelKDL.hpp:28
-
KDL::Tree getTree()
Definition RobotModelKDL.hpp:160
-
base::VectorXd qdot_tmp
Definition RobotModelKDL.hpp:29
-
virtual const base::VectorXd & biasForces()
Definition RobotModelKDL.cpp:374
-
KDL::JntArray tau
Definition RobotModelKDL.hpp:28
-
Interface for all robot models. This has to provide all kinematics and dynamics information that is r...
Definition RobotModel.hpp:22
-
base::samples::RigidBodyStateSE3 floating_base_state
Definition RobotModel.hpp:31
-
base::samples::Joints joint_state
Definition RobotModel.hpp:42
-
Definition ContactsAccelerationConstraint.cpp:3
-
Robot Model configuration class.
Definition RobotModelConfig.hpp:40
-
Definition RobotModel.hpp:239
-
- - -
- - diff --git a/annotated.html b/annotated.html index 88b64e3c..c5a21326 100644 --- a/annotated.html +++ b/annotated.html @@ -100,45 +100,43 @@  CJointTorquePIDController  CJointVelocityTaskImplementation of a Joint velocity task  CJointWeights - CKinematicChainKDLHelper class for storing information of a KDL chain in the robot model - COsqpSolver - CPIDControllerImplements an n-dimensional PID controller - CPIDCtrlParams - CPlanarPotentialFieldPlanar Potential field. The gradient will be constant on planes parallel to the plane defined by x0 (origin) and n (surface normal) - CPluginLoader - CPosPDControllerImplements the following two control scemes - CPotentialFieldBase class for potential fields - CPotentialFieldInfo - CPotentialFieldsControllerBase class for potential field controllers - CProxQPSolverWrapper for the qp-solver prox-qp (see https://github.com/Simple-Robotics/proxsuite). It solves problems of shape: - CQPOASESSolverWrapper for the qp-solver qpoases (see https://www.coin-or.org/qpOASES/doc/3.0/manual.pdf). It solves problems of shape: - CQPSolver - CQPSolverConfig - CQPSolverFactory - CQPSolverRegistry - CQPSwiftSolver - CQuadraticProgramDescribes a quadratic program of the form - CRadialPotentialFieldRadial Potential field. The computed gradient will be constant on volumnes with constant radius around the center of the potential field: - CRigidbodyDynamicsConstraintAbstract class to represent a generic hard constraint for a WBC optimization problem - CRobotModelInterface for all robot models. This has to provide all kinematics and dynamics information that is required for WBC - CRobotModelConfigRobot Model configuration class - CRobotModelFactory - CRobotModelHyrodyn - CRobotModelKDLThis model describes the kinemetic relationships required for velocity based wbc. It is based on a single KDL Tree. However, multiple KDL trees can be added and will be appropriately concatenated. This way you can describe e.g. geometric robot-object relationships or create multi-robot scenarios - CRobotModelPinocchio - CRobotModelRBDL - CRobotModelRegistry - CSceneBase class for all wbc scenes - CSceneConfig - CSceneFactory - CSceneRegistry - CTaskAbstract class to represent a generic task for a WBC optimization problem - CTaskConfigDefines a task in the whole body control problem. Valid Configurations are e.g - CTasksStatus - CTaskStatus - CURDFTools - CVelocitySceneVelocity-based implementation of the WBC Scene. It sets up and solves the following problem: - CVelocitySceneQPVelocity-based implementation of the WBC Scene. It sets up and solves the following problem: + COsqpSolver + CPIDControllerImplements an n-dimensional PID controller + CPIDCtrlParams + CPlanarPotentialFieldPlanar Potential field. The gradient will be constant on planes parallel to the plane defined by x0 (origin) and n (surface normal) + CPluginLoader + CPosPDControllerImplements the following two control scemes + CPotentialFieldBase class for potential fields + CPotentialFieldInfo + CPotentialFieldsControllerBase class for potential field controllers + CProxQPSolverWrapper for the qp-solver prox-qp (see https://github.com/Simple-Robotics/proxsuite). It solves problems of shape: + CQPOASESSolverWrapper for the qp-solver qpoases (see https://www.coin-or.org/qpOASES/doc/3.0/manual.pdf). It solves problems of shape: + CQPSolver + CQPSolverConfig + CQPSolverFactory + CQPSolverRegistry + CQPSwiftSolver + CQuadraticProgramDescribes a quadratic program of the form + CRadialPotentialFieldRadial Potential field. The computed gradient will be constant on volumnes with constant radius around the center of the potential field: + CRigidbodyDynamicsConstraintAbstract class to represent a generic hard constraint for a WBC optimization problem + CRobotModelInterface for all robot models. This has to provide all kinematics and dynamics information that is required for WBC + CRobotModelConfigRobot Model configuration class + CRobotModelFactory + CRobotModelHyrodyn + CRobotModelPinocchio + CRobotModelRBDL + CRobotModelRegistry + CSceneBase class for all wbc scenes + CSceneConfig + CSceneFactory + CSceneRegistry + CTaskAbstract class to represent a generic task for a WBC optimization problem + CTaskConfigDefines a task in the whole body control problem. Valid Configurations are e.g + CTasksStatus + CTaskStatus + CURDFTools + CVelocitySceneVelocity-based implementation of the WBC Scene. It sets up and solves the following problem: + CVelocitySceneQPVelocity-based implementation of the WBC Scene. It sets up and solves the following problem: diff --git a/classes.html b/classes.html index 97823fd9..e1a3e84c 100644 --- a/classes.html +++ b/classes.html @@ -63,7 +63,7 @@
Class Index
-
A | C | E | H | J | K | O | P | Q | R | S | T | U | V
+
A | C | E | H | J | O | P | Q | R | S | T | U | V
diff --git a/classwbc_1_1KinematicChainKDL-members.html b/classwbc_1_1KinematicChainKDL-members.html deleted file mode 100644 index c41fa84f..00000000 --- a/classwbc_1_1KinematicChainKDL-members.html +++ /dev/null @@ -1,110 +0,0 @@ - - - - - - - -wbc: Member List - - - - - - - - - - - -
-
- - - - - - -
-
wbc -
-
-
- - - - - - - - - -
-
-
-
wbc::KinematicChainKDL Member List
-
- - - -
- - diff --git a/classwbc_1_1KinematicChainKDL.html b/classwbc_1_1KinematicChainKDL.html deleted file mode 100644 index bf607e3a..00000000 --- a/classwbc_1_1KinematicChainKDL.html +++ /dev/null @@ -1,665 +0,0 @@ - - - - - - - -wbc: wbc::KinematicChainKDL Class Reference - - - - - - - - - - - -
-
- - - - - - -
-
wbc -
-
-
- - - - - - - - - -
-
-
- -
wbc::KinematicChainKDL Class Reference
-
-
- -

Helper class for storing information of a KDL chain in the robot model. - More...

- -

#include <KinematicChainKDL.hpp>

- - - - - - - - - - - - - - - - - -

-Public Member Functions

 KinematicChainKDL (const KDL::Chain &chain, const std::string &root_frame, const std::string &tip_frame)
 
void update (const KDL::JntArray &q, const KDL::JntArray &qd, const KDL::JntArray &qdd, std::map< std::string, int > joint_idx_map)
 Update all joints of the kinematic chain.
 
const base::samples::RigidBodyStateSE3 & rigidBodyState ()
 
void calculateForwardKinematics ()
 
void calculateSpaceJacobian ()
 
void calculateBodyJacobian ()
 
void calculateJacobianDot ()
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Attributes

KDL::Frame pose_kdl
 
KDL::FrameVel frame_vel
 
KDL::Twist twist_kdl
 
base::Vector6d acc
 
KDL::Chain chain
 
KDL::JntArrayVel jnt_array_vel
 
KDL::JntArrayAcc jnt_array_acc
 
KDL::Jacobian space_jacobian
 
KDL::Jacobian body_jacobian
 
KDL::Jacobian jacobian_dot
 
std::vector< std::string > joint_names
 
std::string root_frame
 
std::string tip_frame
 
base::Time stamp
 
bool has_acceleration
 
bool space_jacobian_is_up_to_date
 
bool body_jacobian_is_up_to_date
 
bool jac_dot_is_up_to_date
 
bool fk_is_up_to_date
 
std::shared_ptr< KDL::ChainJntToJacSolver > jac_solver
 
std::shared_ptr< KDL::ChainFkSolverVel_recursive > fk_solver_vel
 
std::shared_ptr< KDL::ChainJntToJacDotSolver > jac_dot_solver
 
- - - -

-Protected Attributes

base::samples::RigidBodyStateSE3 cartesian_state
 
-

Detailed Description

-

Helper class for storing information of a KDL chain in the robot model.

-

Constructor & Destructor Documentation

- -

◆ KinematicChainKDL()

- -
-
- - - - - - - - - - - - - - - - -
wbc::KinematicChainKDL::KinematicChainKDL (const KDL::Chain & chain,
const std::string & root_frame,
const std::string & tip_frame )
-
- -
-
-

Member Function Documentation

- -

◆ calculateBodyJacobian()

- -
-
- - - - - - - -
void wbc::KinematicChainKDL::calculateBodyJacobian ()
-
-

Compute body Jacobian using the current joint state. Note: This will call calculateSpaceJacobian() if space_jacobian is not up to date

- -
-
- -

◆ calculateForwardKinematics()

- -
-
- - - - - - - -
void wbc::KinematicChainKDL::calculateForwardKinematics ()
-
-

Compute FK (pose, twist,spatial acc) for the chain using the current joint state. Note: This will call calculateSpaceJacobian() and calculateJacobianDot() if space_jacobian and jacobian_dot are not up to date

- -
-
- -

◆ calculateJacobianDot()

- -
-
- - - - - - - -
void wbc::KinematicChainKDL::calculateJacobianDot ()
-
-

Compute derivative of space Jacobian (hybrid representation) using the current joint state

- -
-
- -

◆ calculateSpaceJacobian()

- -
-
- - - - - - - -
void wbc::KinematicChainKDL::calculateSpaceJacobian ()
-
-

Compute space Jacobian using the current joint state

- -
-
- -

◆ rigidBodyState()

- -
-
- - - - - - - -
const base::samples::RigidBodyStateSE3 & wbc::KinematicChainKDL::rigidBodyState ()
-
-

Convert and return current Cartesian state

- -
-
- -

◆ update()

- -
-
- - - - - - - - - - - - - - - - - - - - - -
void wbc::KinematicChainKDL::update (const KDL::JntArray & q,
const KDL::JntArray & qd,
const KDL::JntArray & qdd,
std::map< std::string, int > joint_idx_map )
-
- -

Update all joints of the kinematic chain.

-
Parameters
- - -
joint_stateHas to contain at least all joints that are included in the kinematic chain. Each entry has to have a valid position, velocity and acceleration
-
-
- -
-
-

Member Data Documentation

- -

◆ acc

- -
-
- - - - -
base::Vector6d wbc::KinematicChainKDL::acc
-
-

KDL Pose of the tip segment in root coordinate of the chain

- -
-
- -

◆ body_jacobian

- -
-
- - - - -
KDL::Jacobian wbc::KinematicChainKDL::body_jacobian
-
-

Space Jacobian of the Chain. Reference frame is root & reference point is tip

- -
-
- -

◆ body_jacobian_is_up_to_date

- -
-
- - - - -
bool wbc::KinematicChainKDL::body_jacobian_is_up_to_date
-
- -
-
- -

◆ cartesian_state

- -
-
- - - - - -
- - - - -
base::samples::RigidBodyStateSE3 wbc::KinematicChainKDL::cartesian_state
-
-protected
-
- -
-
- -

◆ chain

- -
-
- - - - -
KDL::Chain wbc::KinematicChainKDL::chain
-
-

Helper to store current frame acceleration

- -
-
- -

◆ fk_is_up_to_date

- -
-
- - - - -
bool wbc::KinematicChainKDL::fk_is_up_to_date
-
- -
-
- -

◆ fk_solver_vel

- -
-
- - - - -
std::shared_ptr<KDL::ChainFkSolverVel_recursive> wbc::KinematicChainKDL::fk_solver_vel
-
- -
-
- -

◆ frame_vel

- -
-
- - - - -
KDL::FrameVel wbc::KinematicChainKDL::frame_vel
-
-

KDL Pose of the tip segment in root coordinate of the chain

- -
-
- -

◆ has_acceleration

- -
-
- - - - -
bool wbc::KinematicChainKDL::has_acceleration
-
- -
-
- -

◆ jac_dot_is_up_to_date

- -
-
- - - - -
bool wbc::KinematicChainKDL::jac_dot_is_up_to_date
-
- -
-
- -

◆ jac_dot_solver

- -
-
- - - - -
std::shared_ptr<KDL::ChainJntToJacDotSolver> wbc::KinematicChainKDL::jac_dot_solver
-
- -
-
- -

◆ jac_solver

- -
-
- - - - -
std::shared_ptr<KDL::ChainJntToJacSolver> wbc::KinematicChainKDL::jac_solver
-
- -
-
- -

◆ jacobian_dot

- -
-
- - - - -
KDL::Jacobian wbc::KinematicChainKDL::jacobian_dot
-
-

Body Jacobian of the Chain. Reference frame is root & reference point is tip

- -
-
- -

◆ jnt_array_acc

- -
-
- - - - -
KDL::JntArrayAcc wbc::KinematicChainKDL::jnt_array_acc
-
-

Vector of positions and velocities of all included joints

- -
-
- -

◆ jnt_array_vel

- -
-
- - - - -
KDL::JntArrayVel wbc::KinematicChainKDL::jnt_array_vel
-
-

The underlying KDL chain

- -
-
- -

◆ joint_names

- -
-
- - - - -
std::vector<std::string> wbc::KinematicChainKDL::joint_names
-
-

Derivative of Jacobian of the Chain. Reference frame & reference point is the root frame

- -
-
- -

◆ pose_kdl

- -
-
- - - - -
KDL::Frame wbc::KinematicChainKDL::pose_kdl
-
- -
-
- -

◆ root_frame

- -
-
- - - - -
std::string wbc::KinematicChainKDL::root_frame
-
-

Names of the joint included in the kinematic chain

- -
-
- -

◆ space_jacobian

- -
-
- - - - -
KDL::Jacobian wbc::KinematicChainKDL::space_jacobian
-
-

Vector of positions, velocities and accelerations of all included joints

- -
-
- -

◆ space_jacobian_is_up_to_date

- -
-
- - - - -
bool wbc::KinematicChainKDL::space_jacobian_is_up_to_date
-
- -
-
- -

◆ stamp

- -
-
- - - - -
base::Time wbc::KinematicChainKDL::stamp
-
-

UID of the kinematics chain tip link

- -
-
- -

◆ tip_frame

- -
-
- - - - -
std::string wbc::KinematicChainKDL::tip_frame
-
-

UID of the kinematics chain root link

- -
-
- -

◆ twist_kdl

- -
-
- - - - -
KDL::Twist wbc::KinematicChainKDL::twist_kdl
-
-

Helper for the velocity fk

- -
-
-
The documentation for this class was generated from the following files: -
- - -
- - diff --git a/classwbc_1_1RobotModel.html b/classwbc_1_1RobotModel.html index bee4588e..9536ab92 100644 --- a/classwbc_1_1RobotModel.html +++ b/classwbc_1_1RobotModel.html @@ -85,9 +85,8 @@ wbc::RobotModelHyrodyn -wbc::RobotModelKDL -wbc::RobotModelPinocchio -wbc::RobotModelRBDL +wbc::RobotModelPinocchio +wbc::RobotModelRBDL
@@ -415,7 +414,7 @@

wbc::RobotModelHyrodyn, wbc::RobotModelKDL, wbc::RobotModelPinocchio, and wbc::RobotModelRBDL.

+

Implemented in wbc::RobotModelHyrodyn, wbc::RobotModelPinocchio, and wbc::RobotModelRBDL.

@@ -456,7 +455,7 @@

Returns
A 6xN matrix, where N is the number of robot joints
-

Implemented in wbc::RobotModelHyrodyn, wbc::RobotModelKDL, wbc::RobotModelPinocchio, and wbc::RobotModelRBDL.

+

Implemented in wbc::RobotModelHyrodyn, wbc::RobotModelPinocchio, and wbc::RobotModelRBDL.

@@ -485,7 +484,7 @@

wbc::RobotModelHyrodyn, wbc::RobotModelKDL, wbc::RobotModelPinocchio, and wbc::RobotModelRBDL.

+

Implemented in wbc::RobotModelHyrodyn, wbc::RobotModelPinocchio, and wbc::RobotModelRBDL.

@@ -570,7 +569,7 @@

Returns
A 3xN matrix, where N is the number of robot joints
-

Implemented in wbc::RobotModelHyrodyn, wbc::RobotModelKDL, wbc::RobotModelPinocchio, and wbc::RobotModelRBDL.

+

Implemented in wbc::RobotModelHyrodyn, wbc::RobotModelPinocchio, and wbc::RobotModelRBDL.

@@ -599,7 +598,7 @@

wbc::RobotModelHyrodyn, wbc::RobotModelKDL, wbc::RobotModelPinocchio, and wbc::RobotModelRBDL.

+

Implemented in wbc::RobotModelHyrodyn, wbc::RobotModelPinocchio, and wbc::RobotModelRBDL.

@@ -635,7 +634,7 @@

Returns
True in case of success, else false
-

Implemented in wbc::RobotModelHyrodyn, wbc::RobotModelKDL, wbc::RobotModelPinocchio, and wbc::RobotModelRBDL.

+

Implemented in wbc::RobotModelHyrodyn, wbc::RobotModelPinocchio, and wbc::RobotModelRBDL.

@@ -868,7 +867,7 @@

Returns
A 6xN matrix, where N is the number of robot joints
-

Implemented in wbc::RobotModelHyrodyn, wbc::RobotModelKDL, wbc::RobotModelPinocchio, and wbc::RobotModelRBDL.

+

Implemented in wbc::RobotModelHyrodyn, wbc::RobotModelPinocchio, and wbc::RobotModelRBDL.

@@ -970,7 +969,7 @@

wbc::RobotModelHyrodyn, wbc::RobotModelKDL, wbc::RobotModelPinocchio, and wbc::RobotModelRBDL.

+

Implemented in wbc::RobotModelHyrodyn, wbc::RobotModelPinocchio, and wbc::RobotModelRBDL.

@@ -1093,7 +1092,7 @@

Returns the pose, twist and spatial acceleration between the two given frames. All quantities are defined in root_frame coordinates

-

Implemented in wbc::RobotModelHyrodyn, wbc::RobotModelKDL, wbc::RobotModelPinocchio, and wbc::RobotModelRBDL.

+

Implemented in wbc::RobotModelHyrodyn, wbc::RobotModelPinocchio, and wbc::RobotModelRBDL.

@@ -1234,7 +1233,7 @@

Returns
A 6xN matrix, where N is the number of robot joints
-

Implemented in wbc::RobotModelHyrodyn, wbc::RobotModelKDL, wbc::RobotModelPinocchio, and wbc::RobotModelRBDL.

+

Implemented in wbc::RobotModelHyrodyn, wbc::RobotModelPinocchio, and wbc::RobotModelRBDL.

@@ -1275,7 +1274,7 @@

Returns
A Nx1 vector, where N is the number of robot joints
-

Implemented in wbc::RobotModelHyrodyn, wbc::RobotModelKDL, wbc::RobotModelPinocchio, and wbc::RobotModelRBDL.

+

Implemented in wbc::RobotModelHyrodyn, wbc::RobotModelPinocchio, and wbc::RobotModelRBDL.

@@ -1312,7 +1311,7 @@

Return entire system state

-

Implemented in wbc::RobotModelHyrodyn, wbc::RobotModelKDL, wbc::RobotModelPinocchio, and wbc::RobotModelRBDL.

+

Implemented in wbc::RobotModelHyrodyn, wbc::RobotModelPinocchio, and wbc::RobotModelRBDL.

@@ -1352,7 +1351,7 @@

wbc::RobotModelHyrodyn, wbc::RobotModelKDL, wbc::RobotModelPinocchio, and wbc::RobotModelRBDL.

+

Implemented in wbc::RobotModelHyrodyn, wbc::RobotModelPinocchio, and wbc::RobotModelRBDL.

diff --git a/classwbc_1_1RobotModel.png b/classwbc_1_1RobotModel.png index cd379e67bd5df6bd39ef9e82e699af0e8a55160e..9de55cfca4493fc42f423e3b42b3f0853d87f3b5 100644 GIT binary patch delta 1098 zcmdnM^@BsPGr-TCmrII^fq{Y7)59f*fq@CgWC-A329gomZN(-k+SfCCx;TbZFutAp zaMLa=8Q1BzCELH(Kbl={?0E5uoQCwblchQ?w?0On2yc*I^m^C3cMK8@TqTMv1^GG* z4!S^mID(;}Z6nZzWJU(5XI%_C_uc)m{rc07nRz#2EF_Fu1mwjS7Kqi0Jy>{(XjUjMX))4)_M_E`N!hV#FVU3<|c;AC-xiQ&qlNeq{j|K8kC z(;>Y*Hm&l}u_wVCiZY3e3|WQC7z#IDH?3at__~+hZW)dZ<`Eow<5ODgT1o8?HC!+iN7!!j@4=Y2) zjCHSf?PgA3sB2<8z_11A)r{$h8yFeR0*$!!G_YQp;er-WduB`>Jjm*$V0tCE87>&0 z8SX0CmS}L;fJc;JhxPug%jSqJ(3lt0U5eE=0E;j-#7bGRN#E)H|@ReJ*(%6EGYYQwetP)IpPVQ zLs#dV|8&o>!71>5Nd5Zb@hlqCYijN46%X85EggTk_M*8iv+Z=ZE2)3P(`V0>c8|)7 zVCmSe`S#DNnSYL*ol>XvswA$~xu`0xo2^RyfcoTo_1H;aPgrNv@4DjZerdTCgu1_xBk~~Sh-@p_yV6# z;WJMAH@w_B`|X82cXLjLxXrGAw|$>Xz4ih1Mb`u$FrWPYTx`R=*^`a-+@H7U{Nl6U zw&)-D+*#_?aNfmM$F1(ncBUGY%4apc4J#!cH>-X=GmpDowA}Nxnd!c$$9GMnGU{fR zoMW>ST99_7uEt{wz(1Az?Dqd$gFoje@mB@|AX{ZgD5&}pFf{cPi&?J=>qG>xo#Ua!L zSY46|RIcN@+xhg7Bf$5&;1dAj6rG6w)uPKRR~$ukVj{_ubvuefHU%_gXkM z#MIc@7ytlM%<(`R0O*0R9==l_zLkzUD6p^zKM@h6)oNjNeqo(jAg*$EaZ0x=el#zW z$zVHrD3S~Nj3_wlmjL|!>$vHaKLvpIM3}&15gCZZTd$Z+p1Tdo1I&t4SEp)`{&aeS z+jK~ZGzDdyld-pa21S1(1Vvtep-ei;D;()+1c9H0dY1Iy1`sg3gQ!E&5$6DfaXerx z%L94Omp0o7D;cT}C)n;Khk1oZ`AB+oh2jP+j7ZwwF*0t}3&g%|J}AwzC>R(VKGBVV zAX&xCCJLfp&;o+WY_A zcdw2P!++302Ngn*emr2}hc^UZxs*>eZ~;_jEf-+2+I@5+yx`>WH*|8J4r^I&(>p2t zX7pc~-!UI>F}WX~bJ}v-8@OD>&+bn~B)~B67h~v_bx1!v+uY7jVH|E&W$mU0_ey zMSMNfBtMf@$*N~$l3sU$D|U~CKIsYih`K%h3r(p#-(v)Q=q2t(*3FJf&ZT0`7}{mC;DNH1p%FdCGrR9^ zPepi={RtSMk#69B*bwWVr6BB`b}F1Pxv_#Vz2msuy5T3lHbdBkZv@^hN)&*}>l23J z@SoD(Zj8AfGvOQ->Q-vXSuFykW_#8>by7t$(IR?+*HCp - - - - - - -wbc: Member List - - - - - - - - - - - -
-
-

- - - - - -
-
wbc -
-
- - - - - - - - - - - -
-
-
wbc::RobotModelKDL Member List
-
-
- -

This is the complete list of members for wbc::RobotModelKDL, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
active_contactswbc::RobotModelprotected
actuated_joint_nameswbc::RobotModelprotected
actuatedJointNames()wbc::RobotModelinline
base_framewbc::RobotModelprotected
baseFrame()wbc::RobotModelinline
bias_forceswbc::RobotModelprotected
biasForces()wbc::RobotModelKDLvirtual
body_jac_mapwbc::RobotModelprotected
bodyJacobian(const std::string &root_frame, const std::string &tip_frame)wbc::RobotModelKDLvirtual
centerOfMass()wbc::RobotModelKDLvirtual
chainID(const std::string &root, const std::string &tip)wbc::RobotModelinlineprotected
clear()wbc::RobotModelKDLprotected
com_jacwbc::RobotModelprotected
com_rbswbc::RobotModelprotected
comJacobian()wbc::RobotModelKDLvirtual
computeInverseDynamics(base::commands::Joints &solver_output)wbc::RobotModelKDLvirtual
configure(const RobotModelConfig &cfg)wbc::RobotModelKDLvirtual
contact_wrencheswbc::RobotModelprotected
createChain(const std::string &root_frame, const std::string &tip_frame)wbc::RobotModelKDLprotected
createChain(const KDL::Tree &tree, const std::string &root_frame, const std::string &tip_frame)wbc::RobotModelKDLprotected
floating_base_statewbc::RobotModelprotected
floatingBaseState()wbc::RobotModelinline
full_treewbc::RobotModelKDLprotected
getActiveContacts()wbc::RobotModelinline
getRobotModelConfig()wbc::RobotModelinline
getTree()wbc::RobotModelKDLinline
gravitywbc::RobotModelprotected
has_floating_basewbc::RobotModelprotected
hasActuatedJoint(const std::string &joint_name)wbc::RobotModel
hasFloatingBase()wbc::RobotModelinline
hasJoint(const std::string &joint_name)wbc::RobotModel
hasLink(const std::string &link_name)wbc::RobotModel
independent_joint_nameswbc::RobotModelprotected
independentJointNames()wbc::RobotModelinline
jac_dot_mapwbc::RobotModelprotected
jacobianDot(const std::string &root_frame, const std::string &tip_frame)wbc::RobotModelKDLvirtual
JacobianMap typedefwbc::RobotModelprotected
joint_idx_map_kdlwbc::RobotModelKDLprotected
joint_limitswbc::RobotModelprotected
joint_nameswbc::RobotModelprotected
joint_names_floating_basewbc::RobotModelprotected
joint_space_inertia_matwbc::RobotModelprotected
joint_statewbc::RobotModelprotected
joint_state_outwbc::RobotModelprotected
jointIndex(const std::string &joint_name)wbc::RobotModel
jointLimits()wbc::RobotModelinline
jointNames()wbc::RobotModelinline
jointSpaceInertiaMatrix()wbc::RobotModelKDLvirtual
jointState(const std::vector< std::string > &joint_names)wbc::RobotModel
kdl_chain_mapwbc::RobotModelKDLprotected
KinematicChainKDLMap typedefwbc::RobotModelKDLprotected
KinematicChainKDLPtr typedefwbc::RobotModelKDLprotected
loadRobotURDF(const std::string &file_or_string)wbc::RobotModel
noOfActuatedJoints()wbc::RobotModelinline
noOfJoints()wbc::RobotModelinline
qwbc::RobotModelKDLprotected
qdwbc::RobotModelKDLprotected
qddwbc::RobotModelKDLprotected
qdot_tmpwbc::RobotModelKDLprotected
rbswbc::RobotModelprotected
recursiveCOM(const KDL::SegmentMap::const_iterator &currentSegment, const KDL::Frame &frame, double &mass, KDL::Vector &cog)wbc::RobotModelKDLprotected
regwbc::RobotModelKDLprotectedstatic
rigidBodyState(const std::string &root_frame, const std::string &tip_frame)wbc::RobotModelKDLvirtual
robot_model_configwbc::RobotModelprotected
robot_urdfwbc::RobotModelprotected
RobotModel()wbc::RobotModel
RobotModelKDL()wbc::RobotModelKDL
selection_matrixwbc::RobotModelprotected
selectionMatrix()wbc::RobotModelinline
setActiveContacts(const ActiveContacts &contacts)wbc::RobotModel
setContactWrenches(const base::samples::Wrenches &wrenches)wbc::RobotModelinline
setGravityVector(const base::Vector3d &g)wbc::RobotModelinline
space_jac_mapwbc::RobotModelprotected
spaceJacobian(const std::string &root_frame, const std::string &tip_frame)wbc::RobotModelKDLvirtual
spaceJacobianFromTree(const KDL::Tree &tree, const std::string &root_frame, const std::string &tip_frame)wbc::RobotModelKDLprotectedvirtual
spatial_acc_biaswbc::RobotModelprotected
spatialAccelerationBias(const std::string &root_frame, const std::string &tip_frame)wbc::RobotModelKDLvirtual
systemState(base::VectorXd &q, base::VectorXd &qd, base::VectorXd &qdd)wbc::RobotModelKDLvirtual
tauwbc::RobotModelKDLprotected
tmp_accwbc::RobotModelKDLprotected
update(const base::samples::Joints &joint_state, const base::samples::RigidBodyStateSE3 &floating_base_state=base::samples::RigidBodyStateSE3())wbc::RobotModelKDLvirtual
world_framewbc::RobotModelprotected
worldFrame()wbc::RobotModelinline
zerowbc::RobotModelKDLprotected
~RobotModel()wbc::RobotModelinlinevirtual
~RobotModelKDL()wbc::RobotModelKDLvirtual
- - -
- - diff --git a/classwbc_1_1RobotModelKDL.html b/classwbc_1_1RobotModelKDL.html deleted file mode 100644 index 667d5e2b..00000000 --- a/classwbc_1_1RobotModelKDL.html +++ /dev/null @@ -1,1349 +0,0 @@ - - - - - - - -wbc: wbc::RobotModelKDL Class Reference - - - - - - - - - - - -
-
- - - - - - -
-
wbc -
-
-
- - - - - - - - - -
-
- -
- -

This model describes the kinemetic relationships required for velocity based wbc. It is based on a single KDL Tree. However, multiple KDL trees can be added and will be appropriately concatenated. This way you can describe e.g. geometric robot-object relationships or create multi-robot scenarios. - More...

- -

#include <RobotModelKDL.hpp>

-
-Inheritance diagram for wbc::RobotModelKDL:
-
-
- - -wbc::RobotModel - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 RobotModelKDL ()
 
virtual ~RobotModelKDL ()
 
virtual bool configure (const RobotModelConfig &cfg)
 Load and configure the robot model. In this implementation, each model config constains a URDF file that will be parsed into a KDL tree. If the overall model is empty, the overall KDL::Tree will be replaced by the given tree. If there is already a KDL Tree, the new tree will be attached with the given pose to the 'hook' frame of the overall tree. The relative poses of the trees can be updated online by calling update() with poses parameter appropriately set.
 
virtual void update (const base::samples::Joints &joint_state, const base::samples::RigidBodyStateSE3 &floating_base_state=base::samples::RigidBodyStateSE3())
 Update the robot model. The joint state has to contain all joints that are relevant in the model. This means: All joints that are ever required when requesting rigid body states, Jacobians or joint states. Note that.
 
virtual void systemState (base::VectorXd &q, base::VectorXd &qd, base::VectorXd &qdd)
 
virtual const base::samples::RigidBodyStateSE3 & rigidBodyState (const std::string &root_frame, const std::string &tip_frame)
 Computes and returns the relative transform between the two given frames. By convention this is the pose of the tip frame in root coordinates. This will create a kinematic chain between root and tip frame, if called for the first time with the given arguments.
 
virtual const base::MatrixXd & spaceJacobian (const std::string &root_frame, const std::string &tip_frame)
 Returns the Space Jacobian for the kinematic chain between root and the tip frame as full body Jacobian. Size of the Jacobian will be 6 x nJoints, where nJoints is the number of joints of the whole robot. The order of the columns will be the same as the joint order of the robot. The columns that correspond to joints that are not part of the kinematic chain will have only zeros as entries.
 
virtual const base::MatrixXd & bodyJacobian (const std::string &root_frame, const std::string &tip_frame)
 Returns the Body Jacobian for the kinematic chain between root and the tip frame as full body Jacobian. Size of the Jacobian will be 6 x nJoints, where nJoints is the number of joints of the whole robot. The order of the columns will be the same as the joint order of the robot. The columns that correspond to joints that are not part of the kinematic chain will have only zeros as entries.
 
virtual const base::MatrixXd & comJacobian ()
 Returns the CoM Jacobian for the entire robot, which maps the robot joint velocities to linear spatial velocities in robot base coordinates. Size of the Jacobian will be 3 x nJoints, where nJoints is the number of joints of the whole robot. The order of the columns will be the same as the configured joint order of the robot.
 
virtual const base::MatrixXd & jacobianDot (const std::string &root_frame, const std::string &tip_frame)
 Returns the derivative of the Jacobian for the kinematic chain between root and the tip frame as full body Jacobian. By convention reference frame & reference point of the Jacobian will be the root frame (corresponding to the body Jacobian). Size of the Jacobian will be 6 x nJoints, where nJoints is the number of joints of the whole robot. The order of the columns will be the same as the joint order of the robot. The columns that correspond to joints that are not part of the kinematic chain will have only zeros as entries.
 
virtual const base::Acceleration & spatialAccelerationBias (const std::string &root_frame, const std::string &tip_frame)
 Returns the spatial acceleration bias, i.e. the term Jdot*qdot.
 
virtual const base::MatrixXd & jointSpaceInertiaMatrix ()
 
virtual const base::VectorXd & biasForces ()
 
KDL::Tree getTree ()
 
virtual const base::samples::RigidBodyStateSE3 & centerOfMass ()
 Compute and return center of mass expressed in base frame.
 
virtual void computeInverseDynamics (base::commands::Joints &solver_output)
 Compute and return the inverse dynamics solution.
 
- Public Member Functions inherited from wbc::RobotModel
 RobotModel ()
 
virtual ~RobotModel ()
 
const base::samples::Joints & jointState (const std::vector< std::string > &joint_names)
 
const std::vector< std::string > & jointNames ()
 Return all joint names.
 
const std::vector< std::string > & actuatedJointNames ()
 Return only actuated joint names.
 
const std::vector< std::string > & independentJointNames ()
 Return only independent joint names.
 
uint jointIndex (const std::string &joint_name)
 Get index of joint name.
 
const std::string & baseFrame ()
 Get the base frame of the robot.
 
const std::string & worldFrame ()
 Get the world frame id.
 
const base::JointLimits & jointLimits ()
 Return current joint limits.
 
bool hasLink (const std::string &link_name)
 Return True if given link name is available in robot model, false otherwise.
 
bool hasJoint (const std::string &joint_name)
 Return True if given joint name is available in robot model, false otherwise.
 
bool hasActuatedJoint (const std::string &joint_name)
 Return True if given joint name is an actuated joint in robot model, false otherwise.
 
const base::MatrixXd & selectionMatrix ()
 Return current selection matrix S that maps complete joint vector to actuated joint vector: q_a = S * q. The matrix consists of only zeros and ones. Size is na x nq, where na is the number of actuated joints and nq the total number of joints.
 
void setActiveContacts (const ActiveContacts &contacts)
 Provide information about which link is currently in contact with the environment.
 
const ActiveContactsgetActiveContacts ()
 Provide links names that are possibly in contact with the environment (typically the end effector links)
 
uint noOfJoints ()
 Return number of joints.
 
uint noOfActuatedJoints ()
 Return number of actuated/active joints.
 
void setGravityVector (const base::Vector3d &g)
 Set the current gravity vector.
 
const base::samples::RigidBodyStateSE3 & floatingBaseState ()
 Get current status of floating base.
 
void setContactWrenches (const base::samples::Wrenches &wrenches)
 Set contact wrenches, names have to consistent with the configured contact points.
 
const RobotModelConfiggetRobotModelConfig ()
 Get current robot model config.
 
bool hasFloatingBase ()
 Is floating base robot?
 
urdf::ModelInterfaceSharedPtr loadRobotURDF (const std::string &file_or_string)
 Load URDF model from either file or string.
 
- - - - - - - - -

-Protected Types

typedef std::shared_ptr< KinematicChainKDLKinematicChainKDLPtr
 
typedef std::map< std::string, KinematicChainKDLPtrKinematicChainKDLMap
 
- Protected Types inherited from wbc::RobotModel
typedef std::map< std::string, base::MatrixXd > JacobianMap
 
- - - - - - - - - - - - - - - - - - - -

-Protected Member Functions

void createChain (const std::string &root_frame, const std::string &tip_frame)
 Create a KDL chain and add it to the KDL Chain map. Throws an exception if chain cannot be extracted from KDL Tree.
 
void createChain (const KDL::Tree &tree, const std::string &root_frame, const std::string &tip_frame)
 Create a KDL chain and add it to the KDL Chain map. Throws an exception if chain cannot be extracted from KDL Tree.
 
void clear ()
 
void recursiveCOM (const KDL::SegmentMap::const_iterator &currentSegment, const KDL::Frame &frame, double &mass, KDL::Vector &cog)
 
virtual const base::MatrixXd & spaceJacobianFromTree (const KDL::Tree &tree, const std::string &root_frame, const std::string &tip_frame)
 Returns the Space Jacobian for the kinematic chain between root and the tip frame as full body Jacobian. Size of the Jacobian will be 6 x nJoints, where nJoints is the number of joints of the whole robot. The order of the columns will be the same as the joint order of the robot. The columns that correspond to joints that are not part of the kinematic chain will have only zeros as entries.
 
- Protected Member Functions inherited from wbc::RobotModel
void clear ()
 
const std::string chainID (const std::string &root, const std::string &tip)
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Protected Attributes

KDL::JntArray q
 
KDL::JntArray qd
 
KDL::JntArray qdd
 
KDL::JntArray tau
 
KDL::JntArray zero
 
base::VectorXd qdot_tmp
 
base::VectorXd tmp_acc
 
KDL::Tree full_tree
 
std::map< std::string, int > joint_idx_map_kdl
 
KinematicChainKDLMap kdl_chain_map
 
- Protected Attributes inherited from wbc::RobotModel
ActiveContacts active_contacts
 
base::Vector3d gravity
 
base::samples::RigidBodyStateSE3 floating_base_state
 
base::samples::Wrenches contact_wrenches
 
RobotModelConfig robot_model_config
 
std::string world_frame
 
std::string base_frame
 
base::JointLimits joint_limits
 
std::vector< std::string > actuated_joint_names
 
std::vector< std::string > independent_joint_names
 
std::vector< std::string > joint_names
 
std::vector< std::string > joint_names_floating_base
 
urdf::ModelInterfaceSharedPtr robot_urdf
 
bool has_floating_base
 
base::samples::Joints joint_state
 
base::MatrixXd joint_space_inertia_mat
 
base::MatrixXd com_jac
 
base::VectorXd bias_forces
 
base::Acceleration spatial_acc_bias
 
base::MatrixXd selection_matrix
 
base::samples::RigidBodyStateSE3 com_rbs
 
base::samples::RigidBodyStateSE3 rbs
 
JacobianMap space_jac_map
 
JacobianMap body_jac_map
 
JacobianMap jac_dot_map
 
base::samples::Joints joint_state_out
 
- - - -

-Static Protected Attributes

static RobotModelRegistry< RobotModelKDLreg
 
-

Detailed Description

-

This model describes the kinemetic relationships required for velocity based wbc. It is based on a single KDL Tree. However, multiple KDL trees can be added and will be appropriately concatenated. This way you can describe e.g. geometric robot-object relationships or create multi-robot scenarios.

-

Member Typedef Documentation

- -

◆ KinematicChainKDLMap

- -
-
- - - - - -
- - - - -
typedef std::map<std::string, KinematicChainKDLPtr> wbc::RobotModelKDL::KinematicChainKDLMap
-
-protected
-
- -
-
- -

◆ KinematicChainKDLPtr

- -
-
- - - - - -
- - - - -
typedef std::shared_ptr<KinematicChainKDL> wbc::RobotModelKDL::KinematicChainKDLPtr
-
-protected
-
- -
-
-

Constructor & Destructor Documentation

- -

◆ RobotModelKDL()

- -
-
- - - - - - - -
wbc::RobotModelKDL::RobotModelKDL ()
-
- -
-
- -

◆ ~RobotModelKDL()

- -
-
- - - - - -
- - - - - - - -
wbc::RobotModelKDL::~RobotModelKDL ()
-
-virtual
-
- -
-
-

Member Function Documentation

- -

◆ biasForces()

- -
-
- - - - - -
- - - - - - - -
const base::VectorXd & wbc::RobotModelKDL::biasForces ()
-
-virtual
-
-

Compute and return the bias force vector, which is nj x 1, where nj is the number of joints of the system

- -

Implements wbc::RobotModel.

- -
-
- -

◆ bodyJacobian()

- -
-
- - - - - -
- - - - - - - - - - - -
const base::MatrixXd & wbc::RobotModelKDL::bodyJacobian (const std::string & root_frame,
const std::string & tip_frame )
-
-virtual
-
- -

Returns the Body Jacobian for the kinematic chain between root and the tip frame as full body Jacobian. Size of the Jacobian will be 6 x nJoints, where nJoints is the number of joints of the whole robot. The order of the columns will be the same as the joint order of the robot. The columns that correspond to joints that are not part of the kinematic chain will have only zeros as entries.

-
Parameters
- - - -
root_frameRoot frame of the chain. Has to be a valid link in the robot model.
tip_frameTip frame of the chain. Has to be a valid link in the robot model.
-
-
- -

Implements wbc::RobotModel.

- -
-
- -

◆ centerOfMass()

- -
-
- - - - - -
- - - - - - - -
const base::samples::RigidBodyStateSE3 & wbc::RobotModelKDL::centerOfMass ()
-
-virtual
-
- -

Compute and return center of mass expressed in base frame.

- -

Implements wbc::RobotModel.

- -
-
- -

◆ clear()

- -
-
- - - - - -
- - - - - - - -
void wbc::RobotModelKDL::clear ()
-
-protected
-
-

Add a KDL Tree to the model. If the model is empty, the overall KDL::Tree will be replaced by the given tree. If there is already a KDL Tree, the new tree will be attached with the given pose to the hook frame of the overall tree. The relative poses of the trees can be updated online by calling update() with poses parameter appropriately set. This will also create the joint index map Free storage and clear data structures

- -
-
- -

◆ comJacobian()

- -
-
- - - - - -
- - - - - - - -
const base::MatrixXd & wbc::RobotModelKDL::comJacobian ()
-
-virtual
-
- -

Returns the CoM Jacobian for the entire robot, which maps the robot joint velocities to linear spatial velocities in robot base coordinates. Size of the Jacobian will be 3 x nJoints, where nJoints is the number of joints of the whole robot. The order of the columns will be the same as the configured joint order of the robot.

-
Returns
A 3xN matrix, where N is the number of robot joints
- -

Implements wbc::RobotModel.

- -
-
- -

◆ computeInverseDynamics()

- -
-
- - - - - -
- - - - - - - -
void wbc::RobotModelKDL::computeInverseDynamics (base::commands::Joints & solver_output)
-
-virtual
-
- -

Compute and return the inverse dynamics solution.

- -

Implements wbc::RobotModel.

- -
-
- -

◆ configure()

- -
-
- - - - - -
- - - - - - - -
bool wbc::RobotModelKDL::configure (const RobotModelConfig & cfg)
-
-virtual
-
- -

Load and configure the robot model. In this implementation, each model config constains a URDF file that will be parsed into a KDL tree. If the overall model is empty, the overall KDL::Tree will be replaced by the given tree. If there is already a KDL Tree, the new tree will be attached with the given pose to the 'hook' frame of the overall tree. The relative poses of the trees can be updated online by calling update() with poses parameter appropriately set.

-
Parameters
- - - -
model_configThe models configuration(s). These include the path to the URDF model file(s), the relative poses and hooks to which the models shall be attached. This way you can add multiple robot model tree and attach them to each other.
base_frameBase frame of the model. If left empty, the base will be selected as the root frame of the first URDF model.
-
-
-
Returns
True in case of success, else false
- -

Implements wbc::RobotModel.

- -
-
- -

◆ createChain() [1/2]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - -
void wbc::RobotModelKDL::createChain (const KDL::Tree & tree,
const std::string & root_frame,
const std::string & tip_frame )
-
-protected
-
- -

Create a KDL chain and add it to the KDL Chain map. Throws an exception if chain cannot be extracted from KDL Tree.

-
Parameters
- - - - -
treetree from which the kinematic chain is extracted
root_frameRoot frame of the chain
tip_frameTip frame of the chain
-
-
- -
-
- -

◆ createChain() [2/2]

- -
-
- - - - - -
- - - - - - - - - - - -
void wbc::RobotModelKDL::createChain (const std::string & root_frame,
const std::string & tip_frame )
-
-protected
-
- -

Create a KDL chain and add it to the KDL Chain map. Throws an exception if chain cannot be extracted from KDL Tree.

-

Map of KDL Chains

Parameters
- - - -
root_frameRoot frame of the chain
tip_frameTip frame of the chain
-
-
- -
-
- -

◆ getTree()

- -
-
- - - - - -
- - - - - - - -
KDL::Tree wbc::RobotModelKDL::getTree ()
-
-inline
-
-

Return full tree (KDL model)

- -
-
- -

◆ jacobianDot()

- -
-
- - - - - -
- - - - - - - - - - - -
const base::MatrixXd & wbc::RobotModelKDL::jacobianDot (const std::string & root_frame,
const std::string & tip_frame )
-
-virtual
-
- -

Returns the derivative of the Jacobian for the kinematic chain between root and the tip frame as full body Jacobian. By convention reference frame & reference point of the Jacobian will be the root frame (corresponding to the body Jacobian). Size of the Jacobian will be 6 x nJoints, where nJoints is the number of joints of the whole robot. The order of the columns will be the same as the joint order of the robot. The columns that correspond to joints that are not part of the kinematic chain will have only zeros as entries.

-
Parameters
- - - -
root_frameRoot frame of the chain. Has to be a valid link in the robot model.
tip_frameTip frame of the chain. Has to be a valid link in the robot model.
-
-
-
Returns
A 6xN Jacobian derivative matrix, where N is the number of robot joints
- -

Implements wbc::RobotModel.

- -
-
- -

◆ jointSpaceInertiaMatrix()

- -
-
- - - - - -
- - - - - - - -
const base::MatrixXd & wbc::RobotModelKDL::jointSpaceInertiaMatrix ()
-
-virtual
-
-

Compute and return the joint space mass-inertia matrix, which is nj x nj, where nj is the number of joints of the system

- -

Implements wbc::RobotModel.

- -
-
- -

◆ recursiveCOM()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - -
void wbc::RobotModelKDL::recursiveCOM (const KDL::SegmentMap::const_iterator & currentSegment,
const KDL::Frame & frame,
double & mass,
KDL::Vector & cog )
-
-protected
-
-

Recursively loops through all the tree segments and compute the COG of the complete tree.

Parameters
- - - -
currentSegementCurrent Segement in the recursive loop
statusCurrent joint state
-
-
- -
-
- -

◆ rigidBodyState()

- -
-
- - - - - -
- - - - - - - - - - - -
const base::samples::RigidBodyStateSE3 & wbc::RobotModelKDL::rigidBodyState (const std::string & root_frame,
const std::string & tip_frame )
-
-virtual
-
- -

Computes and returns the relative transform between the two given frames. By convention this is the pose of the tip frame in root coordinates. This will create a kinematic chain between root and tip frame, if called for the first time with the given arguments.

-
Parameters
- - - -
root_frameRoot frame of the chain. Has to be a valid link in the robot model.
tip_frameTip frame of the chain. Has to be a valid link in the robot model.
-
-
- -

Implements wbc::RobotModel.

- -
-
- -

◆ spaceJacobian()

- -
-
- - - - - -
- - - - - - - - - - - -
const base::MatrixXd & wbc::RobotModelKDL::spaceJacobian (const std::string & root_frame,
const std::string & tip_frame )
-
-virtual
-
- -

Returns the Space Jacobian for the kinematic chain between root and the tip frame as full body Jacobian. Size of the Jacobian will be 6 x nJoints, where nJoints is the number of joints of the whole robot. The order of the columns will be the same as the joint order of the robot. The columns that correspond to joints that are not part of the kinematic chain will have only zeros as entries.

-
Parameters
- - - -
root_frameRoot frame of the chain. Has to be a valid link in the robot model.
tip_frameTip frame of the chain. Has to be a valid link in the robot model.
-
-
- -

Implements wbc::RobotModel.

- -
-
- -

◆ spaceJacobianFromTree()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - -
const base::MatrixXd & wbc::RobotModelKDL::spaceJacobianFromTree (const KDL::Tree & tree,
const std::string & root_frame,
const std::string & tip_frame )
-
-protectedvirtual
-
- -

Returns the Space Jacobian for the kinematic chain between root and the tip frame as full body Jacobian. Size of the Jacobian will be 6 x nJoints, where nJoints is the number of joints of the whole robot. The order of the columns will be the same as the joint order of the robot. The columns that correspond to joints that are not part of the kinematic chain will have only zeros as entries.

-
Parameters
- - - - -
treekinematic tree from which the jacobian is computed.
root_frameRoot frame of the chain. Has to be a valid link in the robot model.
tip_frameTip frame of the chain. Has to be a valid link in the robot model.
-
-
- -
-
- -

◆ spatialAccelerationBias()

- -
-
- - - - - -
- - - - - - - - - - - -
const base::Acceleration & wbc::RobotModelKDL::spatialAccelerationBias (const std::string & root_frame,
const std::string & tip_frame )
-
-virtual
-
- -

Returns the spatial acceleration bias, i.e. the term Jdot*qdot.

-
Parameters
- - - -
root_frameRoot frame of the chain. Has to be a valid link in the robot model.
tip_frameTip frame of the chain. Has to be a valid link in the robot model.
-
-
-
Returns
A Nx1 vector, where N is the number of robot joints
- -

Implements wbc::RobotModel.

- -
-
- -

◆ systemState()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - -
void wbc::RobotModelKDL::systemState (base::VectorXd & q,
base::VectorXd & qd,
base::VectorXd & qdd )
-
-virtual
-
-

Return entire system state

- -

Implements wbc::RobotModel.

- -
-
- -

◆ update()

- -
-
- - - - - -
- - - - - - - - - - - -
void wbc::RobotModelKDL::update (const base::samples::Joints & joint_state,
const base::samples::RigidBodyStateSE3 & floating_base_state = base::samples::RigidBodyStateSE3() )
-
-virtual
-
- -

Update the robot model. The joint state has to contain all joints that are relevant in the model. This means: All joints that are ever required when requesting rigid body states, Jacobians or joint states. Note that.

-
Parameters
- - - -
joint_stateThe joint_state vector. Has to contain all robot joints.
posesOptionally update links of the robot model. This can be used to update e.g. the relative position between two robots in the model. The source frame of the given rigid body state has to match the segment name in the KDL Tree that shall be updated
-
-
- -

Implements wbc::RobotModel.

- -
-
-

Member Data Documentation

- -

◆ full_tree

- -
-
- - - - - -
- - - - -
KDL::Tree wbc::RobotModelKDL::full_tree
-
-protected
-
- -
-
- -

◆ joint_idx_map_kdl

- -
-
- - - - - -
- - - - -
std::map<std::string,int> wbc::RobotModelKDL::joint_idx_map_kdl
-
-protected
-
-

Overall kinematic tree

- -
-
- -

◆ kdl_chain_map

- -
-
- - - - - -
- - - - -
KinematicChainKDLMap wbc::RobotModelKDL::kdl_chain_map
-
-protected
-
- -
-
- -

◆ q

- -
-
- - - - - -
- - - - -
KDL::JntArray wbc::RobotModelKDL::q
-
-protected
-
- -
-
- -

◆ qd

- -
-
- - - - - -
- - - - -
KDL::JntArray wbc::RobotModelKDL::qd
-
-protected
-
- -
-
- -

◆ qdd

- -
-
- - - - - -
- - - - -
KDL::JntArray wbc::RobotModelKDL::qdd
-
-protected
-
- -
-
- -

◆ qdot_tmp

- -
-
- - - - - -
- - - - -
base::VectorXd wbc::RobotModelKDL::qdot_tmp
-
-protected
-
- -
-
- -

◆ reg

- -
-
- - - - - -
- - - - -
RobotModelRegistry< RobotModelKDL > wbc::RobotModelKDL::reg
-
-staticprotected
-
- -
-
- -

◆ tau

- -
-
- - - - - -
- - - - -
KDL::JntArray wbc::RobotModelKDL::tau
-
-protected
-
- -
-
- -

◆ tmp_acc

- -
-
- - - - - -
- - - - -
base::VectorXd wbc::RobotModelKDL::tmp_acc
-
-protected
-
- -
-
- -

◆ zero

- -
-
- - - - - -
- - - - -
KDL::JntArray wbc::RobotModelKDL::zero
-
-protected
-
- -
-
-
The documentation for this class was generated from the following files: -
- - -
- - diff --git a/classwbc_1_1RobotModelKDL.png b/classwbc_1_1RobotModelKDL.png deleted file mode 100644 index 3ba1ad5577f26aaf7386ba89b3ff7376381b6753..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 560 zcmV-00?+-4P)x~0000RP)t-s|Ns90 z008Lh^>vTJr#LVva2S`&=-}Ys|Ns9r%~qrU000SeQchC<|NsC0|NsC0Hv*f~0005I zNkl;^<57{&_y=Md$ZLadfK zhxoEP+Da*z4PlgxLH7M|45g{+S{0_%9jy;Ya;ZB+ME=wr!XZS2%pvXu5o3&-9RPmm z4*=NhcYt_2Za{Gdh=XB2#VsJbI~)Q4*d4+l0FXI^LjWLi2!{Yb<`516fXpEr0sz^6 zfe0al-Hwn_N_*WQ93rJec80K^o+Uh!9B(yn8W<$`x2DqhK7%;r93VO4(;VgCxl}4N(`GGxZ62GkEuGh(4n|wY}^MA0%}FI%r7N5GkZ?gQg#(8hZ~h zBK;bI-GFEW!&ssJ@Hk2_tRR-loI==zIfLjbN@hbCWn&${D533GLr`}N8)jRQl y-SL{)1g-!4-?l@fl*k;yAyP_Y2Sf-VZ1x}1hHQzw=H2xG0000 - - - - - - -wbc: src/robot_models/kdl Directory Reference - - - - - - - - - - - -
-
- - - - - - -
-
wbc -
-
-
- - - - - - - - - -
-
-
-
kdl Directory Reference
-
-
- - - - -

-Directories

 test
 
- - - - - - - - - -

-Files

 KinematicChainKDL.cpp
 
 KinematicChainKDL.hpp
 
 RobotModelKDL.cpp
 
 RobotModelKDL.hpp
 
-
- - -
- - diff --git a/dir_88439d26a4e189b0caff163511948ba7.html b/dir_88439d26a4e189b0caff163511948ba7.html index 86b1b2f2..6a5cd4ed 100644 --- a/dir_88439d26a4e189b0caff163511948ba7.html +++ b/dir_88439d26a4e189b0caff163511948ba7.html @@ -72,8 +72,6 @@ Directories  hyrodyn   - kdl pinocchio    rbdl diff --git a/dir_f621786a8d819b7aecfe1f8e64790879.html b/dir_f621786a8d819b7aecfe1f8e64790879.html deleted file mode 100644 index b226b005..00000000 --- a/dir_f621786a8d819b7aecfe1f8e64790879.html +++ /dev/null @@ -1,83 +0,0 @@ - - - - - - - -wbc: src/robot_models/kdl/test Directory Reference - - - - - - - - - - - -
-
- - - - - - -
-
wbc -
-
-
- - - - - - - - - -
-
-
-
test Directory Reference
-
-
- - - - -

-Files

 test_robot_model_kdl.cpp
 
-
- - -
- - diff --git a/doxygen_crawl.html b/doxygen_crawl.html index e75909f6..25db977c 100644 --- a/doxygen_crawl.html +++ b/doxygen_crawl.html @@ -45,8 +45,6 @@ - - @@ -145,11 +143,6 @@ - - - - - @@ -297,8 +290,6 @@ - - @@ -345,8 +336,6 @@ - - @@ -383,7 +372,6 @@ - @@ -401,7 +389,6 @@ - @@ -478,7 +465,6 @@ - @@ -492,7 +478,6 @@ - @@ -504,7 +489,6 @@ - @@ -529,7 +513,6 @@ - @@ -543,8 +526,6 @@ - - @@ -669,8 +650,6 @@ - - @@ -714,8 +693,6 @@ - - @@ -1012,37 +989,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -1326,41 +1272,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -1548,7 +1459,6 @@ - @@ -1579,7 +1489,6 @@ - @@ -1600,7 +1509,6 @@ - @@ -1618,7 +1526,6 @@ - @@ -1642,7 +1549,6 @@ - @@ -1656,10 +1562,8 @@ - - @@ -1882,6 +1786,7 @@ + @@ -1964,15 +1869,6 @@ - - - - - - - - - diff --git a/files.html b/files.html index 10a00a0e..2e03464f 100644 --- a/files.html +++ b/files.html @@ -145,27 +145,20 @@  test_robot_model_hyrodyn.cpp  RobotModelHyrodyn.cpp  RobotModelHyrodyn.hpp -  kdl -  test - test_robot_model_kdl.cpp - KinematicChainKDL.cpp - KinematicChainKDL.hpp - RobotModelKDL.cpp - RobotModelKDL.hpp -  pinocchio -  test - test_robot_model_pinocchio.cpp - RobotModelPinocchio.cpp - RobotModelPinocchio.hpp -  rbdl -  test - test_robot_model_rbdl.cpp - RobotModelRBDL.cpp - RobotModelRBDL.hpp -  test - test_model_consistency.cpp - test_robot_model.cpp - test_robot_model.hpp +  pinocchio +  test + test_robot_model_pinocchio.cpp + RobotModelPinocchio.cpp + RobotModelPinocchio.hpp +  rbdl +  test + test_robot_model_rbdl.cpp + RobotModelRBDL.cpp + RobotModelRBDL.hpp +  test + test_model_consistency.cpp + test_robot_model.cpp + test_robot_model.hpp   scenes   acceleration   test diff --git a/functions_a.html b/functions_a.html index e0fe6f35..dd463b83 100644 --- a/functions_a.html +++ b/functions_a.html @@ -70,7 +70,7 @@

- a -