Revision 32327f15 src/gaze_state.cpp

View differences:

src/gaze_state.cpp
56 56

  
57 57
void GazeState::dump(){
58 58
    //dump values to stdout:
59
    printf("> GAZE STATE: %4.2f [%2.1f] %4.2f [%2.1f] %4.2f [%2.1f] (PTR) vergence=%4.2f eyelid_opening=%4.2f/%4.2f eyebrows = %4.2f %4.2f type=%s eyeblink_requests=%d %d\n",
59
    printf("> GAZE STATE: %4.2f [%2.1f] %4.2f [%2.1f] %4.2f [%2.1f] (PTR) vergence=%4.2f eyelid_opening=%4.2f/%4.2f eyebrows = %4.2f %4.2f type=%s [ts=%.3f] eyeblink_requests=%d %d\n",
60 60
           pan, pan_offset, tilt, tilt_offset, roll, roll_offset, vergence,
61 61
           eyelid_opening_upper,eyelid_opening_lower,
62 62
           eyebrow_left, eyebrow_right,
63 63
           (gaze_type==GAZETYPE_ABSOLUTE?"absolute":(gaze_type==GAZETYPE_RELATIVE?"relative":(gaze_type==GAZETYPE_OVERRIDE?"override":"!INVALID!"))),
64
           timestamp.to_seconds(),
64 65
           eyeblink_request_left, eyeblink_request_right
65 66
           );
66 67
}

Also available in: Unified diff