Example 1: Creating a Square Matrix % Creating a 3x3 matrix of zerosZeroMatrix=zeros(3);ZeroMatrix In this example, we demonstrate the fundamental use of thezeros()function to create a 3x3 matrix filled with zeros. The code simply callszeros(3), where the single scalar input denotes the ...
Frequently in robotics we want a sequence, a trajectory, of rotation matrices or poses. These pose classes inherit capability from thelistclass >>>R=SO3()# the null rotation or identity matrix>>>R.append(R1)>>>R.append(R2)>>>len(R)3>>>R[1]10000.955336-0.2955200.295520.955336 ...
Frequently in robotics we want a sequence, a trajectory, of rotation matrices or poses. These pose classes inherit capability from the list class >>> R = SO3() # the null rotation or identity matrix >>> R.append(R1) >>> R.append(R2) >>> len(R) 3 >>> R[1] 1 0 0 0 0.9553...