I’m wondering why my code does not write all the poses into the .txt file.
Since I had no idea in this particular case i was rude and copied your solution.
After calling the service with the label “end” it runs successfully but in the end no data is written.
I was wondering if i need to be in the right path, if the file has to exist and tried out a lot but unfortunatly nothing was working for me.
Thank you so much for the help you guys are great