Skip to content
Snippets Groups Projects
Commit b25d6b9e authored by Florent Lamiraux's avatar Florent Lamiraux
Browse files

Remove restart method.

parent 416e7fa5
No related branches found
No related tags found
1 merge request!1[major][cpp] starting point to integrate pinocchio
......@@ -201,21 +201,6 @@ class AbstractHumanoidRobot (object):
def __init__(self, name):
self.name = name
if simulation:
self.simulation = True
else:
self.simulation = False
def restart(self):
if self.simu:
self.simu.set(self.halfSitting)
self.dynamic.position.value = self.halfSitting
self.dynamic.velocity.value = self.dimension * (0.,)
self.dynamic.acceleration.value = self.dimension * (0.,)
if self.simu:
self.simu.increment(.001)
class HumanoidRobot(AbstractHumanoidRobot):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment