GoToPeriscopeDepth

Go to periscope depth

Usage: Used in 2 task(s)

Lua Implementation

-- Go To Periscope Depth
function execute(params)
    local periscopeDepth = params.depth or -20  -- meters

    this:addTask("DtChangeDepth", {
        targetDepth = periscopeDepth,
        rate = params.rate or "normal"
    })

    return true
end