-
Notifications
You must be signed in to change notification settings - Fork 79
Open
Description
Hi,
i'm trying to use the Histo3dDecoder with:
std::unique_ptr<Metavision::Device> device = Metavision::DeviceDiscovery::open("");
auto* decoder = device->get_facility<Metavision::Histo3dDecoder>();but i get this compile error:
/usr/local/include/metavision/hal/device/device.h:32:23: error: static assertion failed due to requirement 'std::is_base_of<Metavision::I_RegistrableFacility<Metavision::Histo3dDecoder, void>, Metavision::Histo3dDecoder>::value': Unable to get facility of unregistrable facility type.
32 | static_assert(std::is_base_of<I_RegistrableFacility<FacilityType>, FacilityType>::value,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
camera_tuner.cpp:191:41: note: in instantiation of function template specialization 'Metavision::Device::get_facility<Metavision::Histo3dDecoder>' requested here
191 | auto* i_histogram_decoder = device->get_facility<Metavision::Histo3dDecoder>();Is it expected? What code am i missing here?
Is there any example of EHCDecoder usage somewhere?
Thanks a lot!
skal/
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels