.. _SafetyInterface: SafetyInterface =============== .. cpp:namespace:: pilot::SafetyInterface Interface --------- The `SafetyInterface` is available on platforms with a safety control device (e.g. SICK FlexiSoft) managed by the control software. It provides high level access to certain safety features. Most functions require a special permission, see :ref:`pilot.permission_e`. Functions --------- Safety Field Functions ^^^^^^^^^^^^^^^^^^^^^^ .. cpp:function:: void select_safety_field(uint field_id) Switches the currently active safety field to the one with the given ID. Use ``field_id = 0`` to disable or revert to preset. Requires permission ``SAFETY_FIELD_CONTROL``.