Automatic Ground Alignment
note
This resource allows user to trigger the automatic ground alignment. Detailed behavior of each command is described below.
POST
/internal/commands/auto-ground-alignment
Trigger the automatic ground alignment for a given LiDAR,
This request can only be handled in Project-setup mode
Once REST API request is received, next received point result will be used for the ground alignment.
- Parameters
- (required) lidar-uid: Which lidar do you want to align with the ground?
- (optional) max-tilt-angle: Please ask Oleksii for exact meaning of this parameter. Range: [0, PI/2]
- (optional) interpolation : Whether to apply interpolation or not (value should be
true
orfalse
). If not specified, default is to apply interpolation.
- Return code
- 200 OK
- 400 BAD REQ
Example
$ curl -X POST 'http://localhost:9080/internal/commands/auto-ground-alignment?lidar-uid=lidar_0000'
** Respond **
Automatic ground alignment was triggered.