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

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

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