提交依赖与构建产物
This commit is contained in:
38
kdl_install/include/kdl/treejnttojacsolver.hpp
Normal file
38
kdl_install/include/kdl/treejnttojacsolver.hpp
Normal file
@@ -0,0 +1,38 @@
|
||||
/*
|
||||
* TreeJntToJacSolver.hpp
|
||||
*
|
||||
* Created on: Nov 27, 2008
|
||||
* Author: rubensmits
|
||||
*/
|
||||
|
||||
#ifndef TREEJNTTOJACSOLVER_HPP_
|
||||
#define TREEJNTTOJACSOLVER_HPP_
|
||||
|
||||
#include "tree.hpp"
|
||||
#include "jacobian.hpp"
|
||||
#include "jntarray.hpp"
|
||||
|
||||
namespace KDL {
|
||||
|
||||
class TreeJntToJacSolver {
|
||||
public:
|
||||
explicit TreeJntToJacSolver(const Tree& tree);
|
||||
|
||||
virtual ~TreeJntToJacSolver();
|
||||
|
||||
/*
|
||||
* Calculate the jacobian for a part of the tree: from a certain segment, given by segmentname to the root.
|
||||
* The resulting jacobian is expressed in the baseframe of the tree ("root"), the reference point is in the end-segment
|
||||
*/
|
||||
|
||||
int JntToJac(const JntArray& q_in, Jacobian& jac,
|
||||
const std::string& segmentname);
|
||||
|
||||
private:
|
||||
KDL::Tree tree;
|
||||
|
||||
};
|
||||
|
||||
}//End of namespace
|
||||
|
||||
#endif /* TREEJNTTOJACSOLVER_H_ */
|
||||
Reference in New Issue
Block a user