Ask your own question, for FREE!
GT ECE 4560 - Intro to Automation & Robotics 9 Online
OpenStudy (anonymous):

Suppose I have a matrix A = SE2([1;2] pi/3) ; How do we access to this matrix ? I end up having this msg: Access to an object's fields is only permitted within its methods.

OpenStudy (anonymous):

Just figured out, s = struct(A) ;

OpenStudy (anonymous):

Sorry I didn't see your question before you closed it. You don't need to use struct. If your function is inside the @SE2 folder, you can access the fields of the input (for instance A) as displacement = A.d and rotation = A.R, where A.d is a 2-vector with x and y displacements and A.R is the rotation matrix.

OpenStudy (anonymous):

Yeap. your reply on the email was helpful enough =(. Yes I didn't include the file inside SE2 foler.Thanks.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!