18 #ifndef __POWER_CUBE_SIM_H_
19 #define __POWER_CUBE_SIM_H_
46 %include
"Source/Manipulation/Interfaces/armInterface.h"
77 return m_ErrorMessage;
88 bool MoveJointSpaceSync(
const std::vector<double>& Angle);
91 bool MoveVel(
const std::vector<double>& vel);
102 bool setMaxVelocity(
double radpersec);
104 bool setMaxVelocity(
const std::vector<double>& radpersec);
108 bool setMaxAcceleration(
double radPerSecSquared);
109 bool setMaxAcceleration(
const std::vector<double>& radPerSecSquared);
116 bool getConfig(std::vector<double>& result);
119 bool getJointVelocities(std::vector<double>& result);
121 void setCurrentAngles(std::vector<double> Angles);
123 void setCurrentJointVelocities(std::vector<double> Angles);
128 bool statusMoving(
int cubeNo);
145 PC_CTRL_NOT_REFERENCED = -1,
147 PC_CTRL_POW_VOLT_ERR = -3
152 void setStatusMoving(
int cubeNo,
bool moving);
155 return m_MovementInProgress[cubeNo];
164 return m_CurrentAngularMaxVel;
168 return m_CurrentAngularMaxAccel;
170 void millisleep(
unsigned int milliseconds)
const;
179 double timeRampMove(
double dtheta,
double vnow,
double v,
double a);
181 int startSimulatedMovement(std::vector<double> target);
186 Manipulator* m_Obj_Manipulator;