acfr / snark

generic c++ libraries and utilities for robotics
Other
69 stars 41 forks source link

points-frame --output-frame option has low precision for x,y,z #63

Open junderwood opened 10 years ago

junderwood commented 10 years ago

The following text output may be hard to view here, but it should be clear.... Looks like when using the output-frame option (at least with csv data), the frame is output has poor precision on the xyz component. In the example below, the output is t,x,y,z,x,y,z,r,p,y Where the first xyz is the georeferenced '0' and the second xyz is the output frame...

j.underwood@gumtree ~/data/tropics/lychees $ echo 20131204T043541.910212,0,0,0| points-frame --from=novatel.csv --output-frame | head 20131204T043541.910212,8107674.58815,328519.724002,-617.753425212,8.10767e+006,328520,-617.753,0.0251974,-0.040811,-2.06725

vlaskine commented 10 years ago

it may take a few hours to a day to fix, therefore it needs to be planned

meanwhile, you could try to use csv-time-join instead; this, however, will not do frame interpolation (but even that can be achieved with a couple of lines (as me how, if you need)

the other workaround to try: run points-frame --binary... | csv-from-bin ..., since then there will be no precision loss (please report, if there)