Optical Modem

An optical modem for communications for aerial or surface agents.

The command holoocean.environments.HoloOceanEnvironment.send_optical_message() is used to send messages between optical modems.

..note::

In order for a message to be transmitted, the 2 sensors must be aligned.

Further, a few helper functions exist if needed:

See Multi Agent Example for an example of how to use this sensor.

See OpticalModemSensor for the python API.

Example sensor definition:

{
    "sensor_type": "OpticalModemSensor",
    "location": [0,0,0],
    "configuration": {
        "id": 1
    }
}