Mobsya / aseba

Aseba is a set of tools which allow beginners to program robots easily and efficiently. To contact us, please open an issue.
https://www.thymio.org
GNU Lesser General Public License v3.0
18 stars 22 forks source link

give custom names to tabs #50

Closed MobsyaBot closed 5 years ago

MobsyaBot commented 6 years ago

Issue by riedo Friday Dec 01, 2017 at 14:47 GMT Originally opened as https://github.com/aseba-community/aseba/issues/727


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)

MobsyaBot commented 6 years ago

Comment by davidjsherman Friday Dec 01, 2017 at 15:37 GMT


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.

MobsyaBot commented 6 years ago

Comment by cor3ntin Wednesday Dec 06, 2017 at 10:13 GMT


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.

MobsyaBot commented 6 years ago

Comment by davidjsherman Wednesday Dec 06, 2017 at 13:11 GMT


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.

cor3ntin commented 5 years ago

The robot can be named in the launcher and that name is used to name the tab in studio.