Align and register the sensors

This page documents an earlier firmware release. Read this page for the latest release

Every zone is placed relative to the ground, so the point cloud has to lie flat on the grid of the WebGUI before you draw any zone: the alignment. With several sensors, their point clouds are also combined into one scene: the registration. You do both in Configuration > Sensor Setup.

One or multiple sensors explains when to plan several sensors and how a swarm works.

Traffic lanes are evaluated on the point cloud of one sensor, the first one in the list. Set up one sensor per site and align it.

  • Nothing you change in this view takes effect before you click Apply. Reset discards everything that is not applied.

  • Align and register while the scene is still empty. Zone Management refuses new zones with Sensor setup not completed until the sensor has been aligned to the ground.

The Sensor Setup view

Part What it holds

Left panel

Add data source to add sensors, the sensor list with one row per sensor in the setup, Register devices, Geolocation, Trigger mode, Reset and Apply.

Point cloud

A snapshot of the point cloud of each sensor in its own colour on the ground grid. Switch between a top view and a perspective view with 2D and 3D at the bottom.

Right panel

The settings of the sensor selected in the sensor list: its position, its rotation, the alignment and the connection.

Sensor Setup view with two sensors in the list and the first one selected. In the middle the 3D view, seen at a slant from above: the street in front of the sensors lies flat on the grid and is drawn in white, the trees beside it in the colours of the two sensors, the aerial map with the roof of a building under them and the arrows of the selected sensor at the edge of the roof. On the right the Translate panel with Position x -0.24, y -3.72, z 8.13 m, Alignment and Connection with FQDN 192.168.1.42
Figure 1. Sensor Setup in the 3D view with two sensors over a street, on the aerial map of their site

The sensor list, in the left panel below Add data source, shows one row for every sensor in the setup, with its name, for example qb2-ABC123XYZ:

  • The checkbox left of the sensor name selects the sensor for the buttons above the list.

  • The name shows the firmware of the sensor when you hover over it.

  • Circular arrows takes a new snapshot of this sensor’s point cloud.

  • Eye shows or hides this sensor’s point cloud.

  • A red Exclamation mark means a wrong serial number or missing credentials. Click it to finish the configuration of the sensor.

  • A red Cross means the sensor cannot be reached. Click it to reconnect.

The buttons above the list act on the selected sensors: Circular arrows takes a new snapshot of all point clouds, Eye shows or hides the selected sensors, and the red Bin removes them from the setup.

Add data source section above the buttons for new snapshot, visibility and delete, and two sensors in the list, qb2-ABC123XYZ selected and qb2-DEF456UVW, each with its snapshot and visibility buttons
Figure 2. Sensor list

Set up one sensor

A single sensor only needs to lie flat on the grid. Its alignment is automatic: check it, and correct the position or the rotation where your site needs it.

Align a sensor to the ground

A sensor that has no position yet is aligned automatically with the strategy Auto as soon as the WebGUI has its point cloud: the sensor itself the first time you open Sensor Setup, and every sensor you add. Its point cloud is placed on the grid at x 0 and y 0. Check the result as in the steps below, and align again whenever the ground has not turned white.

  1. In the sensor list, click the sensor.

  2. On the right, under Alignment, choose a Strategy:

    Strategy How it aligns

    Auto

    Uses the detected ground plane when it agrees with the gravity measured by the accelerometer, otherwise the accelerometer alone.

    Accelerometer

    Aligns to the gravity vector measured by the accelerometer.

    Plane segmentation

    Aligns to the largest plane in the point cloud.

  3. Click Align to ground.

    The WebGUI computes the transformation and places the point cloud on the grid. Roll and pitch are set from the result; the rotation around the vertical axis and the x and y position you set before are kept.

  4. Check that the ground has turned white.

    The view draws every point within 10 cm above or below the grid in white, and all others in the colour of the point cloud of that sensor: turquoise for the first sensor in the sensor list, blue for the second and yellow for the third, then again from turquoise. When the alignment has found the ground, the ground lies on the grid and turns white immediately, before you apply anything. Whatever stands on the ground, such as kerbs, plants and walls, keeps the colour of its point cloud. If the ground stays in that colour, or only a strip of it turns white, the point cloud is tilted: see Troubleshooting.

    Point cloud of one sensor in the 2D view after Align to ground: the ground in front of the sensor drawn in white, the trees and bushes around it in turquoise, with the arrows to move the sensor
    Figure 3. The point cloud after Align to ground: the ground has turned white
  5. Correct position and rotation if needed, see below.

  6. Click Apply.

    The setup is stored, and the sensor records its current orientation as the reference for Moved.

