XBotInterface  2.4.1
XBotInterface provides a generic API to model and control a robot.
ModelChain.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2016 IIT-ADVR
3  * Author: Arturo Laurenzi, Luca Muratore
4  * email: arturo.laurenzi@iit.it, luca.muratore@iit.it
5  *
6  * This program is free software: you can redistribute it and/or modify
7  * it under the terms of the GNU Lesser General Public License as published by
8  * the Free Software Foundation, either version 3 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public License
17  * along with this program. If not, see <http://www.gnu.org/licenses/>
18 */
19 
20 
21 #ifndef _XBOT_MODELCHAIN_H_
22 #define _XBOT_MODELCHAIN_H_
23 
25 
26 namespace XBot {
27 
28 class RobotChain;
29 
34 class ModelChain : public KinematicChain {
35 
36 public:
37 
38  typedef std::shared_ptr<ModelChain> Ptr;
39 
40  friend XBot::RobotChain;
41 
42  // Getters for RX
43 
50 
51  // Setters for RX
52 
59 
60 protected:
61 
62 private:
63 
66 
67  // Getters for TX
68 
74 
75  // Setters for TX
76 
82 
84 
85 
86 };
87 } // end namespace XBot
88 #endif
XBot::KinematicChain::getJointVelocity
bool getJointVelocity(Eigen::VectorXd &qdot) const
Definition: KinematicChain.cpp:715
XBot::KinematicChain::getJointEffort
bool getJointEffort(Eigen::VectorXd &tau) const
Definition: KinematicChain.cpp:691
XBot::KinematicChain
Kinematic chain abstraction as a set of joints and sensors.
Definition: KinematicChain.h:49
XBot::KinematicChain::setMotorPosition
bool setMotorPosition(const Eigen::VectorXd &q)
Definition: KinematicChain.cpp:975
XBot::KinematicChain::setEffortReference
bool setEffortReference(const Eigen::VectorXd &tau)
Definition: KinematicChain.cpp:922
XBot::KinematicChain::getEffortReference
bool getEffortReference(Eigen::VectorXd &tau) const
Definition: KinematicChain.cpp:703
XBot::RobotChain
Kinematic chain useful for a robot abstraction.
Definition: RobotChain.h:33
XBot::KinematicChain::getVelocityReference
bool getVelocityReference(Eigen::VectorXd &qdot) const
Definition: KinematicChain.cpp:788
KinematicChain.h
XBot::KinematicChain::setPositionReference
bool setPositionReference(const Eigen::VectorXd &q)
Definition: KinematicChain.cpp:1001
XBot::KinematicChain::setVelocityReference
bool setVelocityReference(const Eigen::VectorXd &qdot)
Definition: KinematicChain.cpp:1040
XBot::KinematicChain::setJointPosition
bool setJointPosition(const Eigen::VectorXd &q)
Definition: KinematicChain.cpp:895
XBot::KinematicChain::getMotorVelocity
bool getMotorVelocity(Eigen::VectorXd &qdot) const
Definition: KinematicChain.cpp:752
XBot::KinematicChain::setJointEffort
bool setJointEffort(const Eigen::VectorXd &tau)
Definition: KinematicChain.cpp:909
XBot::KinematicChain::getTemperature
bool getTemperature(Eigen::VectorXd &temp) const
Definition: KinematicChain.cpp:776
XBot::KinematicChain::setMotorVelocity
bool setMotorVelocity(const Eigen::VectorXd &qdot)
Definition: KinematicChain.cpp:988
XBot::KinematicChain::pushBackJoint
void pushBackJoint(Joint::Ptr joint)
add a joint in the kinematic chain pushing it in the end of the chain
Definition: KinematicChain.cpp:237
XBot::KinematicChain::setJointVelocity
bool setJointVelocity(const Eigen::VectorXd &qdot)
Definition: KinematicChain.cpp:948
XBot::KinematicChain::getDamping
bool getDamping(Eigen::VectorXd &D) const
Definition: KinematicChain.cpp:679
XBot::KinematicChain::getJointPosition
bool getJointPosition(Eigen::VectorXd &q) const
Definition: KinematicChain.cpp:316
XBot::KinematicChain::getPositionReference
bool getPositionReference(Eigen::VectorXd &q) const
Definition: KinematicChain.cpp:500
XBot::KinematicChain::getMotorPosition
bool getMotorPosition(Eigen::VectorXd &q) const
Definition: KinematicChain.cpp:740
XBot::KinematicChain::setTemperature
bool setTemperature(const Eigen::VectorXd &temp)
Definition: KinematicChain.cpp:1027
XBot::KinematicChain::getJointAcceleration
bool getJointAcceleration(Eigen::VectorXd &qddot) const
Definition: KinematicChain.cpp:727
XBot::KinematicChain::setJointAcceleration
bool setJointAcceleration(const Eigen::VectorXd &qddot)
Definition: KinematicChain.cpp:961
XBot::KinematicChain::setStiffness
bool setStiffness(const Eigen::VectorXd &K)
Definition: KinematicChain.cpp:1014
XBot::ModelChain
Kinematic chain useful for a model abstraction.
Definition: ModelChain.h:34
XBot::ModelChain::Ptr
std::shared_ptr< ModelChain > Ptr
Definition: ModelChain.h:38
XBot
Definition: IXBotModel.h:20
XBot::KinematicChain::setDamping
bool setDamping(const Eigen::VectorXd &D)
Definition: KinematicChain.cpp:935
XBot::KinematicChain::getStiffness
bool getStiffness(Eigen::VectorXd &K) const
Definition: KinematicChain.cpp:764