Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

So I did this:

    double h_time = double(h.stamp.sec) + double(h.stamp.nsec)*1e-9;

Basically the same what the function does: 00093 double toSec() const { return (double)sec + 1e-9*(double)nsec; };