Khepera III Toolbox/The Toolbox/Modules/measurement

< Khepera III Toolbox < The Toolbox < Modules

The measurement module provides a common framework for all programs which solely read a sensor (or several sensors) and report the result. Programs using this module therefore accept the same command line options to specify

Synopsis

Check out the source code of the battery program for an example.

Description

This module controls the main program flow and requires only two hook functions:

Furthermore, an array for storing intermediate measurement must be provided.

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.