Correct position and rotation

You move the point cloud of the sensor selected in the sensor list by dragging it in the point cloud, and fine-tune it in the right panel. The handles to drag are drawn at the position of that sensor.

  1. At the top of the right panel, click Translate, and drag the arrows in the point cloud: the red arrow moves the point cloud along x, the green one along y, and the blue square between them in both directions. In the 3D view, the blue arrow moves it up and down.

  2. Click Rotate, and drag the ring: in the 2D view, the blue ring turns the point cloud around the vertical axis. In the 3D view, the red and the green ring also tilt it around x and y.

  3. Fine-tune with the sliders and the fields in the right panel.

Animated sketch of Sensor Setup in the 2D view: in Translate mode, the mouse drags the arrows of the second sensor until its point cloud lies near the first one, then clicks Rotate and drags the ring to turn it around the vertical axis, and finally turns it the last degrees with the slider z under Rotate around axis in the right panel, until the walls of both point clouds lie on top of each other
Figure 4. Drag the point cloud in the view, then fine-tune it in the right panel

The right panel sets the position and the rotation exactly:

Mode What it sets

Translate

Under Position, move the point cloud along x and y with the slider, which covers -25 to 25 m, or by typing the value. z, the height, can only be changed in the 3D view.

Rotate

Under Rotate around axis, turn the point cloud in small steps of up to 20° around x, y and z. Under Euler Angles, set the absolute rotation around each axis between -180° and 180°. Rotation around x and y under Rotate around axis is only possible in the 3D view.

Translate panel with Position x 0, y 0 and z 2.06 m, Alignment Strategy Auto and Align to ground, and Connection with FQDN Local Device
Figure 5. Translate in the 3D view
Rotate panel with Rotate around axis, x and y showing Available in 3D mode in the 2D view, and Euler Angles
Figure 6. Rotate in the 2D view

The switch next to the sensor name at the top of the right panel disables the sensor in the setup. Its row stays in the list.

The axes and the grid follow the coordinate system.

Set up several sensors

With more than one sensor, add the others to the setup, place their point clouds roughly over the first one, and let the registration match them.

Add another sensor

  1. If Add data source is collapsed, click Arrow at the right of its title to expand it.

  2. In Fully qualified domain name, type the host name or IP address of the other sensor.

    The WebGUI connects to it. When it is found, its name appears below the field with the button Plus.

    Add data source with the switch Auto discovery off, the address 192.168.1.43 with a check mark, the sensor qb2-DEF456UVW found below it with a plus button, and the list with the sensor qb2-ABC123XYZ
    Figure 7. A sensor found by its address
  3. Click Plus. The sensor is added at the end of the sensor list. The right panel still shows the sensor selected before.

  4. Click the new sensor in the sensor list and check Connection on the right:

    Field What it shows

    FQDN

    Check mark when the connection is established.

    Serial

    The serial number of the sensor. The button Circular arrows appears when the stored serial number does not match the sensor; click it to take over the reported one.

    Application key

    Appears when user management is active on that sensor. Enter an application key of that sensor to grant access.

    Open

    Opens the WebGUI of that sensor in a new tab.

    Connection block of the second sensor: FQDN 192.168.1.43 with a check mark, Serial DEF456UVW and the Open button
    Figure 8. Connection of a second sensor without user management
  5. Check its alignment.

    As soon as the connection is established, with the application key where one is needed, the WebGUI takes a snapshot of the new sensor’s point cloud and aligns it to the ground with Auto, at x 0 and y 0. If its ground has not turned white, align it as in Align a sensor to the ground.

  6. Add the other sensors the same way, then place their point clouds and register them, see Register several sensors.

The sensor this WebGUI runs on is listed with an empty FQDN field that reads Local Device.

With more than one sensor in the setup, the switches Swarm and Allow failures appear above Geolocation.

Swarm switched on, Allow failures and Geolocation switched off, each with its help icon
Figure 9. Swarm and Allow failures with two sensors in the setup
Allow failures

The setup keeps working while some of its sensors have failed or are temporarily not available.

Swarm

Makes this sensor the leader of a swarm. Switch it on whenever the setup has more than one sensor.

