def METHOD_NAME(robot, limit):
    from toppra.cpp import LinearJointAcceleration
    l = np.array([limit,] * robot.model.nv)
    lja = LinearJointAcceleration(-l, l)
    lja.discretizationType = Interpolation
    return lja