aseba-community / aseba

Aseba is a set of tools which allow beginners to program robots easily and efficiently. To contact us, please open an issue.
http://aseba.wikidot.com
GNU Lesser General Public License v3.0
48 stars 62 forks source link

give custom names to tabs #727

Open riedo opened 6 years ago

riedo commented 6 years ago

It could be convenient to give custom names to tabs or to windows when working on several robots at the same time to find which is which. (for example If I use a simulated R2T2 playground and have several Studio connected to different Thymio, it starts to be confusing)

davidjsherman commented 6 years ago

We would want this information associated with the target and made available using Zeroconf. As with #724, we need to define what node description data needs to be associated with every node.

Currently we associate the following information with each node:

The name is the Zeroconf mDNS name, the other four are stored in the TXT record.

The name can be freely modified. I think that the Studio tab label and the node name should be the same.

cor3ntin commented 6 years ago

Another idea would be to set a name for each thymio on the robot memory, complementing the pid. The name could be changed from the connection window.

davidjsherman commented 6 years ago

I think that the proper place to put the name, is in the entity that will be handling Zeroconf responses. For the Thymio IIs this is the Switch (although it could be the Studio if some day we add web bridge to Studio).

A dedicated Switch in a classroom could remember an id--name mapping, but honestly I expect that students will be renaming the robots all of the time, so forgetting the robot names could actually be seen as a feature.

The Thymio Wifi would presumably handle Zeroconf itself, and would have memory available to store the name. If that were desirable.