conversion.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <geometry_msgs/Point32.h>
4 
5 #include "nxLib.h"
6 
8 {
9 // Internally units are used with millimeters instead of meters, but ROS uses
10 // meters most often.
11 const int conversionFactor = 1000;
12 
13 geometry_msgs::Point32 toRosPoint(NxLibItem const& itemArray, bool convertUnits = true);
14 
15 NxLibItem toEnsensoPoint(geometry_msgs::Point32 const& point, bool convertUnits = true);
16 
17 } // namespace ensenso_conversion
NxLibItem toEnsensoPoint(geometry_msgs::Point32 const &point, bool convertUnits=true)
Definition: conversion.cpp:24
geometry_msgs::Point32 toRosPoint(NxLibItem const &itemArray, bool convertUnits=true)
Definition: conversion.cpp:5
const int conversionFactor
Definition: conversion.h:11


ensenso_camera
Author(s): Ensenso
autogenerated on Thu May 6 2021 02:50:06