Release Notes v.0.7.0
You can find detailed information about the main changes in the related blog post.
It is recommended to start with the new released image, because the whole image structure changed. A lot of things are improved.
Changelog:
Added
- new settings dialog options for hardware contolling
- moved calibration button to settings dialog
- added new configuraitons in general settings tab
- prepared platform independet firmware setup (aka cyclop compatible mode)
- api route for live log stream
- api route for debug log zip download
- new firmware version
- made fabscan discoverable in find.fabscan.org
- api scheduler library for registery servcie and future scheduling tasks
- added meshmixer to package dependencies
- added avrdude config to package dependencies
Changed
- replaced old image build script by a new one, based on official raspbian build scripts
- FSUpdate is working for different stages now
Fixed
- fixed camera driver (pi and usb)
- fixed random artifacts at the beginning of object scan
- fixed calibration issue
Thanks for the new release!
Let's do some testing.
First impressions:
- sudo service fabscanpi-server restart doesn't work. Because 'start' works it seems that the 'stop' procedure doesn't work. Have to kill the python process to stop the server.
- First scan after calibration doesn't work for me. It seems to be a loop in the step 'G04 T4 F900'. See logfile and calibration result attached. default.config.json Fabscanpi.log
- Sometimes the webinterface buttons for turntable on/off etc. are not shown. Both the case with latest firefox & chrome browser on Ubuntu. See screenshot attached. Screenshot
Best regards,
Uwe
Hello and thank you for this update.
Have been struggling to get the wifi working but finally managed to do so (I'd better share my remarks about this in a seperate post)
Discovering the FabScanPi through find.fabscan.org works flawlessly. This option even remembered the ip address when it was wired, as it still shows up above the actual wireless ip-address.
Hi,
if I try to start the FabscanPi via LAN (with IP-Adress in Firexfox), I get the message "The FabScanPi server is currently not running".
When I try to restart / stop the server:
pi@fabscanpi:~ $ sudo service fabscanpi restart
Failed to restart fabscanpi.service: Unit fabscanpi.service not found.
pi@fabscanpi:~ $ sudo service fabscanpi stop
Failed to stop fabscanpi.service: Unit fabscanpi.service not loaded.
Here is my logfile:
2019-02-21 22:42:48,677 - fabscan.server.FSScanServer - INFO - FabScanPi-Server 0.7.0
2019-02-21 22:42:50,966 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - Port in Config found
2019-02-21 22:42:50,974 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - Latest available firmware version is: v.20190211
2019-02-21 22:42:53,215 - fabscan.lib.util.FSUtil - DEBUG - avrdude-original: Using autoreset DTR on GPIO Pin 7
2019-02-21 22:42:53,237 - fabscan.scanner.laserscanner.driver.FSSerial - ERROR - No FabScanPi HAT or compatible device found on port /dev/ttyAMA0
2019-02-21 22:42:53,238 - fabscan.scanner.laserscanner.driver.FSSerial - ERROR - Fatal FabScanPi HAT or compatible connection error....
2019-02-21 22:42:53,238 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - Connection baudrate is: 57600
2019-02-21 22:42:53,238 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - Firmware flashing baudrate is: 57600
2019-02-21 22:42:53,239 - fabscan.scanner.laserscanner.FSHardwareController - DEBUG - Reset FabScanPi HAT...
2019-02-21 22:42:53,239 - fabscan.scanner.laserscanner.driver.FSSerial - ERROR - 'NoneType' object has no attribute 'write'
2019-02-21 22:42:53,240 - fabscan - CRITICAL - Fatal error: 'NoneType' object has no attribute 'read'
2019-02-28 18:40:53,287 - fabscan.server.FSScanServer - INFO - FabScanPi-Server 0.7.0
2019-02-28 18:40:55,604 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - Port in Config found
2019-02-28 18:40:55,614 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - Latest available firmware version is: v.20190211
2019-02-28 18:40:57,808 - fabscan.lib.util.FSUtil - DEBUG - avrdude-original: Using autoreset DTR on GPIO Pin 7
2019-02-28 18:40:57,831 - fabscan.scanner.laserscanner.driver.FSSerial - ERROR - No FabScanPi HAT or compatible device found on port /dev/ttyAMA0
2019-02-28 18:40:57,832 - fabscan.scanner.laserscanner.driver.FSSerial - ERROR - Fatal FabScanPi HAT or compatible connection error....
2019-02-28 18:40:57,832 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - Connection baudrate is: 57600
2019-02-28 18:40:57,832 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - Firmware flashing baudrate is: 57600
2019-02-28 18:40:57,833 - fabscan.scanner.laserscanner.FSHardwareController - DEBUG - Reset FabScanPi HAT...
2019-02-28 18:40:57,833 - fabscan.scanner.laserscanner.driver.FSSerial - ERROR - 'NoneType' object has no attribute 'write'
2019-02-28 18:40:57,834 - fabscan - CRITICAL - Fatal error: 'NoneType' object has no attribute 'read'
2019-02-28 18:49:03,929 - fabscan.server.FSScanServer - INFO - FabScanPi-Server 0.7.0
2019-02-28 18:49:06,214 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - Port in Config found
2019-02-28 18:49:06,224 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - Latest available firmware version is: v.20190211
2019-02-28 18:49:08,445 - fabscan.lib.util.FSUtil - DEBUG - avrdude-original: Using autoreset DTR on GPIO Pin 7
2019-02-28 18:49:08,467 - fabscan.scanner.laserscanner.driver.FSSerial - ERROR - No FabScanPi HAT or compatible device found on port /dev/ttyAMA0
2019-02-28 18:49:08,468 - fabscan.scanner.laserscanner.driver.FSSerial - ERROR - Fatal FabScanPi HAT or compatible connection error....
2019-02-28 18:49:08,468 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - Connection baudrate is: 57600
2019-02-28 18:49:08,468 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - Firmware flashing baudrate is: 57600
2019-02-28 18:49:08,469 - fabscan.scanner.laserscanner.FSHardwareController - DEBUG - Reset FabScanPi HAT...
2019-02-28 18:49:08,469 - fabscan.scanner.laserscanner.driver.FSSerial - ERROR - 'NoneType' object has no attribute 'write'
2019-02-28 18:49:08,470 - fabscan - CRITICAL - Fatal error: 'NoneType' object has no attribute 'read'
2019-02-28 19:02:44,814 - fabscan.server.FSScanServer - INFO - FabScanPi-Server 0.7.0
2019-02-28 19:02:47,145 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - Port in Config found
2019-02-28 19:02:47,154 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - Latest available firmware version is: v.20190211
2019-02-28 19:02:49,360 - fabscan.lib.util.FSUtil - DEBUG - avrdude-original: Using autoreset DTR on GPIO Pin 7
2019-02-28 19:02:49,383 - fabscan.scanner.laserscanner.driver.FSSerial - ERROR - No FabScanPi HAT or compatible device found on port /dev/ttyAMA0
2019-02-28 19:02:49,383 - fabscan.scanner.laserscanner.driver.FSSerial - ERROR - Fatal FabScanPi HAT or compatible connection error....
2019-02-28 19:02:49,384 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - Connection baudrate is: 57600
2019-02-28 19:02:49,384 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - Firmware flashing baudrate is: 57600
2019-02-28 19:02:49,385 - fabscan.scanner.laserscanner.FSHardwareController - DEBUG - Reset FabScanPi HAT...
2019-02-28 19:02:49,385 - fabscan.scanner.laserscanner.driver.FSSerial - ERROR - 'NoneType' object has no attribute 'write'
2019-02-28 19:02:49,386 - fabscan - CRITICAL - Fatal error: 'NoneType' object has no attribute 'read'
What is going wrong, how can I get my Fabscan Pi started ?
Greetings,
Ralf
Hi Ralf,
thanks for the log. How do you power your device?
Best,
René
Hi,
I formatted the SD-Card and copied the 0.7.0 image with the Win32DiskImager to it (as recommended). I already use a 12 Volt / 3 Amp. Power Supply. For the 5 Volts, I use the 12V - 5V Step Down Converter from the watterott - Kit.
Greetings,
Ralf
Seems as if everything is setup as recommended. We will have a deeper look into this. If you switch back to 0.5.0, will everything work again? We need to be sure that the HAT is still working.
Hi,
here is the output of the two commands:
pi@fabscanpi:~ $ sudo avrdude-autoreset -p m328p -b 57600 -carduino -P/dev/ttyAM A0
avrdude-original: Using autoreset DTR on GPIO Pin 7
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x30
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x20
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x30
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x20
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x30
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x20
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x30
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x20
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x30
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x20
avrdude done. Thank you.
pi@fabscanpi:~ $ sudo avrdude-autoreset -p m328p -b 115200 -carduino -P/dev/ttyA MA0
avrdude-original: Using autoreset DTR on GPIO Pin 7
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0x1e950f (probably m328p)
avrdude: safemode: Fuses OK (E:00, H:00, L:00)
avrdude done. Thank you.
The download of the zip file with the log file and debugging informations did not work. First, I had a lot of problems with security warnings from firefox. As I solved this problem, there was no zip file in my download path. I still have no access to the frontend (the fabscanPi Server is currently not running ...).
@rene: With the software 0.5.0 my fabscanPi still runs perfect. I had no problems with calibration and already did some scans.
Greetings, Ralf