Urgent ... Urgent ....
 

Urgent ... Urgent ...  

  RSS
Qaribpour
(@qaribpour)
Active Member

"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

Quote
Posted : 09/09/2019 6:03 pm
Danilo0702
(@danilo0702)
Trusted Member

i mean you can fix this in the config.json

ReplyQuote
Posted : 11/09/2019 9:31 am
Qaribpour
(@qaribpour)
Active Member

@danilo0702

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

ReplyQuote
Posted : 12/09/2019 6:23 am
mario
(@mario)
Member Admin

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

 

ReplyQuote
Posted : 12/09/2019 7:46 am
mario
(@mario)
Member Admin

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.

ReplyQuote
Posted : 12/09/2019 7:47 am
Qaribpour
(@qaribpour)
Active Member

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

 

This post was modified 1 month ago by Qaribpour
ReplyQuote
Posted : 04/11/2019 9:23 pm
Share: