def setUp(self): # Create a simple ground-truth message. self.wxyz = (1, 2, 3, 4) quat = lcmt_quaternion() quat.w, quat.x, quat.y, quat.z = self.wxyz self.quat = quat self.count = 0
def _model_message(self): message = lcmt_quaternion() message.w, message.x, message.y, message.z = (1, 2, 3, 4) return message