Skip to main content

Use PandarView

1 Overview​

PandarView2 is the official point cloud visualization and debugging tool provided by Hesai. It supports real-time visualization, recording and playback of lidar point clouds, data export and analysis, serial connection verification, and other functions. This tool is compatible with all series of Hesai lidar products.

2 Common Operation Instructions​

2.1 Download and Installation​

The latest version of the PandarView2 software and its User Manual can be downloaded from the Hesai official website. For information on system requirements (Windows, Ubuntu), hardware and driver configurations, supported lidar models and installation notes, please refer to the PandarView2 User Manual.

Note: On Ubuntu systems, the PandarView2 installation file is in .bin format. To install, navigate to the directory containing the .bin file and run the following commands:

sudo chmod +x PandarView_Release_Ubuntu_V2.1.7.bin # Replace with the actual version of the PandarView2 installation file
sudo ./PandarView_Release_Ubuntu_V2.1.7.bin

After successful installation, run the PandarView2 software using the following command in the installation directory:

Before using PandarView2 to display point clouds, ensure that:

  • The lidar is functioning properly.
  • The hardware setup is correct: connection box, Ethernet cable, power adapter.
  • The PC can receive UDP data packets from the lidar (this can be verified using Wireshark).

2.2 Connect Devices and Parse Data​

2.2.1 Startup and Connection​

After starting PandarView2, click the second icon from the left in the toolbar (as shown in the figure below) to enter the data connection settings:

The second icon from the left in the PandarView2 toolbar (data connection entry)

PandarView2 supports the following four methods to obtain point cloud data for playback:

  1. Listen Net: Real-time reception of point clouds via Ethernet port
  2. Serial Port: Real-time reception of point clouds via serial port (e.g., JT16)
  3. Pcap File: Read saved .pcap files for offline playback
  4. Listen Net From TCP: Receive point clouds via TCP interface
Data connection settings interface

Taking "Listen Net" as an example, after completing the configuration as shown in the figure below, click OK, and PandarView2 will automatically try to establish a connection.

Connection parameter configuration in Listen Net mode

The meanings of the configuration parameters shown in the figure are described as follows:

Parameter NameMeaning
UDP PortUDP port for lidar point cloud data packets
PTC PortControl channel port, used for parameter configuration
Host PTC PortTCP control port monitored by the local machine
Fault Message PortUDP port for receiving lidar fault codes
Multicast IPMulticast address that needs to be filled in when working in multicast mode
SomeIP SubscribeWhether to enable SomeIP protocol subscription (used for communication with in-vehicle domain controllers)
Host IPIP address of the host computer
Device IPFixed IP address of the lidar device
Set Standby ModeEnter the lidar standby mode

When connecting to the lidar, make sure the UDP port is correct. The UDP Port can be viewed using Wireshark:

View the UDP port of lidar point cloud packets via Wireshark

The IP address of the host must be in the same network segment as the IP address of the lidar, and the Device IP must be entered correctly. Wireshark can be used to view the IP address of the lidar:

Wireshark parses lidar point cloud data packets

Once all the above conditions are met, user can connect to the lidar and view the point cloud successfully.

2.2.2 Replay PCAP Data​

Method 1: Click the area marked in red, then select the corresponding pcap file and open it to view the point cloud:

Select pcap file via the open button

Method 2: Directly drag and drop the pcap file into PandarView:

Directly drag and drop the pcap file into PandarView

2.3 Point Cloud Correction​

As shown in the figure below, the third icon from the left in the PandarView2 toolbar is the point cloud correction option (Correction). It supports importing the corresponding correction file to enable point cloud correction during real-time point cloud playback or offline pcap file playback, or exporting the correction file built into the lidar during real-time point cloud playback.

Point cloud correction option interface

