Problem with Laser setup

A350

Trying to go through the laser setup tutorial. The “camera capture” feature doesn’t seem to be collecting/processing any images. It doesn’t do anything when I press the button on the screen.

Prior to firmware update it would take 1 picture then a “wifi disconnect” message would appear. The machine would continue to go through the motions, but since I was disconnected no further images would come to luban. I looked for a firmware update to resolve.

What I’ve done so far:

  • updated to latest luban 3.12.3 and firmware 1.10.1
  • unplugged all items and reconnected all cables
  • re ran the initialization config setups (the auto-focus worked)
  • re ran the camera calibration (reports success) after cutting a nice square in my paper (I’m also running out of paper to use)

I’ve pulled the logs from the controller and will post in a response.

I wanted to upload the logs, but it tells me I’m too new of a user so …

1611083157749,2021.01.19 19:05:57.749,DEBUG,SC,Get laser focus
1611083157750,2021.01.19 19:05:57.750,INFO,SC,update coordinate system… CS#0
1611083157786,2021.01.19 19:05:57.786,INFO,SC,Coordinate system updated, CS#0 X = 0.0, Y = 0.0, Z =0.0
1611083157800,2021.01.19 19:05:57.800,INFO,SC,update coordinate system… CS#1
1611083158292,2021.01.19 19:05:58.292,INFO,SC,Coordinate system updated, CS#1 X = -165.5, Y = -165.5, Z =-27.7
1611083160915,2021.01.19 19:06:00.915,INFO,SC,update coordinate system…
1611083160929,2021.01.19 19:06:00.929,INFO,SC,Coordinate system updated, CS#1 X = -172.5, Y = -178.5, Z =-28.5
1611083176958,2021.01.19 19:06:16.958,INFO,SC,Requesting set origin…
1611083179578,2021.01.19 19:06:19.578,INFO,SC,update coordinate system…
1611083179593,2021.01.19 19:06:19.593,INFO,SC,Coordinate system updated, CS#1 X = -156.5, Y = -125.5, Z =-28.5
1611083180468,2021.01.19 19:06:20.468,INFO,SC,Start run boundary.
1611083188260,2021.01.19 19:06:28.260,DEBUG,SC,Route: Create LaserCalibrationAutoFocusStep1Fragment
1611083190091,2021.01.19 19:06:30.091,DEBUG,SC,Route: Create LaserCalibrationAutoFocusStep2Fragment
1611083190188,2021.01.19 19:06:30.188,DEBUG,SC,z = 0.0
1611083190189,2021.01.19 19:06:30.189,DEBUG,SC,initial z = 28.5
1611083234848,2021.01.19 19:07:14.848,DEBUG,SC,Start receiving image…
1611083235720,2021.01.19 19:07:15.720,DEBUG,SC,Received imgae done takes 873 ms.
1611083235789,2021.01.19 19:07:15.789,DEBUG,SC,Capture image succeed.
1611083235956,2021.01.19 19:07:15.956,ERROR,SC,java.lang.IllegalStateException: Lifecycles can only be bound to on the main thread!
1611083235958,2021.01.19 19:07:15.958,ERROR,SC, at com.uber.autodispose.android.lifecycle.LifecycleEventsObservable.subscribeActual(LifecycleEventsObservable.java:84)
1611083235961,2021.01.19 19:07:15.961,ERROR,SC, at io.reactivex.Observable.subscribe(Observable.java:12267)
1611083235962,2021.01.19 19:07:15.962,ERROR,SC, at io.reactivex.internal.operators.observable.ObservableSkip.subscribeActual(ObservableSkip.java:29)
1611083235965,2021.01.19 19:07:15.965,ERROR,SC, at io.reactivex.Observable.subscribe(Observable.java:12267)
1611083235967,2021.01.19 19:07:15.967,ERROR,SC, at io.reactivex.internal.operators.observable.ObservableTakeUntilPredicate.subscribeActual(ObservableTakeUntilPredicate.java:32)
1611083235968,2021.01.19 19:07:15.968,ERROR,SC, at io.reactivex.Observable.subscribe(Observable.java:12267)
1611083235969,2021.01.19 19:07:15.969,ERROR,SC, at io.reactivex.internal.operators.observable.ObservableIgnoreElementsCompletable.subscribeActual(ObservableIgnoreElementsCompletable.java:31)
1611083235971,2021.01.19 19:07:15.971,ERROR,SC, at io.reactivex.Completable.subscribe(Completable.java:2309)
1611083235973,2021.01.19 19:07:15.973,ERROR,SC, at io.reactivex.internal.operators.completable.CompletableDefer.subscribeActual(CompletableDefer.java:43)
1611083235974,2021.01.19 19:07:15.974,ERROR,SC, at io.reactivex.Completable.subscribe(Completable.java:2309)
1611083235975,2021.01.19 19:07:15.975,ERROR,SC, at com.uber.autodispose.AutoDisposingObserverImpl.onSubscribe(AutoDisposingObserverImpl.java:66)
1611083235977,2021.01.19 19:07:15.977,ERROR,SC, at io.reactivex.internal.operators.observable.ObservableObserveOn$ObserveOnObserver.onSubscribe(ObservableObserveOn.java:106)
1611083235978,2021.01.19 19:07:15.978,ERROR,SC, at io.reactivex.internal.observers.BasicFuseableObserver.onSubscribe(BasicFuseableObserver.java:66)
1611083235980,2021.01.19 19:07:15.980,ERROR,SC, at io.reactivex.internal.operators.observable.ObservableCreate.subscribeActual(ObservableCreate.java:37)
1611083235982,2021.01.19 19:07:15.982,ERROR,SC, at io.reactivex.Observable.subscribe(Observable.java:12267)
1611083235983,2021.01.19 19:07:15.983,ERROR,SC, at io.reactivex.internal.operators.observable.ObservableMap.subscribeActual(ObservableMap.java:32)
1611083235985,2021.01.19 19:07:15.985,ERROR,SC, at io.reactivex.Observable.subscribe(Observable.java:12267)
1611083235986,2021.01.19 19:07:15.986,ERROR,SC, at io.reactivex.internal.operators.observable.ObservableObserveOn.subscribeActual(ObservableObserveOn.java:45)
1611083235987,2021.01.19 19:07:15.987,ERROR,SC, at io.reactivex.Observable.subscribe(Observable.java:12267)
1611083235989,2021.01.19 19:07:15.989,ERROR,SC, at com.uber.autodispose.AutoDisposeObservable.subscribeActual(AutoDisposeObservable.java:34)
1611083235992,2021.01.19 19:07:15.992,ERROR,SC, at io.reactivex.Observable.subscribe(Observable.java:12267)
1611083235994,2021.01.19 19:07:15.994,ERROR,SC, at io.reactivex.Observable.subscribe(Observable.java:12253)
1611083235995,2021.01.19 19:07:15.995,ERROR,SC, at io.reactivex.Observable.subscribe(Observable.java:12181)
1611083235997,2021.01.19 19:07:15.997,ERROR,SC, at com.uber.autodispose.AutoDispose$1$4.subscribe(AutoDispose.java:317)
1611083235999,2021.01.19 19:07:15.999,ERROR,SC, at com.snapmaker.fabscreen.modules.lasercalibration.autofocus.LaserCalibrationAutoFocusStep2Fragment.turnOffLight(LaserCalibrationAutoFocusStep2Fragment.java:167)
1611083236000,2021.01.19 19:07:16.000,ERROR,SC, at com.snapmaker.fabscreen.modules.lasercalibration.autofocus.LaserCalibrationAutoFocusStep2Fragment.lambda$cameraAidFocalDetection$10$LaserCalibrationAutoFocusStep2Fragment(LaserCalibrationAutoFocusStep2Fragment.java:197)
1611083236002,2021.01.19 19:07:16.002,ERROR,SC, at com.snapmaker.fabscreen.modules.lasercalibration.autofocus.-$$Lambda$LaserCalibrationAutoFocusStep2Fragment$lRtvXcOU3DTT1PLoKzXejjI02sE.apply(lambda)
1611083236004,2021.01.19 19:07:16.004,ERROR,SC, at io.reactivex.internal.operators.observable.ObservableMap$MapObserver.onNext(ObservableMap.java:57)
1611083236006,2021.01.19 19:07:16.006,ERROR,SC, at io.reactivex.internal.operators.observable.ObservableSubscribeOn$SubscribeOnObserver.onNext(ObservableSubscribeOn.java:58)
1611083236007,2021.01.19 19:07:16.007,ERROR,SC, at io.reactivex.internal.operators.observable.ObservableFlatMap$MergeObserver.tryEmit(ObservableFlatMap.java:265)
1611083236009,2021.01.19 19:07:16.009,ERROR,SC, at io.reactivex.internal.operators.observable.ObservableFlatMap$InnerObserver.onNext(ObservableFlatMap.java:562)
1611083236010,2021.01.19 19:07:16.010,ERROR,SC, at io.reactivex.internal.operators.observable.ObservableMap$MapObserver.onNext(ObservableMap.java:62)
1611083236012,2021.01.19 19:07:16.012,ERROR,SC, at io.reactivex.internal.operators.observable.ObservableCreate$CreateEmitter.onNext(ObservableCreate.java:66)
1611083236014,2021.01.19 19:07:16.014,ERROR,SC, at com.snapmaker.fabscreen.data.serial.RequestReceiver.receive(RequestReceiver.java:34)
1611083236015,2021.01.19 19:07:16.015,ERROR,SC, at com.snapmaker.fabscreen.data.LaserCameraController.sendResponse(LaserCameraController.java:445)
1611083236017,2021.01.19 19:07:16.017,ERROR,SC, at com.snapmaker.fabscreen.data.LaserCameraController.onReceive(LaserCameraController.java:422)
1611083236018,2021.01.19 19:07:16.018,ERROR,SC, at com.snapmaker.fabscreen.data.LaserCameraController.lambda$BLf2ZfPEm9HWjom98GmPOmOesDM(LaserCameraController.java)
1611083236022,2021.01.19 19:07:16.022,ERROR,SC, at com.snapmaker.fabscreen.data.-$$Lambda$LaserCameraController$BLf2ZfPEm9HWjom98GmPOmOesDM.run(lambda)
1611083236024,2021.01.19 19:07:16.024,ERROR,SC, at io.reactivex.internal.schedulers.ScheduledRunnable.run(ScheduledRunnable.java:66)
1611083236025,2021.01.19 19:07:16.025,ERROR,SC, at io.reactivex.internal.schedulers.ScheduledRunnable.call(ScheduledRunnable.java:57)
1611083236027,2021.01.19 19:07:16.027,ERROR,SC, at java.util.concurrent.FutureTask.run(FutureTask.java:237)
1611083236029,2021.01.19 19:07:16.029,ERROR,SC, at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:272)
1611083236031,2021.01.19 19:07:16.031,ERROR,SC, at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
1611083236033,2021.01.19 19:07:16.033,ERROR,SC, at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
1611083236034,2021.01.19 19:07:16.034,ERROR,SC, at java.lang.Thread.run(Thread.java:761)
1611083239369,2021.01.19 19:07:19.369,DEBUG,SC,mFocalLength is 23.5
1611083239379,2021.01.19 19:07:19.379,DEBUG,SC,Found emitter disposed, skip.
1611083239380,2021.01.19 19:07:19.380,ERROR,SC,emitter queue #24000 (1) is empty.
1611083246472,2021.01.19 19:07:26.472,DEBUG,SC,Laser Calibration finished.
1611083251643,2021.01.19 19:07:31.643,DEBUG,SC,Route: Create SettingsHomeFragment
1611083258094,2021.01.19 19:07:38.094,DEBUG,SC,Route: Create SettingsAdvancedLaserFragment
1611083259623,2021.01.19 19:07:39.623,DEBUG,SC,Route: Create SettingsCameraCalibrationStep1Fragment
1611083260675,2021.01.19 19:07:40.675,INFO,SC,update coordinate system… CS#0
1611083260718,2021.01.19 19:07:40.718,INFO,SC,Coordinate system updated, CS#0 X = 0.0, Y = 0.0, Z =0.0
1611083260738,2021.01.19 19:07:40.738,DEBUG,SC,Route: Create SettingsCameraCalibrationStep2Fragment
1611083260743,2021.01.19 19:07:40.743,DEBUG,SC,cameraZ is 170 , d is 100.
1611083364712,2021.01.19 19:09:24.712,DEBUG,SC,Start receiving image…
1611083365411,2021.01.19 19:09:25.411,DEBUG,SC,Received imgae done takes 698 ms.
1611083365480,2021.01.19 19:09:25.480,DEBUG,SC,Capture image succeed.
1611083442966,2021.01.19 19:10:42.966,DEBUG,SC,Camera calibration result : {“points”:[{“x”:-441,“y”:33860},{“x”:2016,“y”:-52394},{“x”:1003,“y”:-3691},{“x”:85,“y”:5539}],“corners”:[{“x”:122,“y”:228},{“x”:222,“y”:228},{“x”:222,“y”:128},{“x”:122,“y”:128}]}
1611083449876,2021.01.19 19:10:49.876,DEBUG,SC,Route: Back from SettingsHomeFragment
1611083450273,2021.01.19 19:10:50.273,DEBUG,SC,Closing USB device.
1611083452951,2021.01.19 19:10:52.951,INFO,SC,Remote access requested.
1611083452988,2021.01.19 19:10:52.988,INFO,SC,Remote access requested.
1611083452991,2021.01.19 19:10:52.991,DEBUG,SC,Remote access assigned #{33bfcb43-e1fb-4fd3-b1fc-be06c0371441}.
1611083452994,2021.01.19 19:10:52.994,DEBUG,SC,Remote: remote access -> active
1611083453048,2021.01.19 19:10:53.048,DEBUG,SC,Route: Create RemoteHomeFragment
1611083453092,2021.01.19 19:10:53.092,INFO,SC,Receive remote access request #{33bfcb43-e1fb-4fd3-b1fc-be06c0371441}
1611083455119,2021.01.19 19:10:55.119,INFO,SC,Remote access approved.
1611083455430,2021.01.19 19:10:55.430,INFO,SC,update coordinate system…
1611083455446,2021.01.19 19:10:55.446,INFO,SC,Coordinate system updated, CS#1 X = -156.5, Y = -125.5, Z =-25.0
1611083926500,2021.01.19 19:18:46.500,DEBUG,SC,Remote: remote access -> inactive
1611083926502,2021.01.19 19:18:46.502,DEBUG,SC,Route: Back from RemoteHomeFragment
1611083926505,2021.01.19 19:18:46.505,DEBUG,SC,Close remote access from #{33bfcb43-e1fb-4fd3-b1fc-be06c0371441}.
1611083930921,2021.01.19 19:18:50.921,INFO,SC,Remote access requested.
1611083930925,2021.01.19 19:18:50.925,DEBUG,SC,Remote access assigned #{33bfcb43-e1fb-4fd3-b1fc-be06c0371441}.
1611083930927,2021.01.19 19:18:50.927,DEBUG,SC,Remote: remote access -> active
1611083930986,2021.01.19 19:18:50.986,DEBUG,SC,Route: Create RemoteHomeFragment
1611083931051,2021.01.19 19:18:51.051,INFO,SC,update coordinate system…
1611083931064,2021.01.19 19:18:51.064,INFO,SC,Coordinate system updated, CS#1 X = -156.5, Y = -125.5, Z =-25.0
1611084446633,2021.01.19 19:27:26.633,DEBUG,SC,Close all remote access.
1611084446638,2021.01.19 19:27:26.638,DEBUG,SC,Remote: remote access -> inactive
1611084446639,2021.01.19 19:27:26.639,DEBUG,SC,Route: Back from RemoteHomeFragment
1611084451222,2021.01.19 19:27:31.222,DEBUG,SC,Discover response has been sent.
1611084460042,2021.01.19 19:27:40.042,INFO,SC,Remote access requested.
1611084460048,2021.01.19 19:27:40.048,DEBUG,SC,Remote: remote access -> active
1611084460061,2021.01.19 19:27:40.061,DEBUG,SC,Remote access assigned #{33bfcb43-e1fb-4fd3-b1fc-be06c0371441}.
1611084460107,2021.01.19 19:27:40.107,DEBUG,SC,Route: Create RemoteHomeFragment
1611084460297,2021.01.19 19:27:40.297,INFO,SC,update coordinate system…
1611084460312,2021.01.19 19:27:40.312,INFO,SC,Coordinate system updated, CS#1 X = -156.5, Y = -125.5, Z =-25.0
1611084495818,2021.01.19 19:28:15.818,DEBUG,SC,Close all remote access.
1611084495820,2021.01.19 19:28:15.820,DEBUG,SC,Remote: remote access -> inactive
1611084495821,2021.01.19 19:28:15.821,DEBUG,SC,Route: Back from RemoteHomeFragment
1611084501709,2021.01.19 19:28:21.709,DEBUG,SC,Route: Create SettingsHomeFragment
1611084503367,2021.01.19 19:28:23.367,DEBUG,SC,Route: Create SettingsAdvancedLaserFragment
1611084505789,2021.01.19 19:28:25.789,DEBUG,SC,Route: Create SettingsCameraCalibrationStep1Fragment
1611084506921,2021.01.19 19:28:26.921,INFO,SC,update coordinate system… CS#0
1611084506951,2021.01.19 19:28:26.951,INFO,SC,Coordinate system updated, CS#0 X = 0.0, Y = 0.0, Z =0.0
1611084506965,2021.01.19 19:28:26.965,DEBUG,SC,Route: Create SettingsCameraCalibrationStep2Fragment
1611084506967,2021.01.19 19:28:26.967,DEBUG,SC,cameraZ is 170 , d is 100.
1611084624179,2021.01.19 19:30:24.179,DEBUG,SC,Start receiving image…
1611084624864,2021.01.19 19:30:24.864,DEBUG,SC,Received imgae done takes 686 ms.
1611084624935,2021.01.19 19:30:24.935,DEBUG,SC,Capture image succeed.
1611084694637,2021.01.19 19:31:34.637,DEBUG,SC,Camera calibration result : {“points”:[{“x”:182,“y”:518},{“x”:935,“y”:-564},{“x”:900,“y”:967},{“x”:175,“y”:945}],“corners”:[{“x”:122,“y”:228},{“x”:222,“y”:228},{“x”:222,“y”:128},{“x”:122,“y”:128}]}

The new Luban update has resolved the issue!