File tree 1 file changed +5
-0
lines changed
src/dynamic_graph/sot/robot_arm
1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -38,10 +38,15 @@ class RobotArm(AbstractRobot):
38
38
"""
39
39
# Index of the first actuated joint in the configuration vector
40
40
firstJointIndex = 0
41
+ # List of indices corresponding to the actuated joints in pinocchio model
41
42
def getActuatedJoints (self ):
42
43
return range (0 , self .device .getControlSize ())
43
44
45
+ # Initialization done when starting the controller. Cannot be done at
46
+ # construction since some values are not known yet.
44
47
def initializeEntities (self ):
48
+ # Always call parent implementation
49
+ AbstractRobot .initializeEntities (self )
45
50
# initialize size of some signals. The size is not known at construction
46
51
controlSize = self .device .getControlSize ()
47
52
self .selector .selec (self .firstJointIndex , self .firstJointIndex +
You can’t perform that action at this time.
0 commit comments