Optical Modem

An optical modem for communications for aerial or surface agents.

The command biguasim.environments.BiguaSimEnvironment.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:

  • biguasim.environments.BiguaSimEnvironment.modems returns all modems.

  • biguasim.environments.BiguaSimEnvironment.modems_id returns all modem ID’s.

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
    }
}