Exemplo n.º 1
0
float rightSimpleMilliDegreeAndWait(float angleMilliDegree) {
    rightSimpleMilliDegree(angleMilliDegree);
    handleAndWaitFreeMotion();
    return -angleMilliDegree;
}
Exemplo n.º 2
0
float leftSimpleMilliDegreeAndWait(float angleMilliDegree) {
    leftSimpleMilliDegree(angleMilliDegree);
    handleAndWaitFreeMotion();
    return angleMilliDegree;
}
Exemplo n.º 3
0
void rightSimpleDegreeAndWait(PidMotion* pidMotion, float angleDegree, OutputStream* notificationOutputStream) {
    rightSimpleDegree(pidMotion, angleDegree, notificationOutputStream);
    handleAndWaitFreeMotion(pidMotion, notificationOutputStream);
}
Exemplo n.º 4
0
float backwardSimpleMMAndWait(float distanceInMM) {
    backwardSimpleMM(distanceInMM);
    handleAndWaitFreeMotion();
    return distanceInMM;
}
Exemplo n.º 5
0
void backwardSimpleMMAndWait(PidMotion* pidMotion, float distanceInMM, OutputStream* notificationOutputStream) {
    backwardSimpleMM(pidMotion, distanceInMM, notificationOutputStream);
    handleAndWaitFreeMotion(pidMotion, notificationOutputStream);
}