Articles Posted by the Author:

  • load()

    load()

    Description Loads the robot's AIServo offsets from the specified file (i.e., reads the AIServo offsets from the file and loads them into the offsets[] array). Syntax servooffset.load(filename) Parameters servooffset: A variable of type AIServoOffset. filename: The name of the file. Please note that currently only files can be downloaded from the root directory of an […]


  • AIServoOffset constructor

    AIServoOffset constructor

    Description Initializes the AIServoOffset class. Syntax AIServoOffset myoffset AIServoOffset myoffset(filename) Parameters filename: File name. When a file name is specified, the ServoOffset class will load the specified servo fine-tuning value file during initialization. Please note that this currently only supports downloading files from the root directory of an SD card. If there is no SD […]


  • offsets[]

    offsets[]

    Description Stores user-defined robot offsets in degrees. This array stores the offsets of all AIServos. The values can be specified by the user. The first element in the array represents the offset of the first channel's servo, the second element represents the offset of the second channel's AIServo, and so on. Up to 64 channels […]


  • setOffsets()

    setOffsets()

    Description Set the offsets[] array values to the corresponding servos. Grammar servooffset.setOffsets() servooffset.setOffsets(servo1) servooffset.setOffsets(servo1, servo2) servooffset.setOffsets(servo1, servo2, ... , servo64) Parameters servooffset: Variable of type AIServoOffset. servo1 ~ servo64: Variables of the AIServo type. Postback None Example 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 […]


  • load()

    load()

    Description Loads user-defined robot motion frames from the specified file (that is, stores the motion frames in the file into the positions[] array). Syntax servoframe.load(filename) Parameters servofame: A variable of type AIServoFrame. filename: The name of the file. Please note that currently only files can be downloaded from the root directory of an SD card. […]


  • save()

    save()

    Description Saves a user-defined robot motion frame (i.e., the positions[] array) to the specified file. Syntax servoframe.save(filename) Parameters servoFrame: A variable of type AIServoFrame. filename: The name of the file. Please note that files are currently only saved to the root directory of an SD card. If your 86Duino does not have an SD card, […]


  • playPositions()

    playPositions()

    Description Plays user-defined robot motion frames. Grammar servoframe.playPositions() servoframe.playPositions(servo1) servoframe.playPositions(servo1, servo2) servoframe.playPositions(servo1, servo2, ... , servo64)   servoframe.playPositions(time) servoframe.playPositions(time, servo1) servoframe.playPositions(time, servo1, servo2) servoframe.playPositions(time, servo1, servo2, ... , servo64) Parameters servoframe: Variable of type AIServoFrame. servo1 ~ servo64: Variables of type AIServo. time (optional): The time it takes for the servo to reach the target […]


  • positions[]

    positions[]

    Description Stores user-defined robot motion frames, namely the servo angles for all channels. This array stores the servo angles for all channels, and its values can be specified by the user. The first element in position[] represents the AIServo angle for the first channel, the second element represents the AIServo angle for the second channel, […]


  • setPostions()

    setPostions()

    Description Set the positions[] array values to the corresponding servos. Grammar servoframe.setPositions() servoframe.setPositions(servo1) servoframe.setPositions(servo1, servo2) servoframe.setPositions(servo1, servo2, ... , servo64) servoframe.setPositions(time) servoframe.setPositions(time, servo1) servoframe.setPositions(time, servo1, servo2) servoframe.setPositions(time, servo1, servo2, ... , servo64) Parameters servoframe: Variable of type AIServoFrame . servo1 ~ servo64: Variables of type AIServo. time (optional): The time it takes for the servo to reach the target position. If no value is set […]


  • AIServoFrame constructor

    AIServoFrame constructor

    Description Initializes the AIServoFrame class. Syntax AIServoFrame myframe AIServoFrame myframe(filename) Parameters filename: File name. When a file name is specified, the specified motion frame file will be loaded during the AIServoFrame class initialization process. Please note that currently only files downloaded from the root directory of an SD card are supported. If there is no […]