![]() While EV3.Time 1 Then ' default direction is upwards (ccw), if C is not upwards also ' wait until previous turn has progressed far enough ' when moving on same axis, give prevous move more time ' Subprogram to turn faces on A-C axis (axis 0) If Text.IsSubText(TuneMotors_Keys, "R") Then If Text.IsSubText(TuneMotors_Keys, "L") Then If Text.IsSubText(TuneMotors_Keys, "D") Then If Text.IsSubText(TuneMotors_Keys, "U") Then If Text.IsSubText(TuneMotors_Keys, "E") Then ' take up slack of compound motors B and D ' ' align gears of single-controlled motors to fit the cube orientation ' at end of init all motors are locked in place Lastusedaxis = -1 ' axis of currently running move Moveendtime = -100000 ' system time when current move is finshed ' Global constants and variables or internal use of library (with initializers)ĭAISY_TRANSMISSION_OVERHEAD = 1 ' minimum daisy chain transmissionīD_QUARTERTURN_TIME = 56 + 4 ' +transmission uncertaintyīD_HALFTURN_TIME = 100 + 4 ' +transmission uncertainty ' When only one individual motor is meant, the daisy-chaining layer is prefixed ' compound motors are referenced in commends with the letter A,B,C,D,E. ' Some motors of the model are grouped together to form a stronger,
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |