Commit 054677be authored by Carlos Mastalli's avatar Carlos Mastalli
Browse files

[loader] Return neutral position if there is no a SRD file

parent 47283575
Pipeline #14406 passed with stage
in 2 minutes and 2 seconds
......@@ -70,7 +70,7 @@ class RobotLoader(object):
self.has_rotor_parameters, self.ref_posture)
else:
self.srdf_path = None
self.robot.q0 = None
self.robot.q0 = pin.neutral(self.robot.model)
if self.free_flyer:
self.addFreeFlyerJointLimits()
......
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