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.

Subclassed by LinearSensor

Public Functions

virtual void initialize(const NonSmoothDynamicalSystem &nsds)#

initialize sensor data.


nsds – the Model

unsigned int getYDim() const#

Get the dimension of the output.


an unsigned int

inline const SiconosVector &y() const#

Get a pointer to the output.


SP::SiconosVector to the output

virtual void capture() = 0#

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