Changes for page LSS Communication Protocol
Last modified by Eric Nantel on 2024/11/21 09:43
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -572,19 +572,14 @@ 572 572 573 573 [[image:LSS-servo-positions.jpg]] 574 574 575 -Example: Gyre direction / rotation is positive (clockwise), and origin offset has not been modified. Each square represents 30 degrees.575 +Example: Gyre direction / rotation is positive (clockwise), and origin offset has not been modified. 576 576 577 -#1D-300<cr> The servo is sent acommand577 +#1D-300<cr> The servo is commander to move to -30.0 degrees (green arrow) 578 578 579 579 #1D2100<cr> This second position command is sent to the servo, which moves it to 210.0 degrees (orange arrow) 580 580 581 -#1D-4200<cr> Th is nextcommandrotatesthe servocounterclockwise to a position of -420 degrees (red arrow), which means one full rotation of 360 degrees,stopping at an absolute position of 60.0 degrees(420.0-360.0),withavirtual position of -420.0degrees.581 +#1D-4200<cr> The servo rotates counterclockwise to a position of -420 degrees (red arrow), which means one full rotation of 360 degrees and (420.0-360.0) stopping at an absolute position of 60.0 degrees, but virtual position of -420.0. 582 582 583 -Although the final p hysical position would be the same as if the servo were commanded to move to -60.0 degrees, theservois in fact at -420.0 degrees.583 +Although the final position would be the same as if the servo were commanded to move to -60.0 degrees, it is in fact at -420.0 degrees. 584 584 585 -#1D4800<cr> This new command is sent which would then cause the servo to rotate from -420.0 degrees to 480.0 degrees (blue arrow), which would be a total of 900 degrees of clockwise rotation, or 2.5 complete rotations. 586 - 587 -#1D3300<cr> would cause the servo to rotate from 480.0 degrees to 330.0 degrees (yellow arrow). 588 - 589 - 590 -If / once the servo loses power or is power cycled, it also loses the virtual position associated with that session. For example, if the virtual position was 480.0 degrees before power is cycled, upon power up the servo's position will be read as +120.0 degrees from zero (assuming center position has not been modified). 585 +#1D4800<cr> This new command is sent which would then cause the servo to rotate from -420.0 degrees to 480.0 degrees, which would be a total of 900 degrees of clockwise rotation, or 2.5 complete rotations.