Problem with Servo and TXT 4.0 Controller

Alles rund um TX(T) und RoboPro, mit ft-Hard- und Software
Computing using original ft hard- and software
Forumsregeln
Bitte beachte die Forumsregeln!
Antworten
mario
Beiträge: 18
Registriert: 17 Aug 2016, 19:24

Problem with Servo and TXT 4.0 Controller

Beitrag von mario » 22 Nov 2024, 18:14

hallo

When I use in a Python program a servo (type 203659 or type 1322920) connected into the desired servo output (S1 or S2 or S3), I get in a running program a FEHLER:
or controller is unter der Adresse nicht errecichbar
or Laufende Processen auf den Controller werden gestoppt

What can be the reason ??
Firmwareversie 3.1.7


kind regards
Rien van Harmelen

mario
Beiträge: 18
Registriert: 17 Aug 2016, 19:24

Re: Problem with Servo and TXT 4.0 Controller

Beitrag von mario » 24 Nov 2024, 15:21

I have "solved" the problem by changing the max/min values in set_position()

the MAX_POSITION = 500( in stead of 512) and MIN _POSITION = 10 ( instead of 0)

Antworten