siconos.control.sensor.ControlSensor (Python class)

class siconos.control.sensor.ControlSensor(*args)[source]

Bases: siconos.control.sensor.Sensor

Generic control Sensor to get the output of the system.

A generic control sensor

Generated class (swig), based on C++ header Program listing for file control/src/Sensor/ControlSensor.hpp.

capture() → void[source]

capture()=0 -> None

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

getYDim() → int[source]

Get the dimension of the output.

Returns:an unsigned int
initialize(NonSmoothDynamicalSystem nsds) → None[source]

get all the data saved for this sensor

Returns:a DataSet initialize sensor data.
Parameters:nsds – the Model
y() -> array_like (np.float64, 1D)[source]

Get a pointer to the output.

Returns:SP::SiconosVector to the output
yTk() -> array_like (np.float64, 1D)[source]