Open kgolger opened 3 years ago
Hmmm. The heightmap.csv file looks different than expected. I wonder if format changed and I didn't notice. I'll take a look tomorrow.
Oh, I forgot to ask...can you attach your config.g file? I want to see how your axes are set up.
Thank you for the quick response. I suspect that the issue may be with the heightmap.csv. In the attachment you will find the heightmap.csv and the config.g data:
wbr, Karl
It looks like RRF and DSF are out of sync. RRF always writes the new format file while DSF writes the previous version. The heightmap.csv file you posted looks like it was written in the latest version when you were running your Duet2 in standalone mode (without the DSF).
If you're running with the DSF, you can use either DueUI or the DWC to issue a M374 command which will cause the file to be written in the previous version. This should make it displayable in DueUI again in the short term.
I'm going though all the changes for 3.4 now and will make DueUI read both the new and old formats but that may take another week or so.
I'll leave this issue open until I get the real fix in.
Here's the post on the Duet forums I started to see if we can get the versions in sync. https://forum.duet3d.com/topic/25566/heightmap-format-different-between-rrf-and-dsf
I'm working without Framework, using standalone mode. Thank you very much for your efforts. I will wait until a solution is available. However, I would be interested in the difference of the heightmap.csv v1 to v2. Do the changes only affect the program header, or is the content formatted differently?
wbr, Karl
The difference is in the header info. The actual measurements are in the same format. The latest version (your printer):
RepRapFirmware height map file v2 generated at 2021-10-14 23:11, min error 0.003, max error 0.155, mean 0.103, deviation 0.038
axis0,axis1,min0,max0,min1,max1,radius,spacing0,spacing1,num0,num1
X,Y,20.00,220.00,28.00,188.00,-1.00,40.00,32.00,6,6
The previous version (my printer using DSF):
RepRapFirmware height map file v2 generated at 2020-04-09 16:49
xmin,xmax,ymin,ymax,radius,xspacing,yspacing,xnum,ynum
-235.00,235.00,-235.00,235.00,-1.00,23.50,23.50,21,21
I misread your first post and thought you were using the DSF. Sorry. Since you're not, I'll see if I can get a quick DueUI fix up tomorrow.
I have modified the heightmap.csv header manually:
RepRapFirmware height map file v2 generated at 2020-04-09 16:49 xmin,xmax,ymin,ymax,radius,xspacing,yspacing,xnum,ynum 20.00,220.00,28.00,188.00,-1.00,40.00,32.00,6,6 0.013, 0.085, 0.100, 0.100, 0.082, -0.033 0.020, 0.097, 0.107, 0.097, 0.092, -0.058 0.055, 0.085, 0.092, 0.087, 0.058, -0.025 0.087, 0.107, 0.087, 0.082, 0.077, -0.020 0.080, 0.107, 0.080, 0.072, 0.077, 0.020 0.060, 0.077, 0.065, 0.075, 0.082, 0.035
The result:
👍👍👍
So far everything is running now. I hope that the source data adaption will not be too time-consuming.
One question by the way: How to adjust the font sizes of the heightmap elements in config_default.json. The fonts look very small on a 7" LCD.
Thanks!
wbr, Karl
I just released v3.3.1 that has the fix for the new heightmap and also allows you to change the style of the different components of the heightmap widget. https://github.com/gtjoseph/DueUI/releases/tag/v3.3.1 https://github.com/gtjoseph/DueUI/wiki/Heightmap
Let me know how it works.
Thank's for your efforts and the quick processing. I will check and report back in the next few days 👍
@gtjoseph:
Thanks again for the quick turnaround. Here some screenshots of my DueUI 3.3.1 (DWC 3.4) settings:
wbr, Karl
Very Nice! Would you be OK with me copying the screenshots into the wiki as an example setup? It wold also be cool if you posted your setup in the Share your DueUI configuration! forum thread with your json config.
All optional of course. I'd understand if you didn't wish to share.
No problem! I'm pleased to do so, of course! I made some changes in dueui_config_default.json and dueui_bundle.js. I've germified the text, but can be changed very easily to another language in the config. I will publish the data here (https://forum.duet3d.com/topic/14835/share-your-dueui-configuration). What does not work 100% yet is loading the mainpage (dueui.html). It can happen that you have to refresh the page 1 or 2 times, because fonts and background are not loaded correctly, both with chromium and firefox-esr. System: Pi4 B Description: Raspbian GNU/Linux 10 (buster) Kernel: 5.10.60-v7l+ Touchscreen: Waveshare H 7" (https://www.waveshare.com/7inch-hdmi-lcd-h-with-case.htm) Duet2 Wifi, DWC V3.4 RC4, DueUi V3.3.1
(ok)
(refresh needed)
wbr, Karl
First of all, thank you very much for the implementation of the DueUI project. I am using DueUI in conjunction with my Duet2 Wifi and a Raspberry Pi4 with 7" Waveshare touchscreen. So far everything works stable - except the heightmap. The heightmap is not displayed graphically, as the following picture shows:
The following error status is displayed:
Here is the constellation of the Duet2 Wifi board:
Board: Duet 2 WiFi (2WiFi) Firmware: RepRapFirmware for Duet 2 WiFi/Ethernet 3.3 (2021-06-15) Version von Duet WiFi Server: 1.26 Duet Web Control 3.4.0-b4 (have also tried it with V3.3 -> no luck).
heightmap.csv:
heightmap.csv
Thank you for any support that could help me! If you need more data, please get in touch!
wbr, Karl