Logo
Explore Help
Register Sign In
Raspberries/upm
Public Access
2
0
Fork 0
You've already forked upm
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
67255596695d9a6d4f7416a8189649c9fe6d09d9
upm/src/lidarlitev3/javaupm_lidarlitev3.i

20 lines
395 B
OpenEdge ABL
Raw Normal View History

upm: enable LIDAR-Lite V3 Optical Distance Measurement sensor library and example LIDAR-Lite v3, a compact, high-performance optical distance measurement sensor from Garmin™. It is the ideal solution for drone, robot or unmanned vehicle applications. The library provided is libupm-lidarlitev3.so The example provided is lidarlitev3.cxx where it will print the distance of object/obstacle from the sensor. The image of the sensor is at docs/images/lidarlitev3.jpg Signed-off-by: Saloni Jain <saloni.jain@tcs.com> Signed-off-by: Niti Rohilla <niti.rohilla@tcs.com> Signed-off-by: Abhishek Malik <abhishek.malik@intel.com>
2017-04-07 09:58:26 +00:00
%module javaupm_lidarlitev3
%include "../upm.i"
%{
#include "lidarlitev3.hpp"
%}
%include "lidarlitev3.hpp"
%pragma(java) jniclasscode=%{
static {
try {
System.loadLibrary("javaupm_lidarlitev3");
} catch (UnsatisfiedLinkError e) {
System.err.println("Native code library failed to load. \n" + e);
System.exit(1);
}
}
%}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.1 Page: 101ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API