pop_component_by_instance

Sensor.pop_component_by_instance(component)[source]

Remove a component from the sensor using the component instance.

Parameters

component (SensorComponent) – The component to remove.

Returns

:class:`SensorComponent`

Return type

The removed component.