Health

A health message that contains information about the pipeline status and the module itself.

Table 1. Available fields in blickfeld.percept_pipeline.data.Health
Field Type Default Unit

state

base.data.Health.State

-

-

High-level state of module.

state_reason

string

-

-

Reason for the given state. It is not set if state is STATE_OK.

data_source

DataSource

-

-

Data source related health information.

statistics

Statistics

-

-

Perception related health information.

error_flags

ErrorFlags

-

-

Faults which make the module not OK. None is set while the state is STATE_OK.

status_flags

StatusFlags

-

-

Conditions of normal operation which make the module STATE_BUSY.

Status Flags

Conditions of normal operation, e.g. during start-up, which make the module STATE_BUSY.

Table 2. Available fields in blickfeld.percept_pipeline.data.Health.StatusFlags
Field Type Default Unit

starting

bool

-

-

The processing pipeline is starting, or is being restarted to apply a configuration change. State: STATE_BUSY.

stopping

bool

-

-

The processing pipeline is shutting down, or is being restarted to apply a configuration change. State: STATE_BUSY.

restarting

bool

-

-

The processing pipeline has ended without an error and is started again in a few seconds. State: STATE_BUSY.

waiting_for_first_frame

bool

-

-

The pipeline waits for the first point cloud, e.g. while the sensor warms up. State: STATE_BUSY.

building_background

bool

-

-

The pipeline captures the background reference frame. State: STATE_BUSY.

waiting_for_first_result

bool

-

-

The pipeline waits for its first processing result. State: STATE_BUSY.

waiting_for_device

bool

-

-

The swarm leader waits for at least one device: it has not been reachable yet to take over the configuration, it has not delivered data since the pipeline started, or its own pipeline is busy, e.g. while it starts or builds its background. State: STATE_BUSY. If it does not end, check the network connection and the health of the devices concerned.

Error Flags

Faults which make the module not OK. STATE_WARNING and STATE_FAILED set at least one. The per-device and per-camera flags in data_source name the devices and cameras concerned.

Table 3. Available fields in blickfeld.percept_pipeline.data.Health.ErrorFlags
Field Type Default Unit

pipeline_failed

bool

-

-

The processing pipeline stopped with an error, which the state reason describes. State: STATE_FAILED. The pipeline is restarted after a few seconds.

swarm_sync_failed

bool

-

-

The swarm leader could not synchronize the configuration, time or firmware check with its followers. State: STATE_FAILED. Check that every follower is reachable and runs a compatible firmware.

device_stopped_manually

bool

-

-

The device has been stopped manually, so the pipeline receives no point clouds. State: STATE_WARNING. Start the device again.

point_cloud_fetch_failed

bool

-

-

Point clouds could not be fetched from at least one device. State: STATE_WARNING. Check the power supply, network and diagnostics of the devices concerned.

data_loss

bool

-

-

Data of at least one swarm device, which has delivered data since the pipeline started, was missing during stream synchronization. State: STATE_WARNING. Check the network bandwidth and stability between the devices.

firmware_mismatch

bool

-

-

The firmware of at least one swarm device does not match the firmware of the leader. State: STATE_WARNING. Update all devices of the swarm to the same firmware version.

security_zones_with_volume_zones

bool

-

-

Security zones and volume zones are configured together; the security zones are not processed. State: STATE_WARNING. Remove either the security or the volume zones.

point_based_security_zones_without_swarm

bool

-

-

Point-based security zones are configured with multiple devices outside of swarm mode; only the first device is processed. State: STATE_WARNING. Enable swarm mode or use a single device.

object_based_security_zones_without_swarm

bool

-

-

Object-based or directional security zones are configured with multiple devices outside of swarm mode. State: STATE_WARNING. Enable swarm mode or use a single device.

environmental_effects

bool

-

-

Environmental influences such as fog or rain disqualify the detection. State: STATE_WARNING.

camera_connect_failed

bool

-

-

The connection to at least one camera has failed. State: STATE_WARNING. Check the power supply, network and credentials of the cameras concerned.

Data Source

Data source related health.

Table 4. Available fields in blickfeld.percept_pipeline.data.Health.DataSource
Field Type Default Unit

device

repeated DeviceEntry

-

-

Map of devices. The key is the serial number of the device.

camera

repeated CameraEntry

-

-

Map of cameras. The key is DataSource.Camera.serial_number.

Device

Configured device.

Table 5. Available fields in blickfeld.percept_pipeline.data.Health.DataSource.Device
Field Type Default Unit

error_flags

ErrorFlags

-

-

Error flags

state

base.data.Health.State

-

-

Health state of the percept pipeline of the device.

[NOTE] The state of a swarm follower is only known while the leader is connected to it.

state_reason

string

-

-

Reason for given state (user-friendly). Is not set if state is STATE_OK.

Error Flags

Error flags

Table 6. Available fields in blickfeld.percept_pipeline.data.Health.DataSource.Device.ErrorFlags
Field Type Default Unit