Register several sensors

Registration refines the positions of all point clouds to match each other, and levels the combined ground. It starts from sensors aligned to the ground: every sensor you add is aligned automatically, see Add another sensor.

  1. Move the point cloud of every added sensor, see Correct position and rotation, so that the areas they share with the others lie roughly on top of each other.

    Sensor Setup with qb2-ABC123XYZ and qb2-DEF456UVW in the list and the second one selected, the point clouds of both sensors in two colours on top of each other in the 2D view, Register devices above the Swarm, Allow failures and Geolocation switches, and the position and connection of the second sensor on the right
    Figure 10. Two sensors before the registration
  2. Optionally, select the sensors to refine with their checkboxes. Without a selection, all sensors are refined.

  3. Click Register devices.

  4. Check the result:

    Result What it shows Good Warning

    State icon of each refined sensor

    OK when the sensor agrees well with the others. On a warning or an error, hover over the icon to read how many of its points agree with the other sensors. Below the warning range the registration has failed.

    60 % and more

    30 % to 60 %

    Ground tilt, below the button

    How far the combined ground is off horizontal, with the sentence The sensors put the floor within …​ cm of each other.

    Up to 0.2°

    Up to 0.5°

    Sensor list after Register devices with a green check mark as the state icon of both sensors, and below the button Ground tilt 0.083° with a green check mark and The sensors put the floor within 3.1 cm of each other
    Figure 11. A successful registration: both sensors agree with 60 % and more of their points, the ground is levelled within the good range
  5. If the result is not good, correct the positions by hand and click Register devices again.

  6. Click Apply.

    If registration levelled the ground and zones exist, a dialog asks whether to move the zones with it. Click Okay to keep the zones over the same part of the scene, or Cancel to keep their stored coordinates, which is usually right for zones placed on the grid.

Place the scene on a map

Switch on Geolocation to show a map under the point cloud.

  1. Switch on Geolocation. If the browser may share its location, Latitude and Longitude are filled with it.

  2. Enter or correct Latitude and Longitude of the sensor.

  3. Under Map, choose a provider: OpenStreetMap, BingMaps or BayernAtlas.

    Left panel with Geolocation switched on, Latitude 48.13886642456055, Longitude 11.527015686035156 and Map BayernAtlas, next to the point clouds of two sensors in the 2D view over the aerial photo of their site: trees, a street drawn in white and the roof of a building
    Figure 12. Geolocation with a BayernAtlas aerial map under the point cloud
  4. Move and turn the point cloud of each sensor until it lies on the map where the scene is, for example the ground on the street and the walls on the outlines of the buildings, see Correct position and rotation.

  5. Click Apply.

Troubleshooting

Apply is greyed out

The setup has no sensor, the trigger interval is invalid, or an added sensor with user management has no valid application key. Check the red marks in the list and on the right.

Align to ground fails with No point cloud available

The WebGUI has no snapshot of that sensor. Click Circular arrows in its row to take one and try again.

The point cloud is tilted after Align to ground

Try another Strategy. Plane segmentation takes the largest plane, which is wrong when a wall is larger than the visible ground. Accelerometer ignores the scene. Correct the remainder with Rotate.

A sensor shows Failed to connect

The host name is wrong or the network is temporarily down. Correct the FQDN field; editing it retries the connection.

Distortion correction disabled appears above the list

One or more sensors run without their factory distortion correction. Click Enable, or Enable on all sensors, to switch it on. Positions and dimensions become more accurate, but the point cloud moves slightly: register again and check zones and volume measurements afterwards.

Registration moved the zones away from the scene

You applied the registration and answered Cancel to moving the zones. Move them by hand in Zone Management.

Swarm sync failed appears in the health

The leader could not pass its settings on. Check that every follower is powered, reachable and has a valid application key.

Data loss during stream synchronization appears in the health

The network between the sensors drops data. Check the cabling and the switches between them.

Please select a uniform scan-pattern for swarm operation

Choose a scan pattern with the Scan Pattern Type Uniform on the leader.

The health says security zones across multiple devices are only supported in swarm mode

Switch on Swarm.

A follower shows Managed device and its Sensor Setup, Zone Management and Scan Pattern are greyed out

The leader manages them; its WebGUI shows the note Swarm leader. To take a sensor out of the swarm, remove it on the leader and click Apply, or click Leave Swarm in the note on the follower.