Class ControlSensor

Defined in Program listing for file control/src/Sensor/ControlSensor.hpp

class ControlSensor : public Sensor

Generic control Sensor to get the output of the system.

A generic control sensor

Subclassed by LinearSensor

Public Functions

virtual void capture() = 0

capture data when the SensorEvent is processed => set data[SensorEvent]=…

unsigned int getYDim() const

Get the dimension of the output.

Return
an unsigned int

virtual void initialize(const NonSmoothDynamicalSystem &nsds)

get all the data saved for this sensor

Return
a DataSet initialize sensor data.
Parameters
  • nsds: the Model

const SiconosVector &y() const

Get a pointer to the output.

Return
SP::SiconosVector to the output