XBotInterface  2.4.1
XBotInterface provides a generic API to model and control a robot.
IXBotModel.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2016 Italian Institute of Technology
3 
4  Developer:
5  Luca Muratore (2016-, luca.muratore@iit.it)
6 */
7 
13 #ifndef __I_X_BOT_MODEL_H__
14 #define __I_X_BOT_MODEL_H__
15 
16 #include <map>
17 #include <string>
18 #include <vector>
19 
20 namespace XBot
21 {
22  class IXBotModel;
23 }
24 
30 {
31 
32 public:
33 
34  virtual std::map< std::string, std::vector<int> > get_robot() = 0;
35  virtual std::map<std::string, int> get_ft_sensors() = 0;
36  virtual std::map<std::string, int> get_imu_sensors() = 0;
37  virtual std::map<std::string, int> get_hands() = 0;
38 
39  virtual std::string rid2Joint(int rId) = 0;
40  virtual int joint2Rid(std::string joint_name) = 0;
41 
42 
43  virtual ~IXBotModel() {};
44 };
45 
46 #endif //__I_X_BOT_MODEL_H__
XBot::IXBotModel::rid2Joint
virtual std::string rid2Joint(int rId)=0
XBot::IXBotModel::joint2Rid
virtual int joint2Rid(std::string joint_name)=0
XBot::IXBotModel::get_hands
virtual std::map< std::string, int > get_hands()=0
XBot::IXBotModel::get_imu_sensors
virtual std::map< std::string, int > get_imu_sensors()=0
XBot::IXBotModel
TBD.
Definition: IXBotModel.h:29
XBot::IXBotModel::get_robot
virtual std::map< std::string, std::vector< int > > get_robot()=0
XBot::IXBotModel::~IXBotModel
virtual ~IXBotModel()
Definition: IXBotModel.h:43
XBot::IXBotModel::get_ft_sensors
virtual std::map< std::string, int > get_ft_sensors()=0
XBot
Definition: IXBotModel.h:20