I am using an API library that has the following implementaion of C code to the position and rotation in a Python program:
class struct_LinmathPose(Structure):
pass
struct_LinmathPose.__slots__ = [
'Pos',
'Rot',
]
struct_LinmathPose._fields_ = [
('Pos', LinmathPoint3d),
('Rot', LinmathQuat),
]
And one of the variables is of this class. How can I get and access for example the position of this variable? LinmathPoint3d and LinmathQuat are C codes.