MultiSenseTypes.hh
Go to the documentation of this file.
1 
37 #ifndef LibMultiSense_MultiSenseTypes_hh
38 #define LibMultiSense_MultiSenseTypes_hh
39 
40 #include <stdint.h>
41 
42 #include <string>
43 #include <vector>
44 
45 //
46 // Add compatibility for C++ 11
47 #if __cplusplus > 199711L
48 // This compiler supports C++11.
49 #define CRL_CONSTEXPR constexpr
50 #else
51 // This compiler does not support C++11.
52 #define CRL_CONSTEXPR const
53 #endif
54 
55 // Define MULTISENSE_API appropriately. This is needed to correctly link with
56 // LibMultiSense when it is built as a DLL on Windows.
57 #if !defined(MULTISENSE_API)
58 #if defined (_MSC_VER)
59 #if defined (MultiSense_EXPORTS)
60 #define MULTISENSE_API __declspec(dllexport)
61 #else
62 #define MULTISENSE_API __declspec(dllimport)
63 #endif
64 #else
65 #define MULTISENSE_API
66 #endif
67 #endif
68 
69 #if defined (_MSC_VER)
70 /*
71  * C4251 warns about exporting classes with members not marked as __declspec(export).
72  * It is not easy to work around this without breaking the MultiSense API, but it
73  * is safe to ignore this warning as long as the MultiSense DLL is compiled with the
74  * same compiler version and STL version.
75  */
76 #pragma warning (push)
77 #pragma warning (disable: 4251)
78 #endif
79 
80 namespace crl {
81 namespace multisense {
82 
83 
87 typedef uint32_t VersionType;
88 
93 typedef int32_t Status;
94 
95 //
96 // General status codes
97 
98 static CRL_CONSTEXPR Status Status_Ok = 0;
99 static CRL_CONSTEXPR Status Status_TimedOut = -1;
100 static CRL_CONSTEXPR Status Status_Error = -2;
101 static CRL_CONSTEXPR Status Status_Failed = -3;
103 static CRL_CONSTEXPR Status Status_Unknown = -5;
104 static CRL_CONSTEXPR Status Status_Exception = -6;
105 
114 typedef uint32_t DataSource;
115 
116 static CRL_CONSTEXPR DataSource Source_Unknown = 0;
117 static CRL_CONSTEXPR DataSource Source_All = 0xffffffff;
118 static CRL_CONSTEXPR DataSource Source_Raw_Left = (1U<<0);
119 static CRL_CONSTEXPR DataSource Source_Raw_Right = (1U<<1);
120 static CRL_CONSTEXPR DataSource Source_Luma_Left = (1U<<2);
121 static CRL_CONSTEXPR DataSource Source_Luma_Right = (1U<<3);
122 static CRL_CONSTEXPR DataSource Source_Luma_Rectified_Left = (1U<<4);
123 static CRL_CONSTEXPR DataSource Source_Luma_Rectified_Right = (1U<<5);
124 static CRL_CONSTEXPR DataSource Source_Chroma_Left = (1U<<6);
125 static CRL_CONSTEXPR DataSource Source_Chroma_Right = (1U<<7);
126 static CRL_CONSTEXPR DataSource Source_Chroma_Rectified_Aux = (1U<<8);
127 static CRL_CONSTEXPR DataSource Source_Disparity = (1U<<10);
128 static CRL_CONSTEXPR DataSource Source_Disparity_Left = (1U<<10); // same as Source_Disparity
129 static CRL_CONSTEXPR DataSource Source_Disparity_Right = (1U<<11);
130 static CRL_CONSTEXPR DataSource Source_Disparity_Cost = (1U<<12);
131 static CRL_CONSTEXPR DataSource Source_Jpeg_Left = (1U<<16);
132 static CRL_CONSTEXPR DataSource Source_Rgb_Left = (1U<<17);
133 static CRL_CONSTEXPR DataSource Source_Lidar_Scan = (1U<<24);
134 static CRL_CONSTEXPR DataSource Source_Imu = (1U<<25);
135 static CRL_CONSTEXPR DataSource Source_Pps = (1U<<26);
136 static CRL_CONSTEXPR DataSource Source_Raw_Aux = (1U<<27);
137 static CRL_CONSTEXPR DataSource Source_Luma_Aux = (1U<<28);
138 static CRL_CONSTEXPR DataSource Source_Luma_Rectified_Aux = (1U<<29);
139 static CRL_CONSTEXPR DataSource Source_Chroma_Aux = (1U<<30);
140 static CRL_CONSTEXPR DataSource Source_Disparity_Aux = (1U<<31);
141 
147 
148 typedef uint32_t CameraProfile;
149 
151 static CRL_CONSTEXPR CameraProfile User_Control = 0;
153 static CRL_CONSTEXPR CameraProfile Detail_Disparity = 1;
155 static CRL_CONSTEXPR CameraProfile High_Contrast = 2;
156 
164 public:
165 
167  static CRL_CONSTEXPR uint16_t DFL_UDP_PORT = 10001;
168 
170  DataSource mask;
172  std::string address;
174  uint16_t udpPort;
176  uint32_t fpsDecimation;
177 
182 
195  DirectedStream(DataSource m,
196  const std::string& addr,
197  uint16_t p=DFL_UDP_PORT,
198  uint32_t dec=1) :
199  mask(m),
200  address(addr),
201  udpPort(p),
202  fpsDecimation(dec) {};
203 };
204 
205 /*
206  * Trigger sources used to determine which input should be used to trigger
207  * a frame capture on a device
208  */
209 typedef uint32_t TriggerSource;
210 
212 static CRL_CONSTEXPR TriggerSource Trigger_Internal = 0;
214 static CRL_CONSTEXPR TriggerSource Trigger_External = 1;
216 static CRL_CONSTEXPR TriggerSource Trigger_External_Inverted = 2;
218 static CRL_CONSTEXPR TriggerSource Trigger_PTP = 3;
219 
220 
221 
226 public:
231  virtual bool inMask(DataSource mask) { (void) mask; return true; };
232  virtual ~HeaderBase() {};
233 };
234 
235 namespace image {
236 
400 public:
401 
403  DataSource source;
405  uint32_t bitsPerPixel;
407  uint32_t width;
409  uint32_t height;
411  int64_t frameId;
413  uint32_t timeSeconds;
416 
418  uint32_t exposure;
420  float gain;
424  uint32_t imageLength;
426  const void *imageDataP;
427 
432  : source(Source_Unknown) {};
433 
438  virtual bool inMask(DataSource mask) { return (mask & source) != 0;};
439 };
440 
452 typedef void (*Callback)(const Header& header,
453  void *userDataP);
454 
541 public:
542 
543  //
544  // User configurable member functions
545 
554  void setResolution (uint32_t w,
555  uint32_t h) { m_width=w;m_height=h; };
556 
566  void setDisparities (uint32_t d) { m_disparities=d; };
567 
576  void setCamMode (int m) { m_cam_mode=m; };
577 
586  void setOffset (int o) { m_offset=o; };
587 
595  void setWidth (uint32_t w) { m_width = w; };
596 
604  void setHeight (uint32_t h) { m_height = h; };
605 
615  void setFps (float f) { m_fps = f; };
616 
623  void setGain (float g) { m_gain = g; };
624 
632  void setExposure (uint32_t e) { m_exposure = e; };
633 
640  void setAutoExposure (bool e) { m_aeEnabled = e; };
641 
648  void setAutoExposureMax (uint32_t m) { m_aeMax = m; };
649 
656  void setAutoExposureDecay (uint32_t d) { m_aeDecay = d; };
657 
665  void setAutoExposureThresh(float t) { m_aeThresh = t; };
666 
676  void setWhiteBalance (float r,
677  float b) { m_wbRed=r;m_wbBlue=b; };
678 
685  void setAutoWhiteBalance (bool e) { m_wbEnabled = e; };
686 
693  void setAutoWhiteBalanceDecay (uint32_t d) { m_wbDecay = d; };
694 
701  void setAutoWhiteBalanceThresh (float t) { m_wbThresh = t; };
702 
713  void setStereoPostFilterStrength(float s) { m_spfStrength = s; };
714 
725  void setHdr (bool e) { m_hdrEnabled = e; };
726 
736  void setStoreSettingsInFlash (bool e) {m_storeSettingsInFlash = e; };
737 
753  void setAutoExposureRoi(uint16_t start_x, uint16_t start_y, uint16_t width, uint16_t height)
754  {
755  m_autoExposureRoiX = start_x;
756  m_autoExposureRoiY = start_y;
757  m_autoExposureRoiWidth = width;
758  m_autoExposureRoiHeight = height;
759  }
760 
766  void setCameraProfile(const CameraProfile &profile)
767  {
768  m_profile = profile;
769  }
770 
771  //
772  // Query
773 
779  uint32_t width () const { return m_width; };
780 
787  uint32_t height () const { return m_height; };
788 
796  uint32_t disparities () const { return m_disparities; };
797 
804  int camMode () const { return m_cam_mode; };
805 
812  int offset () const { return m_offset; };
813 
820  float fps () const { return m_fps; };
821 
828  float gain () const { return m_gain; };
829 
830 
837  uint32_t exposure () const { return m_exposure; };
838 
845  bool autoExposure () const { return m_aeEnabled; };
846 
853  uint32_t autoExposureMax () const { return m_aeMax; };
854 
861  uint32_t autoExposureDecay () const { return m_aeDecay; };
862 
869  float autoExposureThresh() const { return m_aeThresh; };
870 
877  float whiteBalanceRed () const { return m_wbRed; };
878 
885  float whiteBalanceBlue () const { return m_wbBlue; };
886 
893  bool autoWhiteBalance () const { return m_wbEnabled; };
894 
901  uint32_t autoWhiteBalanceDecay () const { return m_wbDecay; };
902 
909  float autoWhiteBalanceThresh () const { return m_wbThresh; };
910 
917  float stereoPostFilterStrength() const { return m_spfStrength; };
918 
924  bool hdrEnabled () const { return m_hdrEnabled; };
925 
931  bool storeSettingsInFlash () const { return m_storeSettingsInFlash; };
932 
938  uint16_t autoExposureRoiX () const { return m_autoExposureRoiX; };
939 
945  uint16_t autoExposureRoiY () const { return m_autoExposureRoiY; };
946 
954  uint16_t autoExposureRoiWidth () const { return m_autoExposureRoiWidth; };
955 
963  uint16_t autoExposureRoiHeight () const { return m_autoExposureRoiHeight; };
964 
970  CameraProfile cameraProfile () const { return m_profile; };
971 
972  //
973  // Query camera calibration (read-only)
974  //
975  // These parameters are adjusted for the current operating resolution of the device.
976 
986  float fx() const { return m_fx; };
987 
997  float fy() const { return m_fy; };
998 
1009  float cx() const { return m_cx; };
1010 
1021  float cy() const { return m_cy; };
1022 
1031  float tx() const { return m_tx; };
1032 
1042  float ty() const { return m_ty; };
1043 
1053  float tz() const { return m_tz; };
1054 
1063  float roll() const { return m_roll; };
1064 
1073  float pitch() const { return m_pitch; };
1074 
1083  float yaw() const { return m_yaw; };
1084 
1089  Config() : m_fps(5.0f), m_gain(1.0f),
1090  m_exposure(10000), m_aeEnabled(true), m_aeMax(5000000), m_aeDecay(7), m_aeThresh(0.75f),
1091  m_wbBlue(1.0f), m_wbRed(1.0f), m_wbEnabled(true), m_wbDecay(3), m_wbThresh(0.5f),
1092  m_width(1024), m_height(544), m_disparities(128), m_cam_mode(0), m_offset(-1), m_spfStrength(0.5f),
1093  m_hdrEnabled(false), m_storeSettingsInFlash(false),
1094  m_autoExposureRoiX(0), m_autoExposureRoiY(0),
1095  m_autoExposureRoiWidth(Roi_Full_Image), m_autoExposureRoiHeight(Roi_Full_Image),
1096  m_profile(User_Control),
1097  m_fx(0), m_fy(0), m_cx(0), m_cy(0),
1098  m_tx(0), m_ty(0), m_tz(0), m_roll(0), m_pitch(0), m_yaw(0) {};
1099 private:
1100 
1101  float m_fps, m_gain;
1102  uint32_t m_exposure;
1104  uint32_t m_aeMax;
1105  uint32_t m_aeDecay;
1106  float m_aeThresh;
1107  float m_wbBlue;
1108  float m_wbRed;
1110  uint32_t m_wbDecay;
1111  float m_wbThresh;
1112  uint32_t m_width, m_height;
1113  uint32_t m_disparities;
1123  CameraProfile m_profile;
1124 
1125 protected:
1126 
1127  float m_fx, m_fy, m_cx, m_cy;
1128  float m_tx, m_ty, m_tz;
1129  float m_roll, m_pitch, m_yaw;
1130 };
1131 
1215 public:
1216 
1221  public:
1222 
1224  float M[3][3];
1227  float D[8];
1229  float R[3][3];
1231  float P[3][4];
1232  };
1233 
1240 };
1241 
1324 public:
1325 
1328  uint8_t adc_gain[2];
1329 
1332  int16_t bl_offset[2];
1333 
1336  uint8_t vramp[2];
1337 
1338 };
1339 
1341 public:
1342 
1344  int delay;
1345 
1346 };
1347 
1387 public:
1388 
1392  Histogram() : channels(0),
1393  bins(0),
1394  data() {};
1397  uint32_t channels;
1399  uint32_t bins;
1402  std::vector<uint32_t> data;
1403 };
1404 
1405 } // namespace image
1406 
1407 
1408 
1409 
1410 namespace lidar {
1411 
1413 typedef uint32_t RangeType;
1415 typedef uint32_t IntensityType;
1416 
1424 public:
1425 
1430  : pointCount(0) {};
1431 
1433  uint32_t scanId;
1439  uint32_t timeEndSeconds;
1447  int32_t scanArc;
1449  uint32_t maxRange;
1451  uint32_t pointCount;
1452 
1455  const RangeType *rangesP;
1458  const IntensityType *intensitiesP; // device units
1459 };
1460 
1470 typedef void (*Callback)(const Header& header,
1471  void *userDataP);
1472 
1554 public:
1555 
1558  float laserToSpindle[4][4];
1561  float cameraToSpindleFixed[4][4];
1562 };
1563 
1564 } // namespace lidar
1565 
1566 
1567 namespace lighting {
1568 
1570 static CRL_CONSTEXPR uint32_t MAX_LIGHTS = 8;
1572 static CRL_CONSTEXPR float MAX_DUTY_CYCLE = 100.0;
1573 
1660 public:
1661 
1670  void setFlash(bool onOff) { m_flashEnabled = onOff; };
1671 
1678  bool getFlash() const { return m_flashEnabled; };
1679 
1688  bool setDutyCycle(float percent) {
1689  if (percent < 0.0 || percent > MAX_DUTY_CYCLE)
1690  return false;
1691 
1692  std::fill(m_dutyCycle.begin(),
1693  m_dutyCycle.end(),
1694  percent);
1695  return true;
1696  };
1697 
1709  bool setDutyCycle(uint32_t i,
1710  float percent) {
1711  if (i >= MAX_LIGHTS ||
1712  percent < 0.0 || percent > MAX_DUTY_CYCLE)
1713  return false;
1714 
1715  m_dutyCycle[i] = percent;
1716  return true;
1717  };
1718 
1728  float getDutyCycle(uint32_t i) const {
1729  if (i >= MAX_LIGHTS)
1730  return 0.0f;
1731  return m_dutyCycle[i];
1732  };
1733 
1738  Config() : m_flashEnabled(false), m_dutyCycle(MAX_LIGHTS, -1.0f) {};
1739 
1740 private:
1741 
1742  bool m_flashEnabled;
1743  std::vector<float> m_dutyCycle;
1744 };
1745 
1783 public:
1784 
1791 
1792  SensorStatus() : ambientLightPercentage(100.0f) {};
1793 };
1794 
1795 } // namespace lighting
1796 
1797 
1798 
1799 
1800 namespace pps {
1801 
1812 public:
1813 
1815  int64_t sensorTime;
1816 
1818  uint32_t timeSeconds;
1821 };
1822 
1826 typedef void (*Callback)(const Header& header,
1827  void *userDataP);
1828 
1829 } // namespace pps
1830 
1831 
1832 namespace imu {
1833 
1839 public:
1840 
1842  typedef uint16_t Type;
1843 
1844  static CRL_CONSTEXPR Type Type_Accelerometer = 1;
1845  static CRL_CONSTEXPR Type Type_Gyroscope = 2;
1846  static CRL_CONSTEXPR Type Type_Magnetometer = 3;
1847 
1849  Type type;
1851  uint32_t timeSeconds;
1854 
1861  float x;
1862 
1869  float y;
1870 
1877  float z;
1878 
1885  double time() const {
1886  return (static_cast<double>(timeSeconds) +
1887  1e-6 * static_cast<double>(timeMicroSeconds));
1888  };
1889 };
1890 
1900 public:
1901 
1904  uint32_t sequence;
1908  std::vector<Sample> samples;
1909 };
1910 
1914 typedef void (*Callback)(const Header& header,
1915  void *userDataP);
1916 
1963 public:
1964 
1968  typedef struct {
1970  float sampleRate;
1973  } RateEntry;
1974 
1978  typedef struct {
1981  float range;
1983  float resolution;
1984  } RangeEntry;
1985 
1987  std::string name;
1989  std::string device;
1991  std::string units;
1993  std::vector<RateEntry> rates;
1995  std::vector<RangeEntry> ranges;
1996 };
1997 
2095 public:
2096 
2099  std::string name;
2101  bool enabled;
2104  uint32_t rateTableIndex;
2108 };
2109 
2110 } // namespace imu
2111 
2112 
2113 namespace system {
2114 
2140 public:
2141 
2143  uint32_t width;
2145  uint32_t height;
2149  int32_t disparities;
2150 
2162  DeviceMode(uint32_t w=0,
2163  uint32_t h=0,
2164  DataSource d=0,
2165  int32_t s=-1) :
2166  width(w),
2167  height(h),
2168  supportedDataSources(d),
2169  disparities(s) {};
2170 };
2171 
2209 public:
2210 
2212  std::string apiBuildDate;
2214  VersionType apiVersion;
2215 
2220 
2226  uint64_t sensorFpgaDna;
2227 
2232  apiVersion(0),
2233  sensorFirmwareVersion(0),
2234  sensorHardwareVersion(0),
2235  sensorHardwareMagic(0),
2236  sensorFpgaDna(0) {};
2237 };
2238 
2244 public:
2245 
2247  std::string name;
2249  uint32_t revision;
2250 
2254  PcbInfo() : revision(0) {};
2255 };
2256 
2295 public:
2296 
2298  static CRL_CONSTEXPR uint8_t MAX_PCBS = 8;
2299 
2300  static CRL_CONSTEXPR uint32_t HARDWARE_REV_MULTISENSE_SL = 1;
2301  static CRL_CONSTEXPR uint32_t HARDWARE_REV_MULTISENSE_S7 = 2;
2302  static CRL_CONSTEXPR uint32_t HARDWARE_REV_MULTISENSE_S = HARDWARE_REV_MULTISENSE_S7; // alias for backward source compatibility
2303  static CRL_CONSTEXPR uint32_t HARDWARE_REV_MULTISENSE_M = 3;
2304  static CRL_CONSTEXPR uint32_t HARDWARE_REV_MULTISENSE_S7S = 4;
2305  static CRL_CONSTEXPR uint32_t HARDWARE_REV_MULTISENSE_S21 = 5;
2306  static CRL_CONSTEXPR uint32_t HARDWARE_REV_MULTISENSE_ST21 = 6;
2307  static CRL_CONSTEXPR uint32_t HARDWARE_REV_MULTISENSE_C6S2_S27 = 7;
2308  static CRL_CONSTEXPR uint32_t HARDWARE_REV_MULTISENSE_S30 = 8;
2309  static CRL_CONSTEXPR uint32_t HARDWARE_REV_MULTISENSE_S7AR = 9;
2310  static CRL_CONSTEXPR uint32_t HARDWARE_REV_MULTISENSE_KS21 = 10;
2311  static CRL_CONSTEXPR uint32_t HARDWARE_REV_BCAM = 100;
2312  static CRL_CONSTEXPR uint32_t HARDWARE_REV_MONO = 101;
2313 
2314  static CRL_CONSTEXPR uint32_t IMAGER_TYPE_CMV2000_GREY = 1;
2315  static CRL_CONSTEXPR uint32_t IMAGER_TYPE_CMV2000_COLOR = 2;
2316  static CRL_CONSTEXPR uint32_t IMAGER_TYPE_CMV4000_GREY = 3;
2317  static CRL_CONSTEXPR uint32_t IMAGER_TYPE_CMV4000_COLOR = 4;
2318  static CRL_CONSTEXPR uint32_t IMAGER_TYPE_IMX104_COLOR = 100;
2319  static CRL_CONSTEXPR uint32_t IMAGER_TYPE_AR0234_GREY = 200;
2320  static CRL_CONSTEXPR uint32_t IMAGER_TYPE_AR0239_COLOR = 202;
2321 
2322  static CRL_CONSTEXPR uint32_t LIGHTING_TYPE_NONE = 0;
2323  static CRL_CONSTEXPR uint32_t LIGHTING_TYPE_SL_INTERNAL = 1;
2324  static CRL_CONSTEXPR uint32_t LIGHTING_TYPE_S21_EXTERNAL = 2;
2325 
2327  std::string name;
2329  std::string buildDate;
2331  std::string serialNumber;
2334 
2336  std::vector<PcbInfo> pcbs;
2337 
2339  std::string imagerName;
2341  uint32_t imagerType;
2343  uint32_t imagerWidth;
2345  uint32_t imagerHeight;
2346 
2348  std::string lensName;
2350  uint32_t lensType;
2357 
2359  uint32_t lightingType;
2361  uint32_t numberOfLights;
2362 
2364  std::string laserName;
2366  uint32_t laserType;
2367 
2369  std::string motorName;
2371  uint32_t motorType;
2374 
2379  hardwareRevision(0),
2380  imagerType(0),
2381  imagerWidth(0),
2382  imagerHeight(0),
2383  lensType(0),
2384  nominalBaseline(0.0),
2385  nominalFocalLength(0.0),
2386  nominalRelativeAperture(0.0),
2387  lightingType(0),
2388  numberOfLights(0),
2389  laserType(0),
2390  motorType(0),
2391  motorGearReduction(0.0) {};
2392 };
2393 
2462 public:
2463 
2465  std::string ipv4Address;
2467  std::string ipv4Gateway;
2469  std::string ipv4Netmask;
2470 
2475  ipv4Address("10.66.171.21"),
2476  ipv4Gateway("10.66.171.1"),
2477  ipv4Netmask("255.255.240.0") {};
2478 
2488  NetworkConfig(const std::string& a,
2489  const std::string& g,
2490  const std::string& n) :
2491  ipv4Address(a),
2492  ipv4Gateway(g),
2493  ipv4Netmask(n) {};
2494 };
2495 
2533  public:
2534 
2537  double uptime;
2538 
2541  bool systemOk;
2542 
2545  bool laserOk;
2546 
2550 
2554 
2557  bool imuOk;
2558 
2562 
2565 
2569 
2572 
2575 
2578 
2581 
2585 
2587  float fpgaPower;
2588 
2590  float logicPower;
2591 
2594 
2597  uptime(0.),
2598  systemOk(false),
2599  laserOk(false),
2600  laserMotorOk(false),
2601  camerasOk(false),
2602  imuOk(false),
2603  externalLedsOk(false),
2604  processingPipelineOk(false),
2605  powerSupplyTemperature(0.),
2606  fpgaTemperature(0.),
2607  leftImagerTemperature(0.),
2608  rightImagerTemperature(0.),
2609  inputVoltage(0.),
2610  inputCurrent(0.),
2611  fpgaPower(0.),
2612  logicPower(0.),
2613  imagerPower(0.) {};
2614 };
2615 
2696  public:
2697 
2699  float x;
2700 
2702  float y;
2703 
2705  float z;
2706 
2708  float roll;
2709 
2711  float pitch;
2712 
2714  float yaw;
2715 
2718  x(0.),
2719  y(0.),
2720  z(0.),
2721  roll(0.),
2722  pitch(0.),
2723  yaw(0.) {};
2724 };
2725 
2730 };
2731 
2732 } // namespace system
2733 } // namespace multisense
2734 } // namespace crl
2735 
2736 #if defined (_MSC_VER)
2737 #pragma warning (pop)
2738 #endif
2739 
2740 #endif // LibMultiSense_MultiSenseTypes_hh
#define CRL_CONSTEXPR
d
static CRL_CONSTEXPR DataSource Source_Disparity_Cost
static CRL_CONSTEXPR DataSource Source_Luma_Aux
virtual bool inMask(DataSource mask)
std::vector< RangeEntry > ranges
NetworkConfig(const std::string &a, const std::string &g, const std::string &n)
static CRL_CONSTEXPR DataSource Source_Disparity_Right
static CRL_CONSTEXPR DataSource Source_Disparity_Left
DirectedStream(DataSource m, const std::string &addr, uint16_t p=DFL_UDP_PORT, uint32_t dec=1)
static CRL_CONSTEXPR DataSource Source_Jpeg_Left
static CRL_CONSTEXPR CameraProfile Detail_Disparity
void setAutoWhiteBalanceDecay(uint32_t d)
static CRL_CONSTEXPR DataSource Source_Disparity
f
static CRL_CONSTEXPR TriggerSource Trigger_Internal
static CRL_CONSTEXPR TriggerSource Trigger_PTP
std::vector< Sample > samples
static CRL_CONSTEXPR DataSource Source_Chroma_Left
#define MULTISENSE_API
CameraProfile cameraProfile() const
static CRL_CONSTEXPR Status Status_Unsupported
float getDutyCycle(uint32_t i) const
static CRL_CONSTEXPR TriggerSource Trigger_External
static CRL_CONSTEXPR DataSource Source_Luma_Left
void setResolution(uint32_t w, uint32_t h)
bool setDutyCycle(uint32_t i, float percent)
std_msgs::Header * header(M &m)
static CRL_CONSTEXPR Status Status_Failed
uint16_t autoExposureRoiHeight() const
uint32_t autoWhiteBalanceDecay() const
static CRL_CONSTEXPR DataSource Source_Luma_Rectified_Aux
static CRL_CONSTEXPR DataSource Source_Lidar_Scan
static CRL_CONSTEXPR DataSource Source_Luma_Right
const IntensityType * intensitiesP
static CRL_CONSTEXPR DataSource Source_Imu
std::vector< RateEntry > rates
Definition: channel.cc:56
virtual bool inMask(DataSource mask)
static CRL_CONSTEXPR Status Status_TimedOut
static CRL_CONSTEXPR float MAX_DUTY_CYCLE
static CRL_CONSTEXPR Status Status_Ok
static CRL_CONSTEXPR DataSource Source_Chroma_Aux
static CRL_CONSTEXPR DataSource Source_Pps
static CRL_CONSTEXPR DataSource Source_Rgb_Left
static CRL_CONSTEXPR CameraProfile User_Control
static CRL_CONSTEXPR TriggerSource Trigger_External_Inverted
uint16_t autoExposureRoiWidth() const
static CRL_CONSTEXPR CameraProfile High_Contrast
DeviceMode(uint32_t w=0, uint32_t h=0, DataSource d=0, int32_t s=-1)
void setWhiteBalance(float r, float b)
static CRL_CONSTEXPR DataSource Source_Unknown
void setAutoExposureRoi(uint16_t start_x, uint16_t start_y, uint16_t width, uint16_t height)
static CRL_CONSTEXPR DataSource Source_Chroma_Rectified_Aux
static CRL_CONSTEXPR DataSource Source_Raw_Right
static CRL_CONSTEXPR DataSource Source_Raw_Left
static CRL_CONSTEXPR uint32_t MAX_LIGHTS
static CRL_CONSTEXPR DataSource Source_Luma_Rectified_Right
void(* Callback)(const Header &header, void *userDataP)
static CRL_CONSTEXPR Status Status_Exception
static CRL_CONSTEXPR DataSource Source_Raw_Aux
static CRL_CONSTEXPR DataSource Source_Disparity_Aux
static CRL_CONSTEXPR Status Status_Error
static CRL_CONSTEXPR int Roi_Full_Image
static CRL_CONSTEXPR DataSource Source_Chroma_Right
static CRL_CONSTEXPR DataSource Source_All
static CRL_CONSTEXPR Status Status_Unknown
void setCameraProfile(const CameraProfile &profile)
static CRL_CONSTEXPR DataSource Source_Luma_Rectified_Left


multisense_lib
Author(s):
autogenerated on Sun Mar 14 2021 02:34:50