Deep Trekker BRIDGE API - v1.0.16
    Preparing search index...

    Type Alias PowerTool

    Power Tool Generation 3 power tool that rotates and spins.

    type PowerTool = {
        authorized?: boolean;
        enabled?: boolean;
        rotate?: number;
        spin?: number;
    }
    Index

    Properties

    authorized?: boolean

    Flag to gain authorization to operate the power tool. This is an added layer of security since power tool can cause harm to humans and components.

    Authorization is requested by setting this flag to true.

    If the power tool is not used for over 60 seconds, the user looses Authorization and must request it again.

    enabled?: boolean

    Flag to enable to disable the power tool control

    Powertool is only controllable when this is TRUE AND when authorization is TRUE (see authorization property below)

    rotate?: number

    Rotation motor

    Power Tool rotation power

    • < 0 = rotate left
    • == 0 = motor off
    • > 0 = rotate right
    {
    "rotate": 50
    }

    -100

    100

    spin?: number

    Spin Motor

    Power Tool spin motor power (in percentage)

    • < 0 = motor off
    • == 0 = motor off
    • > 0 = spin (Meant to work with joystick down input)
    {
    "spin": -50
    }

    -100

    100