Revision ad7447b3e726de653f2c77f4db63fb0c383dc555 authored by Francesc Domene on 04 July 2019, 13:50:10 UTC, committed by Néstor Subirón on 09 July 2019, 17:18:46 UTC
1 parent a847f8a
Raw File
sensor.yml
---
- module_name: carla
  doc: >
  # - CLASSES ------------------------------
  classes:
  - class_name: Sensor
    parent: carla.Actor
    # - DESCRIPTION ------------------------
    doc: >
    # - PROPERTIES -------------------------
    instance_variables:
    - var_name: is_listening
      type: boolean
      doc: >
        Is true if the sensor is listening for data
    # - METHODS ----------------------------
    methods:
    - def_name: listen
      params:
      - param_name: callback
        type: function
        doc: >
          Function that will be called each time the sensor sends data. As a parameter the function receives a buffer with the data.
      doc: >
    # --------------------------------------
    - def_name: stop
      doc: >
        Stops listening for data
    # --------------------------------------
    - def_name: __str__
      doc: >
    # --------------------------------------
...
back to top