Coder Social home page Coder Social logo

zhuhaijun753 / hesailidar_general_sdk Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hesaitechnology/hesailidar_general_sdk

0.0 0.0 0.0 39 KB

Development Kit for PandarXT PandarQT Pandar64 Pandar40P Pandar40M Pandar20A Pandar20B

License: BSD 2-Clause "Simplified" License

CMake 1.04% C++ 87.09% C 11.87%

hesailidar_general_sdk's Introduction

HesaiLidar_General_SDK

About the project

HesaiLidar_General_SDK project is the software development kit for: Pandar40P/Pandar64/Pandar20A/Pandar20B/PandarQT/Pandar40M/PandarXT LiDAR sensor manufactured by Hesai Technology.

Environment and Dependencies

System environment requirement: Linux + G++ 7.0 or above Library Dependencies: libpcap-dev + libyaml-cpp-dev

$ sudo apt install libpcap-dev libyaml-cpp-dev

Clone

$ git clone https://github.com/HesaiTechnology/HesaiLidar_General_SDK.git

Build

$ cd HesaiLidar_General_SDK
$ mkdir build
$ cd build
$ cmake ..
$ make

Add to your project

Cmake

add_subdirectory(<path_to>HesaiLidar_General_SDK)

include_directories(
	<path_to>HesaiLidar_General_SDK/include
	<path_to>HesaiLidar_General_SDK/src/PandarGeneralRaw/include
)

target_link_libraries(<Your project>
  PandarGeneralSDK
)

C++

#include "pandarGeneral_sdk/pandarGeneral_sdk.h"
// for Pandar40P
PandarGeneralSDK pandarGeneral(std::string("192.168.1.201"), 2368, 10110, \
    lidarCallback, gpsCallback, 0, 0, 1, std::string("Pandar40P"));
// for Pandar64
PandarGeneralSDK pandarGeneral(std::string("192.168.1.201"), 2368, 10110, \
    lidarCallback, gpsCallback, 0, 0, 1, std::string("Pandar64"));
// for Pandar20A
PandarGeneralSDK pandarGeneral(std::string("192.168.1.201"), 2368, 10110, \
    lidarCallback, gpsCallback, 0, 0, 1, std::string("Pandar20A"));
// for Pandar20B
PandarGeneralSDK pandarGeneral(std::string("192.168.1.201"), 2368, 10110, \
    lidarCallback, gpsCallback, 0, 0, 1, std::string("Pandar20B"));
// for PandarQT
PandarGeneralSDK pandarGeneral(std::string("192.168.1.201"), 2368, 10110, \
    lidarCallback, gpsCallback, 0, 0, 1, std::string("PandarQT"));
// for Pandar40M
PandarGeneralSDK pandarGeneral(std::string("192.168.1.201"), 2368, 10110, \
    lidarCallback, gpsCallback, 0, 0, 1, std::string("Pandar40M"));
// for PandarXT-32
PandarGeneralSDK pandarGeneral(std::string("192.168.1.201"), 2368, 10110, \
    lidarCallback, gpsCallback, 0, 0, 1, std::string("PandarXT-32"));
// for PandarXT-16
PandarGeneralSDK pandarGeneral(std::string("192.168.1.201"), 2368, 10110, \
    lidarCallback, gpsCallback, 0, 0, 1, std::string("PandarXT-16"));

hesailidar_general_sdk's People

Contributors

felix-hesaitech avatar fanglingwen-hesai avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.