Skip to content

Commit

Permalink
fix: minor README changes for Hesai configuration script
Browse files Browse the repository at this point in the history
Signed-off-by: David Wong <[email protected]>
  • Loading branch information
drwnz committed Mar 6, 2024
1 parent b6bc461 commit 52bf050
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -231,24 +231,24 @@ Parameters shared by all supported models:

## Hesai Sensor Setup

New Hesai sensors do not provide a Web UI to verify and set up the sensor parameters. Instead, these offer a TCP-based protocol to obtain and set the configuration. Nebula sets these sensors at launch. However, settings such as Destination IP, Sensor IP, IP Mask, and Data port might cause undesired sensor functioning if the driver gets mistakenly launched with inappropriate values. To leverage this problem, Nebula provides an additional setup script for these settings to avoid these scenarios.
New Hesai sensors do not provide a Web UI to verify and set up the sensor parameters. Instead, these offer a TCP-based protocol to obtain and set the configuration. Nebula sets these sensors at launch. However, settings such as Destination IP, Sensor IP, IP Mask, and Data Port might cause undesired sensor functioning if the driver gets mistakenly launched with inappropriate values. To overcome this problem, Nebula provides an additional setup script for these settings to avoid such scenarios.

The script requires to install dependencies via pip:
The script requires the installation of dependencies via pip:

`$ pip3 install scripts/requirements.txt # first-time setup`

Once the dependencies were installed, the setup script can be invoked using the following command:
Once the dependencies are installed, the setup script can be invoked using the following command:

`$ python3 scripts/hesai_config --sensor-ip X.X.X.X`

To set the parameters, please use the corresponding argument as defined below:
To set the parameters, please use the corresponding arguments as defined below:

```
usage: hesai_config.py [-h] --sensor-ip SENSOR_IP [--destination-ip DESTINATION_IP]
[--data-port DATA_PORT] [--new-sensor-ip NEW_SENSOR_IP] [--mask MASK]
options:
-h, --help show this help message and exit
-h, --help Show this help message and exit
--sensor-ip SENSOR_IP
The current sensor IP address
--destination-ip DESTINATION_IP
Expand Down

0 comments on commit 52bf050

Please sign in to comment.