Commit 5c9f9dba authored by Carlos Mastalli's avatar Carlos Mastalli
Browse files

[deprecate] Deprecated q0 property in RobotLoader

parent afa3e74b
Pipeline #13908 passed with stage
in 42 seconds
......@@ -83,6 +83,11 @@ class RobotLoader(object):
lb[:7] = -1
self.robot.model.lowerPositionLimit = lb
def q0(self):
warnings.warn("`q0` is deprecated. Please use `robot.q0`", FutureWarning, 2)
return self.robot.q0
class ANYmalLoader(RobotLoader):
path = 'anymal_b_simple_description'
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