Hi! I'm new here. I'm from Spain, and I have an original BQ Ciclop. I like to make a new scanner because ciclop is abandoned and I want to try Fabscan..
I download version 0.92, my other configs are Raspberry 3 and PICAM 5mp. First step sd Image done, boot, ok..
I modify default.config.json like ciclop.config.json.. Well.. With original Bq Bt328 mainboard, baudrate 14400 or 115200 didn't work (correct "baudrate": 19200 and "flash_baudrate": 19200) with this changes fabscan start.. But..................... Last problem...
Lasers and base don't move with firmware 0.92... I put ("autoflash": "False") and I try "https://github.com/mariolukas/FabScanPi-Firmware", I modify "boards.h" with board (" #define MOTHERBOARD BOARD_CYCLOP") I upload file, but nothing..
It's possible that no one has tested the original Bq Ciclop and something it's wrong with this board?? fabscan version 0,92 have some bug?? Or maybe I'm doing something wrong??
Thanks for all! and forgive a noob! ?
Hello and welcome to the FabSan Community,
the setup should generally work with the ciclop, but i have to say that my last test was a couple of month ago. Anyway the current fabscan software release (0.9.2) has some critical bugs which prevent the server software to start up correctly. I will do a release of 0.9.3 version soon.
But you should use the latest version ( 0.9.3 ) in the testing branch because that is stable.
Generally for the ciclop setup the serial connection settings should be
"serial": {
"plattform_type": "ciclop",
"baudrate": 14400,
"autoflash": "True",
"port": "/dev/ttyUSB0",
"flash_baudrate": 115200
},
14400 is fixed value in the firmware (set in the Makefile). 19200 for flashing seems to work in your setup so you should use this value. I don't have the original ciclop ZUM board. Mine is a chinese clone i think we need to do some experiments here.
When the serial connection works and the server is starting you need some additional settings for the ciclop in the config file.
"laser": {
"interleaved": "False",
"numbers": 1,
"color": "R (RGB)"
},
to
"laser": {
"interleaved": "True",
"numbers": 1,
"color": "R (RGB)"
},
- Mario
Tomorrow I''ll do some more test, but I updated to the latest version (0.9.3), and now everything seems to work!! THANKS!! ? ?
Well... I'm back again!
New step, new problem.. Now I can enter on server/duck/options button 4.. laser 1 and 2 works, turntable works.. But when i push on "start calibration" server became stuck..
I think camera stop working...
2020-09-24 16:55:31,224 [545:1996094160] DEBUG - fabscan.server.FSScanServer: Waiting for Webserver exit...
2020-09-24 16:55:51,384 [545:1453057120] DEBUG - fabscan.FSScanner: CPU Temperature: 54.23 C
2020-09-24 16:56:51,382 [545:1390359648] DEBUG - fabscan.FSScanner: CPU Temperature: 53.69 C
2020-09-24 16:58:33,974 [577:1995533008] INFO - fabscan.server.FSScanServer: FabScanPi-Server 0.9.3+202008272250
2020-09-24 16:58:33,983 [577:1995533008] DEBUG - fabscan.scanner.interfaces: Scanner Type is: laserscanner
2020-09-24 16:58:36,087 [577:1995533008] DEBUG - fabscan.scanner.laserscanner.driver.FSSerial: Port in Config found
2020-09-24 16:58:36,090 [577:1995533008] DEBUG - fabscan.scanner.laserscanner.driver.FSSerial: Latest available firmware version is: v.20200624
2020-09-24 16:58:38,073 [577:1995533008] DEBUG - fabscan.scanner.laserscanner.driver.FSSerial: Trying to connect Arduino on port: /dev/ttyUSB0
2020-09-24 16:58:41,099 [577:1995533008] DEBUG - fabscan.scanner.laserscanner.driver.FSSerial: Installed firmware version: v.20200624
2020-09-24 16:58:41,100 [577:1995533008] INFO - fabscan.scanner.laserscanner.driver.FSSerial: FabScanPi is connected to FabScanPi HAT or compatible on port: /dev/ttyUSB0
2020-09-24 16:58:43,128 [577:1995533008] DEBUG - fabscan.scanner.laserscanner.driver.FSSerial: Connection baudrate is: 19200
2020-09-24 16:58:43,129 [577:1995533008] DEBUG - fabscan.scanner.laserscanner.driver.FSSerial: Firmware flashing baudrate is: 19200
2020-09-24 16:58:43,130 [577:1995533008] DEBUG - fabscan.scanner.laserscanner.FSHardwareController: Reset FabScanPi HAT...
2020-09-24 16:58:43,168 [577:1995533008] DEBUG - fabscan.scanner.laserscanner.FSHardwareController: Hardware controller initialized...
2020-09-24 16:58:43,323 [577:1995533008] INFO - fabscan.scanner.laserscanner.FSScanProcessor: Laser Scan Processor initilized.
2020-09-24 16:58:43,436 [577:1995533008] INFO - fabscan.scanner.laserscanner.FSScanProcessor: Laser Scan Processor initilized.
2020-09-24 16:58:43,438 [577:1995533008] DEBUG - fabscan.server.FSWebServer: /usr/share/fabscanpi/
2020-09-24 16:58:43,439 [577:1530016864] DEBUG - fabscan.server.FSWebServer: Server listening on port 8080
2020-09-24 16:58:43,551 [577:1995533008] INFO - fabscan.scanner.laserscanner.FSScanProcessor: Laser Scan Processor initilized.
2020-09-24 16:58:43,663 [577:1995533008] INFO - fabscan.scanner.laserscanner.FSScanProcessor: Laser Scan Processor initilized.
2020-09-24 16:58:43,689 [577:1995533008] INFO - fabscan.FSScanner: Job scheduler started.
2020-09-24 16:58:43,689 [577:1995533008] INFO - fabscan.FSScanner: Scanner initialized...
2020-09-24 16:58:43,690 [577:1995533008] INFO - fabscan.FSScanner: Number of cpu cores: 4
2020-09-24 16:58:43,691 [577:1995533008] INFO - fabscan.lib.util.FSDiscovery: Registering ip 192.168.1.108 to discovery service.
2020-09-24 16:58:44,385 [577:1530016864] DEBUG - fabscan.server.services.websocket.FSWebSocketHandler: New client connected
2020-09-24 16:58:44,777 [577:1995533008] INFO - fabscan.lib.util.FSDiscovery: Successfully registered to find.fabscan.org
2020-09-24 16:58:44,938 [577:1995533008] INFO - fabscan.FSScanner: Added discovery scheduling job.
2020-09-24 16:58:45,129 [577:1530016864] DEBUG - fabscan.FSScanner: Upgrade available: False 0.9.3+202008272250
2020-09-24 16:58:45,211 [577:1521624160] DEBUG - fabscan.scanner.laserscanner.FSScanProcessor: Checking Hardware connections
2020-09-24 16:58:50,070 [577:1513231456] DEBUG - fabscan.scanner.laserscanner.driver.FSCamera: Cam Processor Thread with id 1513231456 started.
2020-09-24 16:58:50,207 [577:1504838752] DEBUG - fabscan.scanner.laserscanner.driver.FSCamera: Cam Processor Thread with id 1504838752 started.
2020-09-24 16:58:50,345 [577:1464730720] DEBUG - fabscan.scanner.laserscanner.driver.FSCamera: Cam Processor Thread with id 1464730720 started.
2020-09-24 16:58:50,483 [577:1452495968] DEBUG - fabscan.scanner.laserscanner.driver.FSCamera: Cam Processor Thread with id 1452495968 started.
2020-09-24 16:58:50,619 [577:1521624160] DEBUG - fabscan.scanner.laserscanner.driver.FSCamera: Cam Stream with Resolution (800, 600) started
2020-09-24 16:58:50,645 [577:1530016864] DEBUG - fabscan.server.services.api.FSStreamHandler: mjpeg stream started.
2020-09-24 16:59:28,945 [577:1464730720] DEBUG - fabscan.scanner.laserscanner.driver.FSCamera: Cam Processor Thread with id 1464730720 killed.
2020-09-24 16:59:44,943 [577:1464730720] DEBUG - fabscan.FSScanner: CPU Temperature: 55.84 C
"folders": {
"www": "/usr/share/fabscanpi/",
"scans": "/home/pi/scans/"
},
"laser": {
"interleaved": "True",
"numbers": 2,
"color": "R (RGB)"
},
"scanner_type": "laserscanner",
"calibration": {
"weight_matrix": [],
"dist_camera_matrix": [],
"pattern": {
"square_size": 11,
"rows": 6,
"columns": 8,
"origin_distance": 35.70
},
"camera_matrix": [],
"distortion_vector": [],
"laser_planes": [
{
"deviation": 0,
"distance": 0,
"normal": []
},
{
"deviation": 0,
"distance": 0,
"normal": []
}
],
"platform_translation": [],
"platform_rotation": []
},
"meshlab": {
"path": "/usr/bin/"
},
"process_numbers": 4,
"turntable": {
"steps": 3200,
"radius": 100
},
"camera": {
"resolution": {
"width": 1640,
"height": 1232
},
"preview_resolution": {
"width": 800,
"height": 600
},
"rotate": "True",
"hflip": "True",
"vflip": "False",
"type": "PICAM",
"undistort": "False"
},
"serial": {
"plattform_type": "ciclop",
"baudrate": 19200,
"autoflash": "True",
"port": "/dev/ttyUSB0",
"flash_baudrate": 19200
},
"texture_illumination": 140,
"keep_raw_images": "True",
"discoverable": "True",
"online_lookup_ip": "8.8.8.8"
}
any idea of the problem?? ?
Update..
I make an other boot image (Server Version 0.90).
With the 0.90 I can finish the calibration.. But problem became from "start scan".. Scan starts with texture, all works perfectly until it changes from texture to laser. Image disappear and nothing else happens.. Tomorrow I downgrade server version again.. ?
use the v.093
.ssh login to the Pi
.sudo nano /etc/apt/sources.list.d/fabscanpi.list
.change the line to the sources.list that it looks exactly like this:
deb http://archive.fabscan.org/ testing main
.save "ctrl o -Enter ---- ctrl x Enter
.sudo apt-get update && sudo apt-get dist-upgrade
Seems to be working for me now with the HE3D Cyclop, Pi4, and a pi-cam!
Server: v.0.9.3+202008272250
Firmware: v.20200624