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.


an unsigned int

virtual void initialize(const NonSmoothDynamicalSystem &nsds)

get all the data saved for this sensor


a DataSet initialize sensor data.

  • nsds: the Model

const SiconosVector &y() const

Get a pointer to the output.


SP::SiconosVector to the output