- Edited
A minor annoyance with the Pycharm setup for depthai that I can't resolve.
In short - Using any example piece of code from any of the depthai repos (depthai-python/examples, experiments, etc) I find that Pycharm can't resolve any reference to any function that returns an object of type ADatatype.
Has anyone faced this? The code always runs fine in all cases, but the Pycharm indexer can't seem to resolve the reference. As far as I ca see, all other references/types/variables/functions etc resolve just fine out of the box and show the associated docs, it seems to be limited to ADatatype objects
Here's a simple example showing just a snippet of the edge_detector.py
while(True):
edgeLeft = edgeLeftQueue.get()
edgeRight = edgeRightQueue.get()
edgeRgb = edgeRgbQueue.get()
edgeLeftFrame = edgeLeft.getFrame()
edgeRightFrame = edgeRight.getFrame()
edgeRgbFrame = edgeRgb.getFrame()
On hover, I get the popup Unresolved attribute reference 'getFrame' for class 'ADatatype'
Is there any way to force the indexer to include the ADatatype object reference, or is it an intrinsic limitation of using this type of object?
Happy to provide more info if required, just trying to keep the clutter to minimum.
Thanks.