Closed bmegli closed 7 years ago
Already working in snapshot branch but:
This is good enough for what I need now.
Now I need gyroscope/odometry corrected snapshots (non-stationary, during movement)
This can be either:
Global reference frame seems easier to implement now.
Implemented in #50 including:
This implementation still can result in scans from 2 revolultions mixed.
The reasons may be following:
In 960 scans taken around 3 were corrupted this way. This has to be fixed now, it will be extremely difficult to spot when scanning continously.
Ok, this is how problem manifests (in snapshots, it doesn't affect the main mapping engine)
This is what should be seen (this is next snapshot):
This is what I get:
So it seems that one or 2 UDP packets have not yet been converted to global reference frame when dumping snapshot
Ok, I believe this is what is happening:
The reason this happens is timing - we are not on real time OS and always some lag (even unlikely) is possible.
I can either:
The second aproach taken:
As a side effect now also thread internal/thread shared data push has to be circular
Add possibility to take 360 degree snapshots from lasers to simple csv files.
For now: