32 #ifndef CROBOTAPP_HPP_
33 #define CROBOTAPP_HPP_
36 #include <scl/DataTypes.hpp>
37 #include <scl/control/task/CTaskBase.hpp>
38 #include <scl/robot/CRobot.hpp>
39 #include <scl/dynamics/tao/CDynamicsTao.hpp>
40 #include <scl/dynamics/scl/CDynamicsScl.hpp>
43 #include <scl/graphics/chai/CGraphicsChai.hpp>
83 sUInt args_already_parsed)=0;
112 const timespec& arg_ts,
114 const int arg_gr_frm_ctr);
154 std::vector<std::string> robots_parsed_;
156 std::string robot_name_;
157 std::string ctrl_name_;
180 Eigen::VectorXd pos_, pos_des_;
181 chai3d::cGenericObject *chai_pos_,*chai_pos_des_;
184 name_(
""),task_(NULL),ui_pt_(-1),
185 has_been_init_(
false)
187 , chai_pos_(NULL), chai_pos_des_(NULL)
197 std::vector<std::string> graphics_parsed_;
scl::sBool init(const std::vector< std::string > &argv)
Definition: CRobotApp.cpp:88
Definition: CGraphicsChai.hpp:48
std::vector< SUiCtrlPointData > taskvec_ui_ctrl_point_
Definition: CRobotApp.hpp:193
CRobotApp()
Definition: CRobotApp.cpp:71
Definition: SRobotIO.hpp:107
virtual void terminate()
Definition: CRobotApp.cpp:329
virtual scl::sBool initMyController(const std::vector< std::string > &argv, sUInt args_already_parsed)=0
Definition: SRobotParsed.hpp:51
virtual void stepMySimulation()=0
Definition: SDatabase.hpp:239
virtual ~CRobotApp()
Definition: CRobotApp.hpp:103
void runMainLoopThreaded(const int &thread_id)
Definition: CRobotApp.cpp:346
Definition: CRobotApp.hpp:64
Definition: CDynamicsTao.hpp:62
virtual scl::sBool setInitialStateForUIAndDynamics()=0
bool sBool
Definition: DataTypes.hpp:54
Definition: CDynamicsScl.hpp:57
Definition: CRobot.hpp:63
long long sLongLong
Definition: DataTypes.hpp:66
Definition: CRobotApp.hpp:172
double sFloat
Definition: DataTypes.hpp:72
int sInt
Definition: DataTypes.hpp:64
void runMainLoop()
Definition: CRobotApp.cpp:378
void runConsoleShell()
Definition: CRobotApp.cpp:402
virtual scl::sBool registerCustomDynamicTypes()
Definition: CRobotApp.hpp:86
Definition: CTaskBase.hpp:54