class update_test_rosbag_Constants_06a34bda7d4ea2950ab952e89ca35d7a(MessageUpdateRule):
    old_type = "test_rosbag/Constants"
    old_full_text = """
int32 CONSTANT=1
int32 value
"""

    new_type = "test_rosbag/Constants"
    new_full_text = """
int32 CONSTANT=2
int32 CONSTANT_TWO=42
int32 value
"""

    order = 0
    migrated_types = []

    valid = True

    def update(self, old_msg, new_msg):
        #Constant 'CONSTANT' has changed
        if (old_msg.value == old_msg.CONSTANT):
            new_msg.value = new_msg.CONSTANT
