Go to the documentation of this file.
4 #ifndef __RS_CONVERTER_CONVERTER_BIN_H
5 #define __RS_CONVERTER_CONVERTER_BIN_H
11 #include "../converter.hpp"
49 uint32_t exponent = shift + ((1 << 7) - 1);
51 ieee754 = (sign << 31) | (exponent << 23) | mantissa;
54 buffer[0] = ieee754 & 0xff;
55 buffer[1] = (ieee754 >> 8) & 0xff;
56 buffer[2] = (ieee754 >> 16) & 0xff;
57 buffer[3] = (ieee754 >> 24) & 0xff;
71 return "BIN converter";
93 <<
"_" << std::setprecision(14) << std::fixed << depthframe.
get_timestamp()
96 std::stringstream metadata_file;
99 <<
"_metadata_" << std::setprecision(14) << std::fixed << depthframe.
get_timestamp()
106 [filenameS, metadataS, depthframe] {
float get_distance(int x, int y) const
unsigned long long get_frame_number() const
GLsizei const GLchar *const * string
std::string stream_name() const
rs2_stream stream_type() const
double get_timestamp() const
stream_profile get_profile() const
rs2_stream
Streams are different types of data provided by RealSense devices.
librealsense2
Author(s): LibRealSense ROS Team
autogenerated on Fri Aug 2 2024 08:30:01