3.5:
Custom interface definition (with s at the end):
int32 years
int32 months
int32 days
3.6:
Custom interface usage (without s at the end):
def on_shutdown(self):
self.age.year = 2021
self.age.month = 5
self.age.day = 21
self.get_logger().info(‘Date this program was made : %d’ %
self.age.day + ‘/%d’ % self.age.month + ‘/%d’ % self.age.year)