Class SimulatedSensor

    • Constructor Detail

      • SimulatedSensor

        public SimulatedSensor​(long cPtr,
                               boolean cMemoryOwn)
    • Method Detail

      • getName

        public java.lang.String getName()
        get name of this simulated sensor
      • getFrame

        public Frame getFrame()
        get frame that this sensor is attached to.
      • update

        public void update​(Simulator.UpdateInfo info,
                           State state)
        steps the the SimulatedSensor with time dt and saves any state
        changes in state.
        info - [in] update information related to the time step.
        state - [out] changes of the SimulatedSensor is saved in state.
      • reset

        public void reset​(State state)
        Resets the state of the SimulatedSensor to that of state
        state - [in] the state that the sensor is reset too.
      • getSensorModel

        public SensorModelPtr getSensorModel()
        get the sensor model of this simulated sensor.
      • getSensorHandle

        public SensorPtr getSensorHandle​(SimulatorPtr sim)
        get a handle to controlling an instance of the simulated sensor in a specific
        sim - [in] the simulator in which the handle is active