You are not logged in.

#1 Re: Bug Reports » Build 1318, Dynamic Calibration cause error » 2017-01-06 16:55:59

Hi, Shahin,

Thanks so much, that problem is fixed after upgrade to the latest version.

#2 Bug Reports » Build 1318, Dynamic Calibration cause error » 2016-12-26 12:04:24

bc323
Replies: 2

Hi, I am using the build 1318 when I click the "Display" button of Dynamic Calibration, the server is crashed and below is the log info and I have download the dynamic.png to my laptop and the pic can be opened by Preview(Mac). It seems the library, libpng, cause an error when load that file. Can help to advise which version of libpng should be used? Thanks a million.


016/12/26 11:29:44.038448 {"Layer":"0","module":"Image","level":"Warning","msg":"Display layer public/plates/dynamic.png"}
libpng error: Not a PNG file
unable to load public/plates/dynamic.png
2016/12/26 11:29:46.720316 {"Layer":"0","module":"Image","level":"Warning","msg":"Display layer public/plates/dynamic.png"}
printer: /home/pi/go/src/projects/printer/app/viewer/imageLayer.c:66: createResourceImageLayer: Assertion `il->resource != 0' failed.
SIGABRT: abort
PC=0x76d1bf70 m=9
signal arrived during cgo execution

goroutine 93 [syscall, locked to thread]:
runtime.cgocall(0x475b70, 0x10b45f58, 0x0)
    /usr/local/go/src/runtime/cgocall.go:131 +0x130 fp=0x10b45f38 sp=0x10b45f1c
projects/printer/app/viewer._Cfunc_image_display(0x70c00468, 0x0)
    projects/printer/app/viewer/_obj/_cgo_gotypes.go:96 +0x3c fp=0x10b45f54 sp=0x10b45f38
projects/printer/app/viewer.DisplayImage(0x523e42, 0x19, 0x0)
    /home/pi/go/src/projects/printer/app/viewer/viewer_arm.go:27 +0xbc fp=0x10b45f74 sp=0x10b45f54
main.showFrame(0x523e42, 0x19, 0xb)
    /home/pi/printer/app/hardware.go:62 +0x160 fp=0x10b45fbc sp=0x10b45f74
runtime.goexit()
    /usr/local/go/src/runtime/asm_arm.s:998 +0x4 fp=0x10b45fbc sp=0x10b45fbc
created by main.projectorGenerate
    /home/pi/printer/app/web.go:257 +0xfc






pi@raspberrypi:~ $ sudo apt-cache search libpng
fp-units-gfx - Free Pascal - graphics-library units dependency package
fp-units-gfx-2.6.4 - Free Pascal - graphics-library units
libpng++-dev - C++ interface to the PNG (Portable Network Graphics) library
libpng-sixlegs-java - Sixlegs Java PNG Decoder
libpng-sixlegs-java-doc - Documentation for Sixlegs Java PNG Decoder
libpng12-0 - PNG library - runtime
libpng12-dev - PNG library - development
libpng3 - PNG library - runtime
libpnglite-dev - lightweight C library for loading and writing PNG images
pngquant - PNG (Portable Network Graphics) image optimising utility
ruby-oily-png - native mixin to speed up ChunkyPNG
tkpng - PNG photo image support to Tcl/Tk

#3 Re: Help and Support » Floor Button not working » 2016-12-20 12:09:53

Hi, Shahin

Thanks for your time, the problem is fixed and I had a wrong wiring for my optical endstop.

Many Thanks
Barry

#4 Re: Help and Support » Floor Button not working » 2016-12-19 14:35:28

Hi, Shahin

Thanks for your reply. I am using build 1280 and I test below GCode in the terminal either absolute mode or relative mode. It seems I need to use G28 first and then the G1 work normally. After, I send a negative value to Ramps, the stepper cannot move anymore. What's wrong? Can help to advise to debug?

G28                                        ; move
ok
G1 Z1.0                                  ;  move
ok
G1 Z-1.0                                 ;  Not move
ok
G1 Z1.0                                  ;  Not move
ok
G28                                        ;  move
ok
G1 Z1.0                                  ;  move
ok

#5 Re: Help and Support » Floor Button not working » 2016-12-16 15:42:55

Hi, Shahin

Firstly, thanks for your quick reply. All my testing, the RAMPS can move one single direction either floor or top only ( reverse the connector of stepper) and I have moved holder at the middle length of the screw rod. Can help to explain how to update z-axis length?

Many Thanks
Barry

#6 Re: Help and Support » Floor Button not working » 2016-12-15 16:53:03

Hi,

I have the same problem and I'm using RAMPS with Raspberry Pi2. I press on the top side buttons on the Z-Axis Calibration Tab, it works as normal but if I press the buttons at the floor side, it moves 10 pulses likely. When I reverse the 4 pins plug direction of the A4988 driver. It moves to floor side only but cannot move to top side. What's wrong? Can help to advise to debug?

Many Thanks!
Barry

Board footer

Powered by FluxBB