From 92d207e786a252b16c61d3f433ca2fb44faea0bf Mon Sep 17 00:00:00 2001 From: Guilhem Saurel <guilhem.saurel@laas.fr> Date: Fri, 1 Apr 2022 09:32:35 +0200 Subject: [PATCH] remove other deprecated things --- python/example_robot_data/robots_loader.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/python/example_robot_data/robots_loader.py b/python/example_robot_data/robots_loader.py index 4b7b15d..a8a9591 100644 --- a/python/example_robot_data/robots_loader.py +++ b/python/example_robot_data/robots_loader.py @@ -1,5 +1,4 @@ import sys -import warnings from os.path import dirname, exists, join import numpy as np @@ -156,11 +155,6 @@ class RobotLoader(object): lb[:7] = -1 self.robot.model.lowerPositionLimit = lb - @property - def q0(self): - warnings.warn("`q0` is deprecated. Please use `robot.q0`", FutureWarning, 2) - return self.robot.q0 - class A1Loader(RobotLoader): path = "a1_description" @@ -347,12 +341,6 @@ class Solo8Loader(RobotLoader): free_flyer = True -class SoloLoader(Solo8Loader): - def __init__(self, *args, **kwargs): - warnings.warn('"solo" is deprecated, please try to load "solo8"') - return super(SoloLoader, self).__init__(*args, **kwargs) - - class Solo12Loader(Solo8Loader): urdf_filename = "solo12.urdf" -- GitLab