Skip to content

Hesai AT128 Configuration via HTTP #341

Description

@markusschratter

Problem

We have the issue that the configuration via HTTP does not work during startup of the driver and as a result the driver terminates.

[hesai_ros_wrapper_node-1] [INFO] [1751898252.927252574] [hesai_ros_wrapper_node]: Sensor Configuration: Hesai Sensor Configuration:
[hesai_ros_wrapper_node-1] Sensor Model: PandarAT128
[hesai_ros_wrapper_node-1] Frame ID: hesai
[hesai_ros_wrapper_node-1] Host IP: 192.168.1.100
[hesai_ros_wrapper_node-1] Sensor IP: 192.168.1.201
[hesai_ros_wrapper_node-1] Data Port: 2368
[hesai_ros_wrapper_node-1] Return Mode: LastStrongest
[hesai_ros_wrapper_node-1] Frequency: 0
[hesai_ros_wrapper_node-1] MTU: 1500
[hesai_ros_wrapper_node-1] Use Sensor Time: 0
[hesai_ros_wrapper_node-1] Multicast: disabled
[hesai_ros_wrapper_node-1] GNSS Port: 10110
[hesai_ros_wrapper_node-1] Rotation Speed: 200
[hesai_ros_wrapper_node-1] Sync Angle: 30
[hesai_ros_wrapper_node-1] Cut Angle: 150
[hesai_ros_wrapper_node-1] FoV Start: 30
[hesai_ros_wrapper_node-1] FoV End: 150
[hesai_ros_wrapper_node-1] Dual Return Distance Threshold: 0.1
[hesai_ros_wrapper_node-1] Calibration Path: /home/hil/autoware_ws/install/nebula_decoders/share/nebula_decoders/calibration/hesai/PandarAT128.dat
[hesai_ros_wrapper_node-1] PTP Profile: IEEE_1588v2
[hesai_ros_wrapper_node-1] PTP Domain: 0
[hesai_ros_wrapper_node-1] PTP Transport Type: UDP/IP
[hesai_ros_wrapper_node-1] PTP Switch Type: TSN
[hesai_ros_wrapper_node-1] High Resolution Mode: 0
[hesai_ros_wrapper_node-1] PTP Lock Threshold: 100
[hesai_ros_wrapper_node-1] High Resolution Mode: disabled
[hesai_ros_wrapper_node-1] Downsample Filter: disabled
[hesai_ros_wrapper_node-1] Blockage Mask Output: disabled
[hesai_ros_wrapper_node-1] Synchronization Diagnostics: disabled
[hesai_ros_wrapper_node-1] 192.168.1.201:9347
[hesai_ros_wrapper_node-1] [INFO] [1751898252.927978404] [TcpSocket::open]: connected
[hesai_ros_wrapper_node-1] [WARN] [1751898252.928414224] [hesai_ros_wrapper_node.HwInterface]: Sensor returned longer payload than expected. Truncating and parsing anyway.
[hesai_ros_wrapper_node-1] [INFO] [1751898252.929520706] [hesai_ros_wrapper_node.HwInterface]: current lidar rotation_speed: 400
[hesai_ros_wrapper_node-1] [INFO] [1751898252.929531846] [hesai_ros_wrapper_node.HwInterface]: current configuration rotation_speed: 200
[hesai_ros_wrapper_node-1] [INFO] [1751898253.029769317] [hesai_ros_wrapper_node.HwInterface]: current lidar dest_gps_udp_port: 0
[hesai_ros_wrapper_node-1] [INFO] [1751898253.029791933] [hesai_ros_wrapper_node.HwInterface]: current configuration gnss_port: 10110
[hesai_ros_wrapper_node-1] [INFO] [1751898253.159863171] [hesai_ros_wrapper_node.HwInterface]: Trying to set SyncAngle via HTTP
[hesai_ros_wrapper_node-1] terminate called after throwing an instance of 'boost::wrapexcept<boost::system::system_error>'
[hesai_ros_wrapper_node-1]   what():  connect: Connection refused

Conditions

Nebula version: v0.2.8
Hesai AT128 version:
Image

Could our configuration or the lidar's firmware be wrong? Sending an HTTP request manually (without the driver) also does not work.
In general, the lidar data looks good. In PandarView2, the point cloud is visible.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions