SDK Driver Deprecated features¶
Warning
All the features documented in this page are deprecated since version 2.1.0 and will be removed in next releases
-
class
Metavision
::
Imu
¶ Facility class to handle imu events.
- Note
This class is deprecated since version 2.1.0 and will be removed in next releases
Public Functions
-
~Imu
()¶ Destructor.
Deletes a Imu class instance.
-
CallbackId
add_callback
(const EventsImuCallback &cb)¶ Subscribes to Imu events.
Registers a callback that will be called each time a buffer of EventIMU has been decoded.
- See
EventsImuCallback
- Return
ID of the added callback
- Parameters
cb
: Callback to call each time a buffer of EventIMU has been decoded
-
bool
remove_callback
(CallbackId callback_id)¶ Removes a previously registered callback.
- Return
True if the callback has been unregistered correctly, false otherwise.
- See
- Parameters
callback_id
: Callback ID
-
class
Metavision
::
Temperature
¶ Facility class to handle temperature events.
- Note
This class is deprecated since version 2.1.0 and will be removed in next releases
Public Functions
-
~Temperature
()¶ Destructor.
Deletes a Temperature class instance.
-
CallbackId
add_callback
(const EventsTemperatureCallback &cb)¶ Subscribes to Temperature events.
Registers a callback that will be called each time a buffer of EventTemperature has been decoded.
- See
EventsTemperatureCallback
- Return
ID of the added callback
- Parameters
cb
: Callback to call each time a buffer of EventTemperature has been decoded
-
bool
remove_callback
(CallbackId callback_id)¶ Removes a previously registered callback.
- Return
true if the callback has been unregistered correctly, false otherwise
- See
- Parameters
callback_id
: Callback ID
-
class
Metavision
::
Illuminance
¶ Facility class to handle illuminance events.
Public Functions
-
~Illuminance
()¶ Destructor.
Deletes a Illuminance class instance.
-
CallbackId
add_callback
(const EventsIlluminanceCallback &cb)¶ Subscribes to Illuminance events.
Registers a callback that will be called each time a buffer of EventIlluminance has been decoded.
- See
EventsIlluminanceCallback
- Return
ID of the added callback
- Parameters
cb
: Callback to call each time a buffer of EventIlluminance has been decoded
-
bool
remove_callback
(CallbackId callback_id)¶ Removes a previously registered callback.
- Return
true if the callback has been unregistered correctly, false otherwise
- See
- Parameters
callback_id
: Callback ID
-
-
class
Metavision
::
EM
¶ Facility class to handle EM events.
- Note
This class is deprecated since version 2.1.0 and will be removed in next releases
Public Functions
-
~EM
()¶ Destructor.
Deletes a EM class instance.
-
CallbackId
add_callback
(const EventsEMCallback &cb)¶ Subscribes to EM events.
Registers a callback that will be called each time a buffer of EventEM has been decoded.
- See
EventsEMCallback
- Return
ID of the added callback
- Parameters
cb
: Callback to call each time a buffer of EventEM has been decoded
-
bool
remove_callback
(CallbackId callback_id)¶ Removes a previously registered callback.
- Return
True if the callback has been unregistered correctly, false otherwise.
- See
- Parameters
callback_id
: Callback ID