ros+matlab 链接: rosIP = ‘127.0.0.1’; rosinit(rosIP,11311); sub = rossubscriber(‘scan’) msg = receive(sub)