conversion.h
Go to the documentation of this file.
1 #pragma once
2 
4 
6 
7 #include "nxLib.h"
8 
10 {
11 double nxLibToRosTimestamp(double const& timestamp, bool isFileCamera = false);
12 
13 double nxLibToPclTimestamp(double const& timestamp, bool isFileCamera = false);
14 
15 // Internally units are used with millimeters instead of meters, but ROS uses meters most often.
16 const int conversionFactor = 1000;
17 
18 geometry_msgs::msg::Point32 toRosPoint(NxLibItem const& itemArray, bool convertUnits = true);
19 
20 NxLibItem toEnsensoPoint(geometry_msgs::msg::Point32 const& point, bool convertUnits = true);
21 
22 } // namespace ensenso_conversion
NxLibItem toEnsensoPoint(geometry_msgs::msg::Point32 const &point, bool convertUnits=true)
Definition: conversion.cpp:71
double nxLibToPclTimestamp(double const &timestamp, bool isFileCamera=false)
Definition: conversion.cpp:46
const int conversionFactor
Definition: conversion.h:16
double nxLibToRosTimestamp(double const &timestamp, bool isFileCamera=false)
Definition: conversion.cpp:41
geometry_msgs::msg::Point32 toRosPoint(NxLibItem const &itemArray, bool convertUnits=true)
Definition: conversion.cpp:52


ensenso_camera
Author(s): Ensenso
autogenerated on Sat Jun 3 2023 02:17:04