You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is with the object type check in the yarp.Image class copy method:
For starters there is a bug in the _image.copy wrapper method:
_image._copy=_image.copy;_image.copy=function(obj){if(_image.getObjType==obj.getObjType)_image.copy(obj);<-------------------HEREelseconsole.log('Error: impossible to copy image');}
_image.copy(obj) should be _image._copy(obj) for calling the original copy method, otherwise we create a infinite loop recursive call.
Sending an image sample through YARP from the browser is not properly implemented in the yarp.js package. The problem is bigger than just the object type check failure described earlier. I've opened an issue on yarp.js repo.
Originally posted by @nunoguedelha in ami-iit/yarp-openmct#104 (comment)
Additional details to be added...
The text was updated successfully, but these errors were encountered: