orca-robotics


INTRODUCTION
Overview
Download and Install
Quick Start
Documentation
Publications

REPOSITORY
Interfaces
Components
Libraries
Utilities
Software Map

DEVELOPER
Tutorials
Examples
Dev Guide
Dashboard
Wiki
login/pass: orca/orca

PEOPLE
Contributors
Users

SourceForge.net Logo
Project
Download
Mailing lists

 

         

Adding Souce Code to Orca

Note:
Reviewed for release 2.9.0
See also:
Adding Interfaces to Orca
What is what and where does it live?
All source code is divided into 6 categories, each has a subdirectory in [ORCA_SRC]/src
  1. Components [components]
    • Well-tested and well-documented with staticly-defined provided and required interfaces
    • Can be stand-alone executables and/or IceBox services
  2. Utilities [utils]
    • Utility applications. This is a broad category which currently includes
      • implementation of global services, e.g. logging, visualization
      • debugging tools,
      • utilitiies used in the build process, etc.
  3. Libraries [libs]
    • Code which is used by more than one component or utility is put into shared libraries.
  4. Examples [examples]
    • Components intended as examples for developers
  5. Sandbox [sandbox]
    • Experimental and not currently maintained code.
    • Compilation is turned off by default

Adding code to the build system
  1. Create a new sub-directory in the appropriate place (see above for options)
    • e.g. [ORCA_SRC]/src/components/mymodule for a new component
  2. Edit files
    • Start by copying the directory of a similar module.
    • Edit the CMake file CMakeLists.txt in the new directory
    • Edit the component definition file mymodule.def (does not apply to libraries)
    • Edit the documentation file mymodule.dox
    • Modify the name of module namespace using the name of your module
  3. Add an entry for the new directory to the build system.
    • Edit the file CMakeLists.txt in the directory containing your new module
      • e.g. [ORCA_SRC]/src/components/CMakeLists.txt for components
    • In alphabetical order, add a line "ADD_SUBDIRECTORY ( mymodule )"
 

Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)


Generated for Orca Robotics by  doxygen 1.4.5