robotarm/robotarm.py
def forward_kinematics(self, targetJoint=-1):
        '''
        Calculates the transformation matrix for the arm up to the 
        specified joint. If no joint is chosen then evaluates to the 
        end effector
        '''
        if targetJoint <= len(self.joints):
            return self.joints[targetJoint].evaluate_forwards()
        else:
            raise IndexError("Must provide valid joint number")

        Calculates the transformation matrix for the arm up to the 
        specified joint. If no joint is chosen then evaluates to the 
        end effector
        
Calculates the transformation matrix for the arm up to the
specified joint. If no joint is chosen then evaluates to the
end effector
Calculates the transformation matrix for the arm up to the specified joint . If no joint is chosen then evaluates to the end effector
def forward_kinematics(self, targetJoint=-1):
        if targetJoint <= len(self.joints):
            return self.joints[targetJoint].evaluate_forwards()
        else:
            raise IndexError("Must provide valid joint number")
def forward_kinematics ( self , targetJoint = - 1 ) : if targetJoint <= len ( self . joints ) : return self . joints [ targetJoint ] . evaluate_forwards ( ) else : raise IndexError ( "Must provide valid joint number" )
Calculates the transformation matrix for the arm up to the
specified joint.
Calculates the transformation matrix for the arm up to the specified joint .
'''
        Calculates the transformation matrix for the arm up to the 
        specified joint. If no joint is chosen then evaluates to the 
        end effector
        '''
self
targetJoint