quadruped-robot icon indicating copy to clipboard operation
quadruped-robot copied to clipboard

is current acc really needed ??

Open elpimous opened this issue 1 year ago • 0 comments

hello, question is up ! qr_robot_a1.cpp

140,6: void qrRobotA1::ReceiveObservation()

for (int motorId = 0; motorId < NumMotor; motorId++) {

    motorAngles[motorId] = state.motorState[motorId].q;

    motorVelocities[motorId] = state.motorState[motorId].dq;

    **motorddq[motorId] = state.motorState[motorId].ddq;**  // current acc 

    motortorque[motorId] = state.motorState[motorId].tauEst;
}

elpimous avatar Jun 20 '23 18:06 elpimous