def coords_json_to_api_pos(x_cm_forward, y_cm_left):
    """converts from robot coordinates to API coordinates. returns x, y"""
    x_cm_right = -y_cm_left
    y_cm_forward = x_cm_forward
    return x_cm_right, y_cm_forward
