Die Suche ergab 9 Treffer

von martinzg
21 Okt 2019, 09:12
Forum: Robo Pro / Computing / Software
Thema: TXT, firmware>4.5.1 and Python
Antworten: 6
Zugriffe: 12675

Re: TXT, firmware>4.5.1 and Python

Hi! Yes, __del__ will be called by carbage collector. Even if you have circular references, you can call mark and sweep collector to collect unreachable objects. However, ftrobopy has background thread ftTXTexchange, and as long as it is running, ftrobopy object can't be collected. Even when you say...
von martinzg
20 Okt 2019, 19:21
Forum: Robo Pro / Computing / Software
Thema: TXT, firmware>4.5.1 and Python
Antworten: 6
Zugriffe: 12675

Re: TXT, firmware>4.5.1 and Python

Hi! A little update. When I was testing communications, my txt was already in strange state. When I restarted it, I discovered that program running on txt should not send StartOnline command. When python program sends StartOnline command, it is unloaded from GUI. As ftrobopy sends StartOnline at sta...
von martinzg
20 Okt 2019, 15:29
Forum: Robo Pro / Computing / Software
Thema: TXT, firmware>4.5.1 and Python
Antworten: 6
Zugriffe: 12675

Re: TXT, firmware>4.5.1 and Python

Hi! I was busy last few days, I didn't have time to play... About __del__, it is never called, probably because there are some circular references in ftrobopy. But there are other ways to make sure that stopOnline is called at the end of script. First way is to use atexit module. It will register fu...
von martinzg
15 Okt 2019, 13:14
Forum: Robo Pro / Computing / Software
Thema: TXT, firmware>4.5.1 and Python
Antworten: 6
Zugriffe: 12675

Re: TXT, firmware>4.5.1 and Python

@vleeuwen All those examples should work, but in my case they don't, I found two problems. I tried new build too, problems are present on both. 1. If I don't call stopOnline before exit, I won't be able to connect in direct mode again. This does not affect online mode, and it does not affect using d...
von martinzg
14 Okt 2019, 14:18
Forum: Robo Pro / Computing / Software
Thema: TXT, firmware>4.5.1 and Python
Antworten: 6
Zugriffe: 12675

Re: TXT, firmware>4.5.1 and Python

Hi! I'm not sure about the build version, but it is one that should work with RoboPro 4.5.1, I downloaded it few weeks ago. Until now I didn't know that there was new build of same version. Why wasn't it named 4.6.7?? I can try new build later... Thanks, Martin PS Last weekend we gave some kids in l...
von martinzg
14 Okt 2019, 10:55
Forum: Robo Pro / Computing / Software
Thema: TXT, firmware>4.5.1 and Python
Antworten: 6
Zugriffe: 12675

Re: TXT, firmware>4.5.1 and Python

Hi! I tried python on firmware 4.6.6, but it appears to be buggy. I started with minimal test program: #!/usr/bin/env python3 import ftrobopy import time txt = ftrobopy.ftrobopy('127.0.0.1') m = txt.motor(1) m.setSpeed(512) time.sleep(1) m.setSpeed(0) It works correct when I start it from ssh shell....
von martinzg
19 Sep 2019, 15:20
Forum: Robo Pro / Computing / Software
Thema: TXT wlan not working
Antworten: 5
Zugriffe: 6664

Re: TXT wlan not working

The update mechanisme has been changed after firmware 4.2.4. Only the firmware images >= 4.4.3 are sd-card bootable... So this is why I didn't find SD image of 4.2.4 on internet. :D ...From you description it is not clear to me if you also renew the WLAN setup after using a clean image... There is ...
von martinzg
18 Sep 2019, 14:40
Forum: Robo Pro / Computing / Software
Thema: TXT wlan not working
Antworten: 5
Zugriffe: 6664

Re: TXT wlan not working

Hi, guys! Thank you for answers! I will contact Fischertechnik, and let the club to decide if it is worth to send controllers to service. ... don't declare the controllers as broken. It's very very unlikely that all 5 fail at the same time.... ... PHabermehl, I didn't mean to throw them away, if the...
von martinzg
18 Sep 2019, 10:13
Forum: Robo Pro / Computing / Software
Thema: TXT wlan not working
Antworten: 5
Zugriffe: 6664

TXT wlan not working

Hi, all! I am trying to fix some TXT controllers from local robotics club, without success, and I hope someone might help me. I have five controllers with same problem, wifi hardware is not detected. All five controllers have firmware 4.4.4 installed. As far as I know, all five stoped working after ...