Hi there
I was wondering is there anyway for the epuck to move towards the closes blob ,which are round discs, that it detects? Since blobCount values can count the amount of blobs detected within the image of the epuck camera, how can i choose the blob closest to the epuck?
Thanks in advance
moving epuck towards nearest blob
Re: moving epuck towards nearest blob
Hello,
you will have to transform the blob positions from x/y position to 3D position, by taking into account the vision sensor's angle of view, and the vision camera's transformation (position and orientation). This is the general way of doing. Now, if the camera has a specific orientation (e.g. always looking horizontally), then you probably have some shortcuts.
Cheers
you will have to transform the blob positions from x/y position to 3D position, by taking into account the vision sensor's angle of view, and the vision camera's transformation (position and orientation). This is the general way of doing. Now, if the camera has a specific orientation (e.g. always looking horizontally), then you probably have some shortcuts.
Cheers