texx00 / sandypi

The ultimate controller for sand tables
Other
28 stars 4 forks source link

Feeder is not sending lines when requested by the table #1

Closed texx00 closed 3 years ago

texx00 commented 4 years ago

The feeder class is checking if the drawing device is asking for lost lines but for some reason is not able to send them back correctly

texx00 commented 3 years ago

With this commit the "resend" request is fulfilled correctly. Still there are some performance issues with very intricate geometries/lot of close points

texx00 commented 3 years ago

Should check the lenght of the buffer before releasing the lock here? https://github.com/texx00/sandypi/blob/6067ce74596a0ceab1e2962a52a0e5628433e58c/NCFeeder/feeder.py#L223

texx00 commented 3 years ago

Should check the lenght of the buffer before releasing the lock here? https://github.com/texx00/sandypi/blob/6067ce74596a0ceab1e2962a52a0e5628433e58c/NCFeeder/feeder.py#L223

Fixed some problems but still not a solution... May have problems with serial speed... May try to read before sending:

https://github.com/texx00/sandypi/blob/dea56f394e7e9cbdf554cd6e002155f0d8442a9c/NCFeeder/feeder.py#L374

texx00 commented 3 years ago

Should be fixed in #17