命令行更改Ouster OS1激光雷达静态IP
参考链接:https://community.ouster.com/t/how-to-set-a-static-ip-via-curl/44
Using the IPv4 sensor address:
The curl command to assign a static IP of y.y.y.y to your sensor currently at x.x.x.x/24 is:
curl -i -X PUT http://x.x.x.x/api/v1/system/network/ipv4/override -H ‘Content-Type: application/json’ --data-raw ‘“y.y.y.y/24”’
更改Ouster激光雷达静态IP地址
curl -i -X PUT http://激光雷达原始静态IP地址/api/v1/system/network/ipv4/override -H 'Content-Type: application/json' --data-raw '"新的静态IP地址"'
例如,激光雷达原始静态IP地址为192.168.90.150,设置为新的地址为192.168.1.102
curl -i -X PUT http://192.168.90.150/api/v1/system/network/ipv4/override -H 'Content-Type: application/json' --data-raw '"192.168.1.102"'