"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.moveTo = void 0;
const util_1 = require("./util");
async function moveTo({ client }, { pose }) {
    const { x, y, z, u, v, w } = pose;
    await client.taskMoveTo([x, y, z, u, v, w]);
    await (0, util_1.waitForState)(client, status => !status.isBusy);
    return true;
}
exports.moveTo = moveTo;
//# sourceMappingURL=move-to.js.map