Skip to content

Accurate tracking of realtime timestamp #792

Open
@mpatalberta

Description

@mpatalberta

In the depthpackaetprocess,h can I safely add a int64_t value.
(see below)
#ifndef DEPTH_PACKET_PROCESSOR_H_
#define DEPTH_PACKET_PROCESSOR_H_

#include <stddef.h>
#include <stdint.h>

#include <libfreenect2/config.h>
#include <libfreenect2/libfreenect2.hpp>
#include <libfreenect2/frame_listener.hpp>
#include <libfreenect2/packet_processor.h>

namespace libfreenect2
{

/** Data packet with depth information. */
struct DepthPacket
{
uint32_t sequence;
uint32_t timestamp;
unsigned char *buffer; ///< Depth data.
size_t buffer_length; ///< Size of depth data.

Buffer *memory;

int64_t myTimeNOW;/// realworld tick count <<<<< new field
};

Expected Results:

Reproducibility:

Additional Information:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions