added a way to collect some sensor information and to make an average of
these information for displaying it in a gui