Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
Pipeline #14406 passed with warnings
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment