Commit 475f4997 authored by Julian Viereck's avatar Julian Viereck
Browse files

Rename "Solo" to "Solo8". Fixes #92

parent 6a809268
Pipeline #14951 failed with stage
in 1 minute and 57 seconds
...@@ -258,7 +258,7 @@ def loadHyQ(): ...@@ -258,7 +258,7 @@ def loadHyQ():
return HyQLoader().robot return HyQLoader().robot
class SoloLoader(RobotLoader): class Solo8Loader(RobotLoader):
path = 'solo_description' path = 'solo_description'
urdf_filename = "solo.urdf" urdf_filename = "solo.urdf"
srdf_filename = "solo.srdf" srdf_filename = "solo.srdf"
...@@ -266,13 +266,13 @@ class SoloLoader(RobotLoader): ...@@ -266,13 +266,13 @@ class SoloLoader(RobotLoader):
free_flyer = True free_flyer = True
class Solo12Loader(SoloLoader): class Solo12Loader(Solo8Loader):
urdf_filename = "solo12.urdf" urdf_filename = "solo12.urdf"
def loadSolo(solo=True): def loadSolo(solo8=True):
warnings.warn(_depr_msg('loadSolo()', 'solo'), FutureWarning, 2) warnings.warn(_depr_msg('loadSolo()', 'solo8'), FutureWarning, 2)
loader = SoloLoader if solo else Solo12Loader loader = Solo8Loader if solo8 else Solo12Loader
return loader().robot return loader().robot
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment