Urgent ... Urgent ....
 
Notifications
Clear all

Urgent ... Urgent ...

6 Posts
3 Users
1 Reactions
2,807 Views
Qaribpour
Posts: 13
Topic starter
(@qaribpour)
Active Member
Joined: 5 years ago

"Customise servo motor rotation rate"

hi everybody,

I want to know if it is possible to  increase the amount of motor rotation. For example, rotating 2 rounds instead of one.

If yes, from point of  programing view, could you please let me know  how can I do that?

Kind regards,

Hossein

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

i mean you can fix this in the config.json

Reply
Qaribpour
(@qaribpour)
Joined: 5 years ago

Active Member
Posts: 13

@danilo0702

I am not enough familiar with this part of Javascript, could you help me more PLZ.

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

Do you want to rotate two times, because you expect better scan results? If so i can say that you will get the same pointcloud twice. If you need it for a custom project, you need to change stuff in the backend part (python).

https://github.com/mariolukas/FabScanPi-Server/blob/master/src/fabscan/scanner/laserscanner/FSScanProcessor.py

Best approach would be to start the object scan again by calling

init_object_scan()

and 

self.actor_ref.tell({FSEvents.COMMAND: FSScanProcessorCommand._SCAN_NEXT_OBJECT_POSITION})

after finish_object_scan() is reached.

https://github.com/mariolukas/FabScanPi-Server/blob/master/src/fabscan/scanner/laserscanner/FSScanProcessor.py#L365

 

Reply
Qaribpour
(@qaribpour)
Joined: 5 years ago

Active Member
Posts: 13

Dear Mario
I have a simple and basic question, and I have to address it urgently.
I wanna edit python  backend codes, but I don’t know how can I access them, should I find them in SD card or should I follow another approach?

Thanks in advanced and regards,
Hossein

 

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

Or just as @danilo0702 suggested increase the amount of steps for turntable. Just double it. But keep in mind that will not increase the scan quality.

Reply
Share: