Understanding Morse’s code organisation¶
The Morse source code is organised in the following way :
addonsthis contains various addons for Blender, useful for MORSE simulationbinthis contains the MORSE simulation’s main entry pointbindingsthis contains some Python libraries to access to MORSE data, through the socket middlewareconfigthis contains support for CMakedatathis contains the Blender model of sensors and actuatorsdoc: the documentation (in reStructuredText format)examplesthis contains examples about :- how to control the simulator (in
clients) - more or less elaborate test scenarios (in
scenarii)
- how to control the simulator (in
srcthis contains all the Python scripts used by the simulator; this is the core of the simulatormorse/actuatorsthis contains implementations for various robot actuatorsmorse/blenderthis contains some scripts needed at the initialization of the game enginemorse/builderthis contains the scripts for the API that permits creating a simulation scenario from a Python file. See the Builder API documentation.morse/corethis contains core classes for the MORSE project (services, base objects, sensors, etc.)morse/helpersthis contains various helper functions (e.g., math transformation)morse/middlewarethis contains the code for linking with different middlewares, both for service or datastream. Each middleware has a separate directory.morse/modifiersthis contains implementations for various modifiers to basic componentsmorse/robotsthis contains implementations of various robot classesmorse/sensorsthis contains implementations of various robot sensors
testingthis contains unit tests for various parts of MORSE.