Use the morse executable program, with the corresponding option, to start a simulation.
To verify that your installation and configuring of MORSE is correct, execute:
$ morse check
To start the simulation right away, do:
$ morse run <filename>
Where filename can be a Blender file or a Python script that uses the Builder API to describe a simulation scenario.
To load the simulation scenario in the Blender interface:
$ morse edit <filename>
This will give you the chance to modify the scene before pressing p to start the simulation.
Additionally, the following options can be given to the MORSE executable:
The MORSE Builder API, is a set of components and methods to build a simulation scene. A simulation scene is composed of an environment and one or more robots composed of sensors and actuators. Each of those components are connected outside the simulator through middlewares.
A simulation in MORSE is executed using the Game Engine mode of Blender. When in this mode, the button panels of Blender are disabled and the controls change. When running morse edit <filename>, it is recommended to switch the Blender 3D View window to full screen before starting a simulation. Press Ctrl-Up when the mouse is over a window to toggle it to full screen and back.
The default MORSE scene, as well as most of the provided scenario files, contain an object called CameraFP. It allows the user to control the view of the scene during the simulation, using the mouse and keyboard, in the same way as First Person Shooter game. The camera can be moved around using:
The direction the camera points to is controlled with the mouse. Hold down the Ctrl key while moving the mouse.
It is possible to adjust the speed of the camera movement, by selecting the CameraFP object in the scene, and adjusting the game properties of the camera object: Sensitivity for the mouse, and Speed for the keyboard.
The following are key bindings already defined in any simulation scene
Warning
There is a bug in the code, which will make any forces acting on an object be still active when the position is reset. This can cause an object to start rotating or moving without an apparent reason.
Note
If this doesn’t work either, switch to the command terminal where MORSE was started and type: Ctrl-\. This will kill Blender.