Function ouster::sdk::pcap::next_packet_info

Function Documentation

bool ouster::sdk::pcap::next_packet_info(PlaybackHandle &handle, PacketInfo &info)

Return the information on the next packet avaliable in the PlaybackHandle.

This must be called BEFORE calling the read_next_packet function.

Deprecated:

Use “PcapPacketSource” instead. The last supported version for this will be 1.0.0 .

Parameters:
  • handle[in] The playback handle.

  • info[out] The returned information on the next packet.

Returns:

The status on whether there is a new packet or not.