Skip to content

Latest commit

 

History

History
83 lines (61 loc) · 5.84 KB

Sensors.md

File metadata and controls

83 lines (61 loc) · 5.84 KB

E-Puck Sensors

The following is a detailed analysis of the following sensors

Proximity infra-red sensors

We initialise the robot's sensors and calibrate the infrared sensors. We plot the calibration data. For now, we are only interested in the proximity infrared sensors (PROX LEFT FRONT and PROX RIGHT FRONT ) of the robot front. The relevant information can be found in the GCTronic specification1

The generated plot shows the values of the above-mentioned left and right infrared sensors on the Y-axis. The X-axis (steps) indicates the number of steps the robot has taken away from the obstacle at the time of the measurement. We recognise the decreasing values of the infrared sensors with increasing number of steps and thus greater distance.

The noise of the sensors is clearly recognisable: The noise is particularly visible with the strongly fluctuating values in the range between 20 and 50 steps and also strongly differing values between the left and right sensors.

Infrared floor sensors

There are three infrared floor sensors in the lower section at the front of the E-Puck. We use the robot.init ground() function to test the response behaviour of the sensors.

Floor sensors front viewFloor sensors bottom viewColored lines for ground sensor testing
Floor sensors front view Floor sensors bottom view height=

The value range of these sensors should vary between 1000 (pure white) and 0 (black). A white sheet with coloured lines glued to it will serve as our test setup: We place the robot on the bottom white edge of the paper and then let it vertically over all the lines.

move diagonally across the sheet with the coloured lines at an approximate angle of 45°
The generated plots clearly show that the two black lines (first and fourth line) lead to impressive deflections of the sensors. Although the plotted curve also shows clearly visible deflections in the traverse of the remaining coloured lines, these are only between 1000 and 900 and are therefore very close to the values for pure white. To control a robot with floor markings, the clear black colour is therefore very suitable.

Camera and microphones

Initialising camera and microphones##

Histogram in front of red block (without letterboxing)Test of the microphones during pass-by
The colour recognition delivers extremely different results, red is best recognised. The microphones have different sensitivities, particularly with regard to their different orientation and position.

Object recognition via programming interface

We let the robot scan an environment of different coloured blocks at different distances, a black ball and another e-puck. The robot rotates around itself, saves the resulting images and creates a CSV document with 350 measurements (approximately two measurements per step). The resulting measurements contain the following information: x_centre, y_centre, width, height, conf and label, where x- and y_centre describe the detected centres of the respective objects.

In addition to the self-explanatory width and height attributes, conf and label are of particular interest. The label assumes the values red block, green block, blue block or black block, but can also recognise black ball or epuck.

Recognition of a blue and yellow blocks
E-Puck Object recognition
The treshold (here: 0.7) is crucial for object recognition and must be determined heuristically.
Recognition of a blue block
Recognition of a blue and yellow block

Footnotes

  1. Wiki GCtronic e-puck2