Hi, i have a question to the vision sensor filters or now vision callback functions.
I want to use V-REP / CoppeliaSim for a Pick-and-Place project.
In this project i want to simulate an object recognition with a 3D vision sensor (point cloud) and after that transfer this to a real robot / RGBD camera.
Until now i can make the simulation by using simVision / simIM but where is the code of this methods?
The real project will be in python and ROS so if i'm right i can't use things like "simVision.edgeDetectionOnWorkImg()" in a python script becaus this a V-REP intern function?
Any ideas how i can solve this?
Export the vision filter code to python script
Re: Export the vision filter code to python script
Hello,
you have several ways of doing this. For instance:
Cheers
you have several ways of doing this. For instance:
- wrap some c++ code inside of a plugin, which will export a new script function, e.g. simMyPlugin.process(). And you can then submit the original image of the vision sensor to your plugin.
- from an external application, you can stream raw images from the vision sensor, and process them in your application (and possibly send them back to CoppeliaSim for display). You can use ROS, ROS2, the legacy remote APi or the B0-based remote APi for that.
Cheers