def populate_instance(msg, inst):
    return _to_inst(msg, inst._type, inst._type, inst)
Returns an instance of the provided class, with its fields populated
dataset/ETHPy150Open RobotWebTools/rosbridge_suite/rosbridge_library/src/rosbridge_library/internal/message_conversion.py/populate_instance