clean up C pointers when we clone the robot
@@ -331,6 +331,7 @@ class Dynamics:
# shallow copy the robot object
nf = copy.copy(self)
+ nf.delete_rne() # remove the inherited C pointers
nf.name = 'NF/' + self.name
# add the modified links (copies)
