add_component

DbSensor.add_component(cur_component)[source]

Add a component to the sensor.

Parameters

cur_component (DbSensorComponent of mss_data_server.geometry.inventory.SensorComponent) – The component to add to the sensor.

Returns

The added component.

Return type

DbSensorComponent