de-Roo.Lukas Posted May 30, 2018 Posted May 30, 2018 (edited) I want to use one master to send data to multiple slaves. However, in the synker demo, there is a broadcast address, which is the address of slaves. What should I do if I want to send messages to multiple slaves? can I input multiple addresses in the broadcast input area? Question2: how to use slave to control master? Thanks Edited May 30, 2018 by de-Roo.Lukas
morbid Posted May 30, 2018 Posted May 30, 2018 Hi Lukas, in Syncker demo you can specify the broadcast address. By default, it works on the local machine and you can run 1 master and definitely more than one slave. 31 minutes ago, de-Roo.Lukas said: What should I do if I want to send messages to multiple slaves? can I input multiple addresses in the broadcast input area? Usually, you just set up the broadcast address, like 192.168.1.255 and run slaves on machines that connected to the same network. So you don't need to specify multiple addresses. More on Syncker options here: https://developer.unigine.com/en/docs/2.7/code/cpp/plugins/syncker/options Does it work for you? How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
morbid Posted May 30, 2018 Posted May 30, 2018 "slave_name" is used for messages in the console. It does nothing to the Syncker logic. To make things work use sync_view argument - it's a name for display that you can edit in Projections configuration window. 1 hour ago, de-Roo.Lukas said: Question2: how to use slave to control master? You can use any connected slave to work with Projections configurator I've mentioned above. How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
de-Roo.Lukas Posted May 30, 2018 Author Posted May 30, 2018 Thanks, but my sdk version is 2.6.0.1 there is no Projections configuration window.
morbid Posted May 30, 2018 Posted May 30, 2018 Okay, in 2.6 it's different. You'll need to use configuration mesh for this: https://developer.unigine.com/en/docs/2.6/code/cpp/plugins/syncker/ In 2.6.1.1 and 2.7 Syncker got really good improvements. Do you have plans for updating to a new version? How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
Recommended Posts