ICub coding basics: Difference between revisions

From ISRWiki
Jump to navigation Jump to search
m (→‎Examples of modules: better sectioning)
(→‎myModule: add description)
Line 27: Line 27:


== myModule ==
== myModule ==
A simple example to illustrate a module that is compliant with iCub Software Standards, addressing:
* configuration
* graceful shut-down
* thread-based execution
* run-time user interaction
*  documentation and coding standards
Functionally, the module just converts an input image to a binary image based on a supplied threshold.
* http://eris.liralab.it/wiki/The_myModule_Example (referred to at the bottom of the [http://eris.liralab.it/wiki/Summary_of_iCub_Software_Development_Guidelines Summary of iCub Software Development Guidelines])
* http://eris.liralab.it/wiki/The_myModule_Example (referred to at the bottom of the [http://eris.liralab.it/wiki/Summary_of_iCub_Software_Development_Guidelines Summary of iCub Software Development Guidelines])
*http://robotcub.svn.sf.net/viewvc/robotcub/trunk/iCub/src/myModule/
*http://robotcub.svn.sf.net/viewvc/robotcub/trunk/iCub/src/myModule/

Revision as of 16:13, 6 October 2009

Refer to RobotCub software to learn how to install, compile and update RobotCub software with Subversion (SVN). Below we will link to tutorials that are useful for people starting up with iCub and YARP coding.

General guides

Highly recommended:

Specific tutorials

Resource Finder

YARP ports

Examples of modules

The following are good examples of modules from the iCub repository that are generally compliant with iCub configuration guidelines (RFModule class), coding standards and documentation standards.

myModule

A simple example to illustrate a module that is compliant with iCub Software Standards, addressing:

  • configuration
  • graceful shut-down
  • thread-based execution
  • run-time user interaction
  • documentation and coding standards

Functionally, the module just converts an input image to a binary image based on a supplied threshold.

Auto Associative (Episodic) Memory

crossPowerSpectrumVergence

logPolarTransform

rectification

See also