PandarView2 supports the following three different types of point cloud correction options:

  1. Angle Correction: Click Import to import the angle correction file of the lidar to achieve the correction effect.
  2. Firetime Correction: Click Import to import the firetime correction file of the lidar to achieve the correction effect.
  3. Distance Correction: Enable the switch of this correction option to achieve the correction effect. (Note: This option is used to correct the distance error caused by the mismatch between the lidar's emission center and geometric center)

2.4 Laser Channel Selection​

After clicking the highlighted icon (Channels) in the PandarView2 toolbar, user can view or modify the laser channels of the currently displayed point cloud and the corresponding angle parameters.

PandarView channel selection interface
  • Check the select-all button at the top, and all channel point clouds will be displayed after clicking; the buttons in the yellow box below allow the user to filter channels one by one. When a channel is not selected, the point cloud of that channel will not be displayed.
Channel filtering interface
  • If none of the channels are checked, the corresponding point cloud will disappear completely:
All point clouds disappear when no channels are selected

2.5 Point Cloud Data Selection and Data Table​

As shown in the figure below, after clicking the highlighted left icon (Select) in the PandarView2 toolbar, user can drag the mouse in the current point cloud area to manually select and highlight a set of data points; after clicking the highlighted right icon (Spread Sheet) in the toolbar area shown in the figure, user can view all detailed data of the selected data points.

Detailed information interface after data selection

The function descriptions of the three small buttons from left to right highlighted at the top of the data table are as follows:

Button NameFunction Description
Select AllDisplay detailed data of all data points in the current frame of point cloud. When clicked again, only detailed data of the selected data points will be displayed
Export Points InfoExport the current data table as a CSV file. When naming the file under Ubuntu system, the suffix (.csv) must be included
Save Column OrderSave the current column order
  • Click the button marked in the first red box to select all points.
Select all button position
  • Click the button marked in the second red box to select the corresponding path for export.
Export file window
  • The columns in the data list can be dragged freely, then click the button corresponding to the third red box to save, and the saved configuration will be used for subsequent use.
Columns in the data list can be dragged and saved
  • The header definitions of each column in the data table are as follows (Note: The specific parameters displayed on this interface may vary for different product models):
Header NameMeaning
ChChannel number
EleVertical elevation angle
AziCorrHorizontal azimuth corrected according to the angle correction file
tPoint cloud timestamp
DistDistance
FieldFor AT series lidars, this is the mirror number corresponding to the measurement data
RflReflectivity
AziStateAzimuth identifier, used for table lookup to calculate the firetime offset of each channel
AziUncorrected horizontal azimuth
Weight FactorPoint cloud confidence (rain and fog noise marker)

2.6 Point Cloud Filtering​

After clicking the highlighted icon (Points Filter) in the PandarView2 toolbar, user can set the valid range of each parameter to display only the data points that meet the corresponding range.

For example, setting the range of Weight Factor can filter out the labelled discrete noise points (such as rain, fog, dust, or exhaust).

  • Click the highlighted part in the figure, and the corresponding configuration information will pop up.
Basic filtering function configuration interface
  • After setting the filtering parameters, click the ON button at the bottom of the page in the figure below to enable filtering according to the current parameter configuration. Click ON again to turn it off. Click the Reset button to restore the default parameters.

  • Click the Import button in the figure to manually select and import a saved filtering parameter configuration file.

Filter function switch and reset button

The meanings of the filtering parameters are as follows:

  1. Azimuth (deg) Range: Azimuth (unit: degree) value range

    • Min.: Minimum value -360.00
    • Max.: Maximum value 360.00
  2. Elevation (deg) Range: Elevation angle (unit: degree) value range

    • Min.: Minimum value -360.00
    • Max.: Maximum value 360.00
  3. Distance (m) Range: Ranging distance (unit: meter) value range

    • Min.: Minimum value 0.00
    • Max.: Maximum value 1000.00
  4. X (m) Range: X-axis coordinate (unit: meter) value range

    • Min.: Minimum value -1000.00
    • Max.: Maximum value 1000.00
  5. Y (m) Range: Y-axis coordinate (unit: meter) value range

    • Min.: Minimum value -1000.00
    • Max.: Maximum value 1000.00
  6. Z (m) Range: Z-axis coordinate (unit: meter) value range (vertical height direction)

    • Min.: Minimum value -1000.00
    • Max.: Maximum value 1000.00
  7. Intensity Range: Reflection intensity value range (echo intensity of lidar point cloud)

    • Min.: Minimum value 230
    • Max.: Maximum value 0
  8. Confidence Range: Confidence value range (indicates the reliability of the point cloud)

    • Min.: Minimum value 0
    • Max.: Maximum value 255
  9. Weight Factor Range: Weight coefficient value range

    • Min.: Minimum value 0
    • Max.: Maximum value 255
  10. Angle State Range: Angle state value range

    • Min.: Minimum value 0
    • Max.: Maximum value 255

Note: Point cloud filtering settings only apply to the point cloud displayed on the current PandarView interface, and do not affect recorded and saved PCAP files.

2.7 Point Cloud Coordinate System Display​

As shown below, click the coordinate axis button in the toolbar to display the X, Y, and Z axes of the point cloud in real time.

XYZ axis coordinate system tool

2.8 Point Cloud Projection Mode​

PandarView2 supports two projection modes: orthographic projection and perspective projection, corresponding to the highlighted buttons in the figure below:

Orthographic projection and perspective projection switch button

1. Orthographic Projection: Parallel light rays are projected perpendicularly onto the imaging plane, all projection rays are parallel to each other, and there is no effect of objects being larger when closer and smaller when farther away. It is suitable for precision, alignment, and measurement work. The corresponding point cloud effect is shown in the figure below:

Orthographic projection effect

2. Perspective Projection: All lines of sight converge at the camera viewpoint (pinhole), following the laws of human vision, with objects being larger when closer and smaller when farther away, and parallel lines intersecting at the vanishing point in the distance. It is suitable for simulation of real vehicle vision, dynamic road testing, and algorithm simulation. The corresponding point cloud effect is shown in the figure below:

Perspective projection effect

2.9 Point Cloud View Switching​

PandarView2 supports viewing point clouds from five different perspectives: front view, rear view, left view, right view, and top view. Click the highlighted button in the figure below to select and switch the corresponding observation perspective:

View switch button position

2.10 Point Cloud View Rotation​

After clicking the highlighted button as shown below, the point cloud view will rotate automatically.

View rotation button

2.11 Laser Scanning Trajectory​

After clicking the highlighted button as shown below, the laser scanning trajectory corresponding to the current point cloud will be displayed.

The following is a comparison of the effects before and after enabling this function:

Before enablingAfter enabling
Before enabling lidar scanning modeAfter enabling lidar scanning mode

2.12 lidar Status Display​

After clicking the highlighted button as shown below, information such as rotation speed and echo mode will be displayed at the bottom of the point cloud window.

lidar status display

2.13 PCD Data Export​

After clicking the highlighted button as shown below, a field selection window will pop up.

PCD export field selection interface

After clicking the OK button, select the path and file name where the exported PCD data will be stored.

PCD file save window

2.14 Point Cloud Color Setting​

Click the highlighted button as shown below to customize the point cloud display color.

lidar color display setting panel

2.14.1 Color Mode​

Click Color Mode to select the field mode for color mapping. As shown in the figure below, coloring according to the Y-axis of the 3D coordinates is selected here.

Color Mode setting

2.14.2 Color Map​

Click Color Map to adjust the color type and mapping relationship of the current point cloud.

Color map and color invert button positions

As shown in the figure below, after selecting the 'spring' color type here, the point cloud color will change accordingly:

Point cloud effect after selecting spring color map

After clicking the highlighted button in the figure below again, the point cloud color is inverted:

Point cloud color inversion effect

2.15 Point Cloud Size Display​

As shown in the highlighted options in the figure below, the plus sign increases the point cloud size, and the minus sign decreases the point cloud size.

Point cloud size 3.8

Typically, set this parameter to 3.5 or a larger value will be more convenient for users to observe the point cloud.

2.16 Return Mode Selection​

PandarView2 allows real-time selection of point clouds with different echo modes for display.

Echo mode selection

2.17 Point Cloud Track​

As shown below, right-click the time track axis directly below the PandarView2 page to display the following options:

Operation menu popped up by right-clicking the point cloud track axis
OptionDescription
Cut by TimeTrim point cloud by timestamp and save as .pcap file.
Cut by FrameTrim point cloud by frame and save as .pcap file.
Export DetailExport point cloud data for specified frames to a CSV file.
Delete TrackDelete the point cloud track.
CancelClose the menu.

3 Advanced Operation Instructions β€”β€” Toolbox​

3.1 General Tools​

3.1.1 Hide Selection In Single Frame​

The PandarView2 Toolbox supports hiding selections for point clouds:

Hide Selection In Single Frame Toolbox Option
3.1.1.1 Hide Selected Area​

After following the operation steps marked in the figure below, the selected area will be successfully hidden:

Operation stepsResults
Frame a part of the point cloudThe selected area is successfully hidden
3.1.1.2 Undo Last Hide​

Continuing from the operation of hiding the selected area in 'Hide Selection In Single Frame', click 'Undo Last Hide', and the point cloud hiding operation is undone.

Operation methodResults
Position of Undo Last Hide optionPoint cloud recovers after undoing the hide operation
3.1.1.3 Show All​

Refer to the steps marked in the figure below: first click the filter box button to select all point clouds, then click Hide Selected Area to hide the selected area, and finally click Show All to display all point clouds.

Show All operation steps demo
Hide all point cloudsShow all point clouds
Point cloud is hiddenAll point clouds recover after clicking Show All

3.1.2 Show/Hide Selected Areas​

As shown in the figure below, after hiding the point cloud in the selected area, click this button to display only the selected hidden area of the point clouds.

Hide selected point cloudsOnly display the selected point clouds after invert selection
Effect after hiding the point cloudOnly the hidden part of the point cloud is displayed after invert selection

3.2 Special Tools (Only supported by certain models)​

3.2.1 Point Cloud Smoothing (JT128 / QT128)​

This tool supports searching for neighboring points around each point in space and performs mean smoothing in order to reduce ranging jitter, making the point cloud visually smoother, and filtering abnormal stray points. The comparison before and after enabling is shown in the figure below:

Before EnablingAfter Enabling
Before Point Cloud Smoothing is enabledAfter Point Cloud Smoothing is enabled

Note: Only JT128 and QT128 support this function!

3.2.2 Show IMU Data (OT128 / JT128 / JT16)​

After turning on the Show IMU Data switch framed in the figure below, click it again, and a red arrow will appear in the point cloud window, representing the orientation of the IMU data coordinate system, and the IMU data will be displayed below the point cloud:

Show IMU Data function

Note: Only JT16, JT128 and OT128 support this function!

3.2.3 Display Mode (AT128P)​

AT128P's laser scanning involves 3 reflective mirrors. This tool controls the stitching/frame splitting logic of the point clouds from the 3 sets of mirrors, with a total of 3 modes:

  1. Take Turns (default mode): The screen alternately displays the point cloud of a single mirror without stitching, which is suitable for individually checking the scanning quality and channel consistency of each mirror, as shown in the figure below:

    Take Turns mode
  2. Tradition: The data of the three mirrors are merged into a single frame, which is rarely used in daily debugging. Compared with the default mode, the point clouds in the traditional mode show a mirror-like effect.

    Tradition mode
  3. Combination: Stitch and fuse the point clouds scanned by the 3 mirrors into a complete frame. Compared with the default mode, the point cloud in the combination mode is denser due to point overlapping.

    Combination mode

Note: Only AT128P supports this function!

3.2.4 Scan Switches (AT128P)​

After enabling the Combination mode in Display Mode, the point cloud consists of three channels. Click Scan Switches to expand the checkboxes for 5 scan fields (Field 0~4), which are used to uniformly crop the horizontal scanning angle.

Scan Switches
3.2.4.1 Field 0 / 1 / 2 / 3 / 4 Checkboxes​

Uniformly crop the horizontal scanning angle for the 5 scan fields (Field 0~4), only retain the point cloud within the set interval, and filter out the point cloud of the remaining channels.

  • Selected: The screen displays all point clouds of this group of laser beams;
  • Unselected: Directly hide this group of laser beams from the screen.
All channels enabledOne channel is hidden
All Fields enabledOne channel removed
3.2.4.2 Field Start/End Settings​

After enabling the Combination mode in Display Mode, the point cloud consists of three channels. This setting controls the start angle and end angle of each group of scanning laser beams.

When this switch is turned ON, user can limit the point cloud to only display data within the interval of "start angle ~ end angle". The three rows marked in the figure correspond to one point cloud mirror each. Adjust the values to observe the point clouds of the three mirrors. The corresponding effect is shown in the comparison figures as below:

Before adjustmentAfter adjustment
Initial Field Start/End dataAfter Field Start/End adjustment

Note: Only AT128P supports this function!

4 Common PandarView Troubleshooting​

4.1 Point Cloud Real-time Streaming Display​

4.1.1 Point cloud not displayed​

  • Ensure the host computer's firewall is disabled or allow the PandarView2 program through the firewall.

  • Check lidar Ethernet parameter settings

  1. If the lidar is configured in broadcast mode, change the UDP Port option in the PandarView2 - 'Listen for Data' popout to the actual destination port value (default factory setting is 2368, actual value can be obtained from the lidar control page, as shown below).
pv_broadcast

Web control page (Pandar series/QT series/XT series)

destport_web

lidarUtilities interface (OT128 / AT128P)

destport_LU
  1. If the lidar is configured in unicast mode, set the host computer's IP address to the lidar's Destination IP (this parameter can be obtained from the lidar control page) and change the UDP Port option in the PandarView2 - 'Listen for Data' popout to the actual destination port value.

  2. If the lidar is configured in multicast mode, change the UDP Port option in the PandarView2 - 'Listen for Data' popout to the actual destination port value, and select the Multicast IP option in the popout, configuring it to the lidar's Destination IP (this parameter can be obtained from the lidar control page).

Note: For detailed configuration of lidar multicast mode, refer to Configure Ethernet - Multicast.

pv_multicast

Note: If the host computer uses an Ethernet-to-USB adapter to connect to the lidar, there is a small probability of point cloud not displaying in PandarView2. It is recommended to use a computer that can directly connect to the lidar via Ethernet cable for point cloud live display.

4.1.2 Incomplete point cloud display​

  • Check if the lidar lens is clean (if dirty, clean it according to the "Instrument Maintenance" section in the product user manual).
  • Log in to the lidar control page via the webpage or LidarUtilities software and verify if the Azimuth FOV parameter settings are correct (if part of the horizontal FOV is disabled).
  • Check if lidar's current motor speed is stable at the preset value (check the Motor Speed value displayed in PandarView2). Ensure the lidar is securely mounted to avoid vibrations during operation.
  • Check if the host computer's hardware performance and driver configuration meet the requirements (recommended: at least 16GB RAM, support a dedicated graphics card with correct graphics driver version).
  • Check if the Ethernet on the host computer is overloaded or if other devices are transmitting data simultaneously, causing network overload and packet loss. It is recommended to connect only one lidar to the host computer, disconnect other devices and power cycle the lidar to check if the issue persists.

4.2 Point Cloud File Playback​

4.2.1 Point cloud not displayed​

  • Ensure the PandarView2 software is the latest version from the official website.
  • Check if the point cloud file is in .pcap format (Note: When recording point cloud files using Wireshark, the default save format is .pcapng. Users need to manually change it to .pcap format).
wireshark_record
  • Check if the UDP packet data length and format in the point cloud .pcap file are correct: Use Wireshark to view and compare with the UDP packet length defined in the product user manual (using QT128 as an example, as shown below).
udplength_eng

4.2.2 Abnormal point cloud behavior​

  • If the point cloud arrangement is irregular, Check if the angle correction file corresponding to the point cloud file has been properly imported (steps shown as below).
pvcorr_eng
  • If the point cloud flickers during playback, check if the .pcap file has packet loss (use Wireshark or contact Hesai technical support). If there is no packet loss, verify if the host computer's hardware performance and driver configuration meet the requirements (refer to the troubleshooting methods in the live display section), restart the computer or test with another computer.

If other point cloud display issues persist in PandarView2 after following the above steps, please contact Hesai technical support.