rxpoweredup
    Preparing search index...

    Type Alias ServoCommandOptions

    Options for the goToPosition method.

    speed of the motor, range: [-100, - 100]

    power of the motor, range: [0, 100]

    end state of the motor, default is 'hold'

    use profile for the motor, default is 'dontUseProfiles'

    do not wait for feedback from the motor, default is false.

    startup information for the motor, default is 'bufferIfNecessary'

    WARNING: setting noFeedback to true can lead to the motor rotating forever (until the hub is switched off) if the next command is issued in quick succession.

    type ServoCommandOptions = {
        bufferMode?: PortOperationStartupInformation;
        endState?: MotorServoEndState;
        noFeedback?: boolean;
        power?: number;
        speed?: number;
        useProfile?: MotorUseProfile;
    }
    Index

    Properties

    noFeedback?: boolean
    power?: number
    speed?: number
    useProfile?: MotorUseProfile