funny looking scann...
 
Notifications
Clear all

[Solved] funny looking scannings result

17 Posts
6 Users
2 Likes
2,261 Views
thler
Posts: 5
Topic starter
(@thler)
Active Member
Joined: 4 years ago

Hi...
i get funny results when scanning, any idears why?

pias1
pias

 :)

Reply
16 Replies
Danilo0702
Posts: 394
(@danilo0702)
Reputable Member
Joined: 5 years ago

my tip ... calibrate really well and then use glue for the lasers. My camera was not at the right angle.

 

Reply
mario
Posts: 570
Admin
(@mario)
Honorable Member
Joined: 6 years ago

My tip. Your motor is doing two turns. If you are using the silent step stick motor driver which is delivered with the kit I will bet you are using a motor with 200 steps and your configuration is set for a motor with 400 steps. Have a look into the config and check the motor steps value. By default it points to 6400 steps. In case of a 200 step motor change this value to 3200 steps. 

If you are not using a silent step stick motor driver, e.g. something like a4988 or similar. You need to bridge some connectors on your HAT to get 1/16 step resolution. And additionally check the value for the motor.

Bildschirmfoto 2020 01 09 um 09.22.46 (3)

I will add this bridging part for a4988 and similar drivers to the documentation. It depends on the driver whether you connect to GND or 5V. You can find further information on this topic: https://fabscan.org/community/f-a-q/configuration-for-400-step-motor/paged/2/

Anyway you definetly need to recalibrate your scanner after changing the config.

Reply
thler
(@thler)
Joined: 4 years ago

Active Member
Posts: 5

@mario Tank you for your idea for a solution, I started by checking the software, and you were right, it was set to 6400 steps, I changed it to 3200 steps, calibrated the scanner and the issue was fixed.. ??

 

Reply
mario
Posts: 570
Admin
(@mario)
Honorable Member
Joined: 6 years ago

Glad to hear. So i will mark this as solved. 

Reply
thler
Posts: 5
Topic starter
(@thler)
Active Member
Joined: 4 years ago

So far so good ? 

i have bin looking for others with my next issue, but dident seam to find any..

when i scan, the result seams to be mirrored try to look at the text om my scanned object. Is there a solution to that issue?

pias mirror

 Great scan thow ? 

Reply
moop
Posts: 14
 moop
(@moop)
Active Member
Joined: 4 years ago

what direction is the turntable rotating durring the scan? Should be CW. If CCW, you might have the stepper motor connections inverted.

Reply
Danilo0702
(@danilo0702)
Joined: 5 years ago

Reputable Member
Posts: 394
Posted by: @moop

what direction is the turntable rotating durring the scan? Should be CW. If CCW, you might have the stepper motor connections inverted.

in Clock direction

 

Reply
yhellowt
Posts: 12
(@yhellowt)
Active Member
Joined: 4 years ago

I put together the kit that I received earlier this week. The electronics work and I can operate the rotating plate, the laser and the led ring. I changed the values in the config file to match the 200 steps of the stepper motor. 

Calibration seems to work fine (with a 3d printer foot for the card). 

However, all my scans seem to have a mirror in them. I have tried changing the configuration and calibrated multiple times. What would cause this issue?

 

Spoiler
Config file
{
"folders": {
"www": "/usr/share/fabscanpi/",
"scans": "/home/pi/scans/"
},
"online_lookup_ip": "8.8.8.8",
"laser": {
"color": "R (RGB)",
"numbers": 1,
"interleaved": "False"
},
"scanner_type": "laserscanner",
"calibration": {
"weight_matrix": [],
"dist_camera_matrix": [],
"pattern": {
"square_size": 10,
"rows": 6,
"columns": 8,
"origin_distance": 23
},
"camera_matrix": [
[
1306.053,
0.0,
616.985
],
[
0.0,
1304.221,
861.135
],
[
0.0,
0.0,
1.0
]
],
"distortion_vector": [
-0.1,
2.02,
0.001,
0.001,
-7.202
],
"laser_planes": [
{
"deviation": 0.04120628210826959,
"distance": 86.46337848640721,
"normal": [
0.8173549772430692,
-0.004987131111078821,
0.5761128098725654
]
}
],
"platform_translation": [
-2.403873745392703,
31.95672562674753,
153.44357807684673
],
"platform_rotation": [
[
0.0,
0.9999820025622422,
0.005999545950141643
],
[
0.04108948924738644,
0.0059944791555292575,
-0.999137488083118
],
[
-0.9991554703215055,
0.00024651827880754594,
-0.041088749741861205
]
]
},
"keep_raw_images": "True",
"meshlab": {
"path": "/usr/bin/"
},
"process_numbers": 3,
"turntable": {
"steps": 3200,
"radius": 70,
"height": 155
},
"camera": {
"rotate": "True",
"resolution": {
"width": 1640,
"height": 1232
},
"vflip": "False",
"undistort": "False",
"preview_resolution": {
"width": 800,
"height": 600
},
"hflip": "True",
"type": "PICAM"
},
"discoverable": "True",
"serial": {
"plattform_type": "fabscanpi",
"baudrate": 57600,
"autoflash": "True",
"port": "/dev/ttyAMA0",
"flash_baudrate": 115200
},
"texture_illumination": 40
}

 

 

Reply
mario
Posts: 570
Admin
(@mario)
Honorable Member
Joined: 6 years ago

Can you provide some pictures?

Reply
yhellowt
(@yhellowt)
Joined: 4 years ago

Active Member
Posts: 12
Image 4 13 20 at 9.27 AM

 

@mario

Screenshot 2020 04 13 at 9.24.22 AM

 

Reply
mario
Posts: 570
Admin
(@mario)
Honorable Member
Joined: 6 years ago

Which kind of motor driver do you use? Can you attach a picture of the driver?

Reply
yhellowt
(@yhellowt)
Joined: 4 years ago

Active Member
Posts: 12
mario
Admin
(@mario)
Joined: 6 years ago

Honorable Member
Posts: 570

@yhellowt i think i know the problem. There were similar a very similar issue with this driver somewhere in the forum. The current kits come with this. The kits before had a TMC2100 driver. I will search the post and give you a link to it. I also try to add this as part of the documentation.

Reply
Manfred
(@manfred)
Joined: 4 years ago

Active Member
Posts: 5
Posted by: @mario

@yhellowt i think i know the problem. There were similar a very similar issue with this driver somewhere in the forum. The current kits come with this. The kits before had a TMC2100 driver. I will search the post and give you a link to it. I also try to add this as part of the documentation.

@mario

Did you find that reason, and the solution about it.

BR Manfred

 

Reply
yhellowt
(@yhellowt)
Joined: 4 years ago

Active Member
Posts: 12

@manfred, while waiting for an answer, I solved it temporarily by lowering the number of steps in the config file to 1600 steps.

Reply
mario
Posts: 570
Admin
(@mario)
Honorable Member
Joined: 6 years ago
Posted by: @manfred

Did you find that reason, and the solution about it

Lowering the steps is a good workaround. But also read this thread

https://fabscan.org/community/f-a-q/configuration-for-400-step-motor/  

It describes a solution. I need to add it to the documentation, while a lot of people seem to have this issue.

Reply
Share: