diff --git a/Vulcano_drilling_with_setitec.adoc b/Vulcano_drilling_with_setitec.adoc new file mode 100644 index 0000000000000000000000000000000000000000..c735c67cd23d94f78270a006a5c6e075cce3f917 --- /dev/null +++ b/Vulcano_drilling_with_setitec.adoc @@ -0,0 +1,46 @@ +== Vulcano Drilling Demo + +This document describes the work done to adapt the drilling demo from the hi-shear drilling template to the new one, designed for the *Setitec driller*. + + +=== Detection of the template +Initially, the template's detection was almost never possible. The main problem appeared to be the differenciation between the background plane and the template plane. +Here is a list of the attempted changes : + +* Change the *projector position* to different heights. Best results with projector pointing at the middle of the template. But low detection rate (less than around 25%) + +* *Parameters tuning* in demo_tecnalia_lab package, _~/config/detection_inertia_param_torso_tecnalia.yaml_ (left arm) and _~/config/detection_inertia_param_arm_tecnalia.yaml_ (right arm). +Param tested : max and min distances from the scene, canny edge threshold. No significal improvement observed. + +* Use a *white background* (with sheets of paper). Detection rate was improved (more than 50%), as the projected pattern is better seen compared to the dark initial color of the wing. However, it appeared that hiding the writing of Aernova (just above the template) made the detection impossible... Possible explanation : the different edges of the writing may be used by both cameras to detect similarities and construct the depth map. + +* Add plastic wedges to create an *offset* and put more distance between the two planes that need to be differenciated. Tested with the dark background. Detection rate was improved (still less than 50%). + +* *The dark coloured wing* used so far as a background was *removed*. We fixed the template directly on the support, at a distance of around 5 cm between the template and the wall to be able to insert an aluminium plate for real drilling tests. With this offset, the results were similar to the previous step. + +PHOTO + +[#img-sunset] +.A mountain sunset +image::sunset.jpg[Sunset,300,200] + +* *White panels* were added to supress the offset between the background and the template to be more close to the final application. With this, we obtained the same random results as before, with a detection rate smaller than 50%. + +PHOTO + +* *Update camera* software and firmware to improve the smoothing of the depth map. Resulted in this output : + + +PHOTO () PHOTO + +The distinction of the general shape of the template seems clear, with few outliers. However, the template is still not detected more than 50 % of the time + +=== TCP of the new driller +It appeared that the driller was not correctly aligned with the holes. We followed these steps to correct it : + +* New *TCP calibration*. It resulted in the exact same transform, so no improvement obtained +* *Offset* of the transform tuning. By adding small offset to the xyz transform, the driller was then pointing at the center of the holes when they are detected + +These operations were repeated as we added the force sensors *OptoForce* at the end of the arm. + + diff --git a/detection_not_working.png b/detection_not_working.png new file mode 100644 index 0000000000000000000000000000000000000000..7552ec2cdc58c8c53a6f8eea24d8c48c386ce95d Binary files /dev/null and b/detection_not_working.png differ diff --git a/segmentation.png b/segmentation.png new file mode 100644 index 0000000000000000000000000000000000000000..a8ac1c9471c82a77d0a4aff250b738809915d5c6 Binary files /dev/null and b/segmentation.png differ diff --git a/template1.jpg b/template1.jpg new file mode 100755 index 0000000000000000000000000000000000000000..c42c845645a9dce25c83cceda695a19a3be977cc Binary files /dev/null and b/template1.jpg differ diff --git a/template2.jpg b/template2.jpg new file mode 100755 index 0000000000000000000000000000000000000000..4db3379a06c52849fccda089cfb34d6dda4fc1ae Binary files /dev/null and b/template2.jpg differ