ZVISION SDK developed based on c++ provide a convenient way to use the zvision production. You can communicate with the device and get the device's info, including but not limited to pointcloud and configuration.
- Ubuntu 14.04/Ubuntu 16.04/Ubuntu 18.04/Ubuntu 20.04, both x86 and ARM (Nvidia TX2)
- Windows 7/10, Visual Studio 2015 Update3
- C++11 compiler
ZVISION SDK implement the main function to configure device's function.
For user's reference, SAMPLE tell you how to set device's parameter, how to get pointcloud data from the device.
CMake 3.0.0+ is required. You can install these packages using apt:
sudo apt install cmake pkg-config
In the ZVISION SDK directory, run the following commands to compile the project:
git clone https://github.com/zvision-lidar/zvision_sdk.git
cd zvision_sdk
mkdir build
cd build && cmake ..
make
sudo make install
ZVISION SDK supports Visual Studio 2015 and requires install CMake 3.0.0+ as dependencies.
In the ZVISION SDK directory, run the following commands to create the Visual Studio solution file. Generate the 64-bit project:
cd zvision_sdk
cd build && \
cmake .. -G "Visual Studio 14 2015 Win64"
You can now compile the SDK in Visual Studio.
Two samples are provided in sample/lidar_config and Sample/pointcloud
For Ubuntun 20.04/18.04/16.04/14.04 LTS, run the pointcloud_sample if connect with the LiDAR
cd sample/pointcloud && ./pointcloud_sample
or run the lidarconfig_sample if connect with the LiDAR:
cd sample/lidar_config && ./lidarconfig_sample
After compiling the ZVISION SDK, you can find pointcloud_sample.exe
or lidarconfig_sample.exe
in the {zvision_sdk}\build\sample\pointcloud\Debug or {zvision_sdk-SDK}\build\sample\lidar_config\Debug folder, respectively, which can be run directly.