import { RobotArmAPI } from '../../../controllers/robot-arm-api'

export const robotArmTaskMoveTo = {
  async robotArmTaskMoveTo(_: any, { name, pose }, context: any) {
    const { domain } = context.state

    return RobotArmAPI.moveTo(domain, name, { pose })
  }
}