connect_failed

bool

-

-

The connection to the device has failed. This is most probably caused by power supply or network connectivity issues.

start_failed

bool

-

-

The start-up of the device failed. This indicates that the device can not operate properly. Please review the diagnostics information of the device.

point_cloud_fetch_failed

bool

-

-

The point cloud fetch failed. This indicates that the device can not operate properly or network bandwidth / stability issues.

environmental_effects

bool

-

-

There are some environmental influences, e.g. fog, rain or snow in the scene.

firmware_mismatch

bool

-

-

The firmware version does not match the version running on this device. A version differing on patch level is allowed.

[NOTE] This flag is only set when swarm is enabled.

data_loss

bool

-

-

Data loss during stream synchronization occurred

[NOTE] This flag is only set when swarm is enabled.

Camera

Configured camera.

Table 7. Available fields in blickfeld.percept_pipeline.data.Health.DataSource.Camera
Field Type Default Unit

error_flags

ErrorFlags

-

-

Error flags

position

optional config.DataSource.Camera.Ptz.Position

-

-

Where the camera is pointing, for one that can pan, tilt and zoom.

Reflects moves made from anywhere - automatic tracking, a client driving it by hand, somebody at the camera’s own interface - so watching health is how a client follows a camera it is not itself driving. Left unset for a camera that cannot be aimed, or one that is not answering.

moving

bool

-

-

Whether the camera is moving right now, so a client can tell a position it has settled at from one it is passing through.

Error Flags

Error flags

Table 8. Available fields in blickfeld.percept_pipeline.data.Health.DataSource.Camera.ErrorFlags
Field Type Default Unit

connect_failed

bool

-

-

The connection to the camera has failed. This is most probably caused by power supply or network connectivity issues.

ptz_fault

bool

-

-

A pan/tilt/zoom move or position request failed.

stream_failed

bool

-

-

The camera’s video stream is not being received.

stream_unsupported

bool

-

-

The camera offers no encoder to stream from besides the one it records with.

Device Entry

Table 9. Available fields in blickfeld.percept_pipeline.data.Health.DataSource.DeviceEntry
Field Type Default Unit

key

string

-

-

value

Device

-

-

Camera Entry

Table 10. Available fields in blickfeld.percept_pipeline.data.Health.DataSource.CameraEntry
Field Type Default Unit

key

string

-

-

value

Camera

-

-

Statistics

Perception pipeline related statistics

Table 11. Available fields in blickfeld.percept_pipeline.data.Health.Statistics
Field Type Default Unit

security

Security

-

-

Security pipeline health

volume

Volume

-

-

Volume pipeline health

traffic

Traffic

-

-

Traffic pipeline health

Security

Security pipeline health

Table 12. Available fields in blickfeld.percept_pipeline.data.Health.Statistics.Security
Field Type Default Unit

motion_detection

MotionDetection

-

-

Motion detection

object_tracking

ObjectTracking

-

-

Object tracking

Motion Detection

Motion detection

Table 13. Available fields in blickfeld.percept_pipeline.data.Health.Statistics.Security.MotionDetection
Field Type Default Unit

number_of_foreground_points

float

-

-

Number of foreground points

number_of_outlier_points

float

-

-

Number of outlier points (number of points which got not clustered)

median_reflectivity_of_outlier_points

float

-

-

Median reflectivity of outlier points

adaptive_noise_filter_threshold

float

-

-

Reflectivity value used for adaptive noise filtering

number_of_adaptive_noise_outliers

float

-

-

Number of points that were removed by the adaptive noise filter

Object Tracking

Objects detection & tracking

Table 14. Available fields in blickfeld.percept_pipeline.data.Health.Statistics.Security.ObjectTracking
Field Type Default Unit

number_of_objects

float

-

-

indicates that objects are present

reference_properties

ReferenceProperties

-

-

reference object properties

Reference Properties

Reference object properties which contain the 90% percentile of relevant object state values.

This data is used to generate long term statistics of object properties which allow the fine tuning of zone algorithm parameters.

Table 15. Available fields in blickfeld.percept_pipeline.data.Health.Statistics.Security.ObjectTracking.ReferenceProperties
Field Type Default Unit

lifetime

float

-

ns

Lifetime of the object

num_points

float

-

-

/ Number of measurements that belong to the object point cloud.

median_reflectivity

float

-

-

/ Median reflectivity of the measurements from the object point cloud.

bounding_box_2d_surface

float

-

-

Surface area of the largest xz / yz bounding box plane. This is used for the simple object size classification.

track_length

float

-

m

The estimated track length of an object.

intruding_duration

float

-

-

Intruding duration of objects. Only objects are taken into account which are actually intruding.

Volume

Volume pipeline health

Traffic

Traffic pipeline health

Table 16. Available fields in blickfeld.percept_pipeline.data.Health.Statistics.Traffic
Field Type Default Unit

rain_filter_confidence

float

-

-

The confidence of the moving average filter that checks the traffic lane for rain