def average(self, other, alpha):
        """
        Weighted average of this pose and other
        """
        return Pose(alpha * self.x + (1 - alpha) * other.x,
                    alpha * self.y + (1 - alpha) * other.y,
                    alpha * self.z + (1 - alpha) * other.z,
                    angleAverage(self.theta, other.theta, alpha))
dataset/ETHPy150Open rll/lfd/lfd/rapprentice/util.py/Pose.average/original