<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									[Software] FabScanPi Server - 				            </title>
            <link>https://fabscan.org/community/latest-release/</link>
            <description>FabScan Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Wed, 08 Apr 2026 09:50:07 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>Scanned Points Come Out Wrong</title>
                        <link>https://fabscan.org/community/latest-release/scanned-points-come-out-wrong/</link>
                        <pubDate>Fri, 23 Dec 2022 04:29:42 +0000</pubDate>
                        <description><![CDATA[I have My FabScanner built, and mechanically its working. I used an Arduino Uno with a Pi 3, a single laser and a Pi V2 camera. I built my box from some old 70s style mid century teak veneer...]]></description>
                        <content:encoded><![CDATA[<p>I have My FabScanner built, and mechanically its working. I used an Arduino Uno with a Pi 3, a single laser and a Pi V2 camera. I built my box from some old 70s style mid century teak veneer which looks great. Even though the FabScan is mostly working (after fixing a few bugs in the Arduino FW - which I will submit later), I can not get the scan data points to look correct. Can someone help me !</p>
<p>I calibrated my system, and the config file can be seen below (post calibration). I changed a few things in the default.config.json file, because my NEMA stepper motor has a resolution of 200, and is in 1/16th mode - so 3200 per complete single revolution, and the diameter of the turntable is 14 cm, so 70 mm radius :</p>
<p>turntable": {<br />"steps": 3200,<br />"radius": 70,<br />"height": 15,<br />"degree_per_step": {<br />"low": 3.6,<br />"medium": 1.8,<br />"high": 0.8<br />}</p>
<p>One thing with the above though is that the fabScan wiki help pages don't mention what degree of step - low, medium, high are for, or the height is for ?</p>
<p>I also changed the number of laser to 1 - single laser.</p>
<p>The non default camera settings are these - as my camera shows the image sideways (rotated 90 degrees) - so I changed vflip to True.</p>
<p>"rotate": "True",<br />"hflip": "False",<br />"vflip": "True",</p>
<p>The calibration values are the default values, apart from the origin-distance, which is 47mm from the turntable to the top of the bottom chessboard row, so I changed it to this</p>
<p>"pattern": {<br />"square_size": 11,<br />"rows": 6,<br />"columns": 8,<br />"origin_distance": 47,<br />"type": "chessboard"<br />},</p>
<p>These settings match my chessbaord calibration I printed off.</p>
<p>Following are pictures from my scans of a tea pot. Here is the original image from the first phase of calibration</p>
644
<p> </p>
<p>I noticed when I set the config to keep the scan images, that I can see the red laser outline and it looks correct - apart from the images are rotated 90 degrees - so imagine each picture is on its side 90 degrees rotated to the right with the top of the image on the right hand side of each picture.</p>
647
<p>Also the cloud points are the same, when I rotate the cloud points in the web browser they dont rotate around the centre of the turn table, they rotate around a side view.</p>
645
646
<p>Is there a bug when you change the vflip ? Shall I rotate the camera physically to the correct orientation ? Then put the vflip back to false ? </p>
<p>This is the complete config file...</p>
<p>{<br />"folders": {<br />"www": "/usr/share/fabscanpi/",<br />"scans": "/home/pi/scans/"<br />},<br />"laser": {<br />"interleaved": "False",<br />"numbers": 1,<br />"color": "R (RGB)"<br />},<br />"scanner_type": "laserscanner",<br />"calibration": {<br />"weight_matrix": [],<br />"dist_camera_matrix": [],<br />"pattern": {<br />"square_size": 11,<br />"rows": 6,<br />"columns": 8,<br />"origin_distance": 47,<br />"type": "chessboard"<br />},<br />"camera_matrix": [<br />,<br />,<br /><br />],<br />"distortion_vector": ,<br />"laser_planes": [<br />{<br />"distance": 137.20160911374415,<br />"normal": ,<br />"deviation": 0.02480792209446897<br />}<br />],<br />"platform_translation": ,<br />"platform_rotation": [<br />,<br />,<br /><br />],<br />"type": "chessboard"<br />},<br />"meshlab": {<br />"path": "/usr/bin/"<br />},<br />"process_numbers": 3,<br />"turntable": {<br />"steps": 3200,<br />"radius": 70,<br />"height": 15,<br />"degree_per_step": {<br />"low": 3.6,<br />"medium": 1.8,<br />"high": 0.8<br />}<br />},<br />"camera": {<br />"resolution": {<br />"width": 1640,<br />"height": 1232<br />},<br />"preview_resolution": {<br />"width": 800,<br />"height": 600<br />},<br />"rotate": "True",<br />"hflip": "False",<br />"vflip": "True",<br />"type": "PICAM",<br />"undistort": "False"<br />},<br />"connector": {<br />"type": "serial",<br />"firmware": "fabscanpi",<br />"baudrate": 57600,<br />"autoflash": "False",<br />"flash_baudrate": 115200,<br />"port": "/dev/ttyUSB0"<br />},<br />"texture_illumination": 160,<br />"keep_raw_images": "False",<br />"keep_calibration_raw_images": "False",<br />"discoverable": "True",<br />"online_lookup_ip": "8.8.8.8"<br />}</p>
645
646]]></content:encoded>
						                            <category domain="https://fabscan.org/community/latest-release/">[Software] FabScanPi Server</category>                        <dc:creator>marcuso</dc:creator>
                        <guid isPermaLink="true">https://fabscan.org/community/latest-release/scanned-points-come-out-wrong/</guid>
                    </item>
				                    <item>
                        <title>What exactly does the Calibration do ?</title>
                        <link>https://fabscan.org/community/latest-release/what-exactly-does-the-calibration-do/</link>
                        <pubDate>Thu, 15 Dec 2022 04:13:09 +0000</pubDate>
                        <description><![CDATA[Hi,
As I am using an Arduino Uno rather than a shield, I&#039;ve re-written the Arduino FW to simplify it. I couldn&#039;t get my stepper motors to work with the AccelStepper class thats used in the ...]]></description>
                        <content:encoded><![CDATA[<p>Hi,</p>
<p>As I am using an Arduino Uno rather than a shield, I've re-written the Arduino FW to simplify it. I couldn't get my stepper motors to work with the AccelStepper class thats used in the MotorDriver.cpp arduino source. I have written a simple step function that takes moves the stepper one step.</p>
<p>Running the calibration routine seems to makea full turn of the motor first, then moves the chessboard on the stepper -128 steps repeatedly, meaning the stepper motor ends up going around another full turn or two. Is this correct ? Or is the calibration supposed to be moving it 128 steps clockwise, then 128 counter clockwise back to the starting position ? </p>
<p>Any clue on what the calibaration operations are from the server ?</p>
<p>Thanks. </p>]]></content:encoded>
						                            <category domain="https://fabscan.org/community/latest-release/">[Software] FabScanPi Server</category>                        <dc:creator>marcuso</dc:creator>
                        <guid isPermaLink="true">https://fabscan.org/community/latest-release/what-exactly-does-the-calibration-do/</guid>
                    </item>
				                    <item>
                        <title>Empty Scan, black jpgs</title>
                        <link>https://fabscan.org/community/latest-release/empty-scan-black-jpgs/</link>
                        <pubDate>Sat, 12 Nov 2022 04:17:33 +0000</pubDate>
                        <description><![CDATA[I&#039;m trying to get a Ciclop based scanner working with FabScanPi. I was able to run the calibration - it completed without any error reports. However, when I try to scan something I get 3 .pl...]]></description>
                        <content:encoded><![CDATA[<p>I'm trying to get a Ciclop based scanner working with FabScanPi. I was able to run the calibration - it completed without any error reports. However, when I try to scan something I get 3 .plt files, (0, 1, both) without any error reports. The 3 files have nothing in them but the plt header. If I look at the .jpg files in raw_laser_raw they are all totally black. This has happened with each thing I have tried to scan. Any hints on where I should try next?</p>]]></content:encoded>
						                            <category domain="https://fabscan.org/community/latest-release/">[Software] FabScanPi Server</category>                        <dc:creator>DougK</dc:creator>
                        <guid isPermaLink="true">https://fabscan.org/community/latest-release/empty-scan-black-jpgs/</guid>
                    </item>
				                    <item>
                        <title>Calibration Problem: no Laser, no turn turntable movement during calibration</title>
                        <link>https://fabscan.org/community/latest-release/calibration-problem-no-laser-no-turn-turntable-movement-during-calibration/</link>
                        <pubDate>Tue, 08 Nov 2022 14:28:14 +0000</pubDate>
                        <description><![CDATA[Hi all,
I&#039;m using:
PI 4
UNO (Clone) with fabscanshield (TMC2209)
two laser and a stepper (400 Steps).
PI Cam
The server version is 0.10.2
Everything works fine using the webinterface ...]]></description>
                        <content:encoded><![CDATA[<p>Hi all,</p>
<p>I'm using:</p>
<p>PI 4</p>
<p>UNO (Clone) with fabscanshield (TMC2209)</p>
<p>two laser and a stepper (400 Steps).</p>
<p>PI Cam</p>
<p>The server version is 0.10.2</p>
<p>Everything works fine using the webinterface (Switching both laser, the turntable and the LED ring). </p>
<p>Starting the calibration nothing happends (no turntable movement, no lasers on)</p>
<p>The log File shows</p>
<p>2022-11-08 14:15:28,324  DEBUG - fabscan.scanner.laserscanner.FSCalibrationActor: Step 3 of 102 in MODE_AUTO_CALIBRATION.<br />2022-11-08 14:15:31,106  DEBUG - fabscan.scanner.laserscanner.FSCalibrationActor: Corners detected...<br />2022-11-08 14:15:31,108  DEBUG - fabscan.scanner.laserscanner.FSCalibrationActor: Appending new points ...<br />2022-11-08 14:15:34,116  DEBUG - fabscan.scanner.laserscanner.driver.FSSerial: <strong>Serial read timeout occured, skipping current and waiti ng for next command.</strong><br />2022-11-08 14:15:37,120  DEBUG - fabscan.scanner.laserscanner.driver.FSSerial: Serial read timeout occured, skipping current and waiti ng for next command.<br />2022-11-08 14:15:37,121  DEBUG - fabscan.scanner.laserscanner.driver.FSSerial: Send/Receive Error: 'NoneType' object has no attribute 'decode'<br />2022-11-08 14:15:37,123  DEBUG - </p>
<p>I have no idea. Any ideas from Your side?.</p>
<p>Best regards</p>
<p>Uwe</p>
<p> </p>]]></content:encoded>
						                            <category domain="https://fabscan.org/community/latest-release/">[Software] FabScanPi Server</category>                        <dc:creator>uro</dc:creator>
                        <guid isPermaLink="true">https://fabscan.org/community/latest-release/calibration-problem-no-laser-no-turn-turntable-movement-during-calibration/</guid>
                    </item>
				                    <item>
                        <title>Trouble connecting with server</title>
                        <link>https://fabscan.org/community/latest-release/trouble-connecting-with-server/</link>
                        <pubDate>Sat, 15 Oct 2022 17:02:23 +0000</pubDate>
                        <description><![CDATA[Hi! We have been trying to connect to the server by running the following command:
sudo /etc/init.d/fabscanpi-server start
but the output is:
No process in pidfile
&#039;rtmp/fabscanpi-server...]]></description>
                        <content:encoded><![CDATA[<p>Hi! We have been trying to connect to the server by running the following command:</p>
<pre contenteditable="false">sudo /etc/init.d/fabscanpi-server start</pre>
<p>but the output is:</p>
<pre contenteditable="false">No process in pidfile
'rtmp/fabscanpi-server pid' found running: none killed.
</pre>
<p>Anyway, it says the server has started successfully.</p>
<p>We checked if the file exisits and it does. Inside it there is the number that shows the process, so theorically it is correct</p>
<pre contenteditable="false">cat:
/tmp/fabscanpi-server.pid: No such file or directory </pre>]]></content:encoded>
						                            <category domain="https://fabscan.org/community/latest-release/">[Software] FabScanPi Server</category>                        <dc:creator>tescude</dc:creator>
                        <guid isPermaLink="true">https://fabscan.org/community/latest-release/trouble-connecting-with-server/</guid>
                    </item>
				                    <item>
                        <title>Botting Pi Server with Manually Built and Uploaded Arduino Firmware</title>
                        <link>https://fabscan.org/community/latest-release/botting-pi-server-with-manually-built-and-uploaded-arduino-firmware/</link>
                        <pubDate>Fri, 09 Sep 2022 05:06:33 +0000</pubDate>
                        <description><![CDATA[I would like to debug the Arduino firmware, so I added another Serial UART using software, and uploaded the Arduino code to the Uno from this repo this repo
The Pi Server, when it starts, au...]]></description>
                        <content:encoded><![CDATA[<p>I would like to debug the Arduino firmware, so I added another Serial UART using software, and uploaded the Arduino code to the Uno from this repo this repo https://github.com/mariolukas/FabScanPi-Firmware.git.</p>
<p>The Pi Server, when it starts, auto updates the Arduino Firmware and overwrites my updated Arduino code - I cna see it in the log</p>
<p>"DEBUG - fabscan.scanner.laserscanner.driver.FSSerial: Latest available firmware version is: v.20200624<br />DEBUG - fabscan.scanner.laserscanner.driver.FSSerial: Trying to connect Arduino on port: /dev/ttyUSB0<br />DEBUG - fabscan.scanner.laserscanner.driver.FSSerial: Installed firmware version:<br />INFO - fabscan.scanner.laserscanner.driver.FSSerial: Old or no firmare detected trying to flash current firmware...</p>
<p>So I turned off auto update using the /etc/default.config.json, changing "autoflash": "True" to "autoflash": "False". Now when the server starts my Arduino Firmware stays on the Uno.</p>
<p>But now with my firmware the Pi server wont start - according to the log I get an error</p>
<p>DEBUG - fabscan.scanner.laserscanner.driver.FSSerial: Serial read timeout occured, skipping current and waiting for next command.<br />DEBUG - fabscan.scanner.laserscanner.driver.FSSerial: Serial read timeout occured, skipping current and waiting for next command.<br />DEBUG - fabscan.scanner.laserscanner.driver.FSSerial: Send/Receive Error: 'NoneType' object has no attribute 'decode'</p>
<p>I am using the Arduino FW from this repo https://github.com/mariolukas/FabScanPi-Firmware.git using the master branch, and the version.h shows the latest BUILD_VERSION of v.20200624 - which I presume is the latest.</p>
<p>How do I get the Pi server to boot using my manually built Arduino code from the https://github.com/mariolukas/FabScanPi-Firmware.git repo ?</p>
<p>Or how do I get the Arduino FW code for the latest version - even my manual build FW and the hex file uploaded by the server both look like they are the same version ?</p>
<p>Thanks.</p>]]></content:encoded>
						                            <category domain="https://fabscan.org/community/latest-release/">[Software] FabScanPi Server</category>                        <dc:creator>marcuso</dc:creator>
                        <guid isPermaLink="true">https://fabscan.org/community/latest-release/botting-pi-server-with-manually-built-and-uploaded-arduino-firmware/</guid>
                    </item>
				                    <item>
                        <title>&quot;Shadow&quot; in scan</title>
                        <link>https://fabscan.org/community/latest-release/shadow-in-scan/</link>
                        <pubDate>Mon, 23 May 2022 14:08:01 +0000</pubDate>
                        <description><![CDATA[I have installed 2 lasers (red) and I am working on v. 0.10.2.  The calibration is successful and The scans seem to be more or less correct. However, I always have a kind of &quot;shadow&quot; that I ...]]></description>
                        <content:encoded><![CDATA[<p>I have installed 2 lasers (red) and I am working on v. 0.10.2.  The calibration is successful and The scans seem to be more or less correct. However, I always have a kind of "shadow" that I cannot explain and gives me a lot of headaches to remove. </p>
<p>I have attached an example where I scanned the calibration card.</p>
605
<p> </p>
<p>Any idea how this can be resolved?</p>]]></content:encoded>
						                            <category domain="https://fabscan.org/community/latest-release/">[Software] FabScanPi Server</category>                        <dc:creator>yhellowt</dc:creator>
                        <guid isPermaLink="true">https://fabscan.org/community/latest-release/shadow-in-scan/</guid>
                    </item>
				                    <item>
                        <title>Using an Arduino UNO rather than the HAT</title>
                        <link>https://fabscan.org/community/latest-release/using-an-arduino-uno-rather-than-the-hat/</link>
                        <pubDate>Sat, 26 Feb 2022 20:58:32 +0000</pubDate>
                        <description><![CDATA[Hi, 
I cant find any Fab Scan Hat (pi or uno), so I would like to use an Arduino UNO connected to the Pi.
If using an UNO rather than the HAT, do I need to change the UNO bootloader, or ju...]]></description>
                        <content:encoded><![CDATA[<p>Hi, </p>
<p>I cant find any Fab Scan Hat (pi or uno), so I would like to use an Arduino UNO connected to the Pi.</p>
<p>If using an UNO rather than the HAT, do I need to change the UNO bootloader, or just upload the firmware ? </p>
<p>I've downloaded the firmware on to the Uno from this github repo</p>
<p><a href="https://github.com/mariolukas/FabScanPi-Firmware">mariolukas/FabScanPi-Firmware: Firmware of FabScanPi 3D Laser Scanner (github.com)</a></p>
<p>I can send commands to the Uno via UART with the serial monitor from the Arduino IDE.</p>
<p>I've also got the Pi side working, after connecting the Uno to the Pi via USB, the server starts up but I am getting the bootloader message in the FabScan Server log file</p>
<p>INFO - fabscan.server.FSScanServer: FabScanPi-Server 0.9.4<br />DEBUG - fabscan.scanner.interfaces: Scanner Type is: laserscanner<br />DEBUG - fabscan.scanner.laserscanner.driver.FSSerial: Port in Config found<br />DEBUG - fabscan.scanner.laserscanner.driver.FSSerial: Latest available firmware version is: v.20200624<br />INFO - fabscan.lib.util.FSUtil: b'avrdude-original: Using autoreset DTR on GPIO Pin 7'<br />ERROR - fabscan.scanner.laserscanner.driver.FSSerial: Communication error on port /dev/ttyAMA0 try other flashing baudrate than 115200. Maybe corrupted bootloader.</p>
<p>From the browser I get the error (shortened message here for brevity)</p>
<h1><span style="font-size: 12pt">The FabScanPi server is currently not running</span></h1>
<p>So any ideas on why the FabScan server has comms error to the Arduino firmware ? BTW I do not have any hardware/peripherals etc connected to the Arduino UNO yet - I presume there is no feedback from the UNO to the FabScan via serial in terms of peripheral state ?</p>
<p>Thanks</p>
<p>Marcus</p>]]></content:encoded>
						                            <category domain="https://fabscan.org/community/latest-release/">[Software] FabScanPi Server</category>                        <dc:creator>marcuso</dc:creator>
                        <guid isPermaLink="true">https://fabscan.org/community/latest-release/using-an-arduino-uno-rather-than-the-hat/</guid>
                    </item>
				                    <item>
                        <title>Editing the config files permission denied.</title>
                        <link>https://fabscan.org/community/latest-release/editing-the-config-files-permission-denied/</link>
                        <pubDate>Thu, 13 Jan 2022 18:15:25 +0000</pubDate>
                        <description><![CDATA[Hi guys,
 
Trying to get my bros ciclops scanner working after 5 years of it not being used. I built a sd card with the fabscan raspi image from this site so the settings are all default. ...]]></description>
                        <content:encoded><![CDATA[<p>Hi guys,</p>
<p> </p>
<p>Trying to get my bros ciclops scanner working after 5 years of it not being used. I built a sd card with the fabscan raspi image from this site so the settings are all default. </p>
<p> </p>
<p>When I go to edit the config file and the ciclop config I get permission denied.</p>
<p> </p>
<p>When I look at the documentation I can't see anything about this ( I'm probably blind)</p>
<p> </p>
<p>I am using MobaXterm to connect to the raspberry and using the text editor built in I even try just downloading the files and deleting the originials but still no luck.</p>]]></content:encoded>
						                            <category domain="https://fabscan.org/community/latest-release/">[Software] FabScanPi Server</category>                        <dc:creator>Zeltrax</dc:creator>
                        <guid isPermaLink="true">https://fabscan.org/community/latest-release/editing-the-config-files-permission-denied/</guid>
                    </item>
				                    <item>
                        <title>Calibration Fail server v0.10.0</title>
                        <link>https://fabscan.org/community/latest-release/calibration-fail-server-v0-10-0/</link>
                        <pubDate>Sun, 21 Nov 2021 18:29:02 +0000</pubDate>
                        <description><![CDATA[I installed the latest version 0.10.0 and when I try to do a calibration I get an error &quot;main calibration not detected&quot;. I noticed  awhile back someone posted this same error. Is there a fix...]]></description>
                        <content:encoded><![CDATA[<p>I installed the latest version 0.10.0 and when I try to do a calibration I get an error "main calibration not detected". I noticed  awhile back someone posted this same error. Is there a fix for this? </p>]]></content:encoded>
						                            <category domain="https://fabscan.org/community/latest-release/">[Software] FabScanPi Server</category>                        <dc:creator>mik3d</dc:creator>
                        <guid isPermaLink="true">https://fabscan.org/community/latest-release/calibration-fail-server-v0-10-0/</guid>
                    </item>
							        </channel>
        </rss>
		