TheRoboticsClub / colab-gsoc2019-Baidyanath_Kundu

3 stars 1 forks source link

Design discussion for Online Importer and Exporter #3

Open sudo-panda opened 5 years ago

sudo-panda commented 5 years ago

Week 4 discussion points:

sudo-panda commented 5 years ago

Week 5 discussion:

sudo-panda commented 5 years ago

Do we put any restrictions on the name of the behaviour?

pushkalkatara commented 5 years ago

Hi @sudo-panda,

sudo-panda commented 5 years ago

I would like to suggest a naming guideline: User would enter only lower case characters with spaces E.g. prius lane follower

Any other suggestions?

pushkalkatara commented 5 years ago

Yes, the naming guideline looks good. I checked the current implementation. The exporter is not creating folders while making a PR.

sudo-panda commented 5 years ago

Sir @pushkalkatara, sorry I don't understand. I can see an ExportText folder being created on the PR could you elaborate or recheck.

pushkalkatara commented 5 years ago

Oops. I rechecked. Yes, the folder exists. We'll keep it that way only.

sudo-panda commented 5 years ago

Sirs, I can't find any workaround for the freezing up of the tool (VisualStates window turning black) while we are downloading files. Threading doesn't seem to work in this case as either we need to wait for the thread to finish or the Exporter window closes before it has finished exporting. In the case of Importer if we run the downloading and generating of the list in a different thread than the one used for drawing the window it is unable to display the list as the parent is in another thread. Any idea on how to tackle this problem?

okanasik commented 5 years ago

I have small suggestions for naming conventions. I think it is not a good practice to have space character in folder and file names. It is due to the inconvenience of command line operations.

pushkalkatara commented 5 years ago

Sirs, I can't find any workaround for the freezing up of the tool (VisualStates window turning black) while we are downloading files. Threading doesn't seem to work in this case as either we need to wait for the thread to finish or the Exporter window closes before it has finished exporting. In the case of Importer if we run the downloading and generating of the list in a different thread than the one used for drawing the window it is unable to display the list as the parent is in another thread. Any idea on how to tackle this problem?

How did you implement threading, can you reference the source code? Did you try using QThreads? Maybe this could help - https://stackoverflow.com/questions/6783194/background-thread-with-qthread-in-pyqt