Top-level and global simulation settings -------------------------------------------- The entire world definition file must be contained within a top-level tag ````. At present, a world-definition version number may optionally be added as an attribute, with ``1.0`` the current version. Available parameters (all are optional): - ``0``. The fixed timestep in seconds for numerical integration of the physics engine. Note that if ``T`` is larger than the smallest period of a given sensor, some sensor readings will be missed. That is why there is a "magic" value of ``T`` of ``0`` (the default) which automatically analyze all sensors and sets this timestep accordingly to ensure no reading is lost. - ``9.81``. Gravity acceleration (m/s²), in the negative Z axis direction (i.e. downwards). - ``false``. If enabled, a gamepad or joystick can be used to control the selected vehicle. (Default is ``false`` hence no responding to gamepads). - ``localhost``. The IP address the server must be bound to. Refer to :ref:`architecture`. - ``8`` and ``3``. Velocity and position iteration count (refer to libbox2d docs). - ``0.03``: If the distance between the closest points of a contact manifold (see box2d docs) for two bodies is below this distance, it is marked as "in collision", and reported as such by the collision API. - ``my_dataset.rawlog``: If present, all sensor observations will be saved into an MRPT dataset in ``.rawlog`` format. One file will be created per vehicle, by adding the vehicle name to the provided file name. - ``10.0``: If ``save_to_rawlog`` is enabled, this parameter defines the rate (in Hz) to generate (wheels) odometry observations (Default is 10 Hz). - ``gt.txt``: If non-empty, the ground truth trajectory of all vehicles will be saved to a text file in the `TUM trajectory format `_. One file will be created per vehicle, by adding the vehicle name to the provided file name. - ``50.0``: If ``save_ground_truth_trajectory`` is enabled, this parameter defines the rate (in Hz) to generate entries in the trajectory file (Default is 50 Hz). .. code-block:: xml :caption: Top-level and global settings example 0 ...