Skip to main content
PUT
Update the sensor layout given by its id with the information in the body

Path Parameters

id
string<uuid>
required

Unique identifier of the sensor layout in the library.

Body


Json containing all properties of the sensor layout
Example to add a Camera to the layout is as follows,
{"metadata":{"name":"SensorLayout","vehicleModel":"","manufacturer":"","version":"","comment":""},"root":{"nodeName":"SensorReferential","sensorInfo":null,"transform":{"position":{"x":0,"y":0,"z":0},"rotation":{"x":0,"y":0,"z":0}},"children":[{"nodeName":"Camera","sensorInfo":{"type":{"type":"Camera"},"id":{"id":"8798a6ac-fff9-4a1a-858e-846b696bdc9d"},"name":"Camera"},"transform":{"position":{"x":0,"y":0,"z":0},"rotation":{"x":0,"y":0,"z":0}},"children":[]}]}}
Example to add a Camera and Fisheye Camera is as follows,
{"metadata":{"name":"SensorLayout","vehicleModel":"","manufacturer":"","version":"","comment":""},"root":{"nodeName":"SensorReferential","sensorInfo":null,"transform":{"position":{"x":0,"y":0,"z":0},"rotation":{"x":0,"y":0,"z":0}},"children":[{"nodeName":"Camera","sensorInfo":{"type":{"type":"Camera"},"id":{"id":"8798a6ac-fff9-4a1a-858e-846b696bdc9d"},"name":"Camera"},"transform":{"position":{"x":0,"y":0,"z":0},"rotation":{"x":0,"y":0,"z":0}},"children":[]},{"nodeName":"Fisheye Camera","sensorInfo":{"type":{"type":"FishEyeCamera"},"id":{"id":"06cff0e5-4d21-4b65-86a8-52a28b6048a6"},"name":"Fisheye Camera"},"transform":{"position":{"x":0,"y":0,"z":0},"rotation":{"x":0,"y":0,"z":0}},"children":[]}]}}

Layout data.

metadata
object

Metadata of the layout.

root
object

Represents Tree node.

missingSensorNames
string[] | null

List of missing sensor names.

Response

Success

Identifier as Guid.

id
string<uuid>