Commit Graph
100 Commits
Author SHA1 Message Date
Ulrich Meine 3dd13ae899 enable PageVoltage for small decimals; add formatValue overload to OBP60Formatter 2026-09-01 21:53:09 +02:00
Ulrich Meine 6c318d5a69 Enables pages Autopilot, BME280, Compass, Current for small decimals 2026-09-01 21:51:30 +02:00
Ulrich Meine 0202c5d82a Enable pages Weather, Wind, XTETrack + charts function for small decimals 2026-09-01 16:55:34 +02:00
Ulrich Meine 33768440b1 OBPFormatter(): make precision selectable regardless of user setting 2026-08-31 16:35:21 +02:00
Ulrich Meine 9eb0983ee4 Fix some more issues on printBoatValue() function 2026-08-31 16:34:33 +02:00
Ulrich Meine 93084c980a Enable small decimals on PageOneValue; fix issues on PageSixValues 2026-08-31 16:33:19 +02:00
Ulrich Meine 18c1da5991 Adjust displayGetTextBounds(); fix rendering issues at printBoatValueImpl() 2026-08-26 00:36:23 +02:00
Ulrich Meine 80800c32a3 Adjust default ranges for charts once more 2026-05-22 23:24:09 +02:00
Ulrich Meine a218da8948 fix calculate AWD conditionless 2026-05-22 23:10:51 +02:00
Ulrich Meine 1425297ef4 Adjust chart axis labelling for better intervals 2026-05-21 23:00:24 +02:00
Ulrich Meine 92a6266d71 Fix typo in config_obp60 2026-05-18 21:43:12 +02:00
Ulrich Meine 9c9d435390 PageCurrent: Delete old comments 2026-04-27 22:42:27 +02:00
Ulrich Meine 2d5838ebc8 PageCurrent: make ROLL value selectable in config; display name+unit right-aligned; code clean-up 2026-04-26 01:19:19 +02:00
Ulrich Meine 2f30e858c8 PageCurrent: added leeway coeff, changed boat value handling, fixed ROLL 2026-04-25 02:37:39 +02:00
Ulrich Meine 1098afa8b2 True Wind: calculate HDT only if true wind calc is requested 2026-04-25 01:23:42 +02:00
Ulrich Meine cfac5b0a05 Fix Wifi AP shutdown during client WiFi reconnect attempt 2026-04-23 23:06:05 +02:00
Ulrich Meine f84ef25a30 Initial version of Page Current 2026-04-17 23:45:11 +02:00
Ulrich Meine 89dfdb35c3 Delete obsolete comments in OBPcharts.cpp 2026-04-06 01:02:54 +02:00
Ulrich Meine 3f1d2d4ee2 Fix vertikal time axis label 2026-04-06 00:58:38 +02:00
Ulrich Meine 530c101421 Adjust default ranges for charts 2026-03-26 22:27:08 +01:00
Ulrich Meine 3deb80b2c6 Add smoothing option for any chart plot 2026-03-26 22:08:00 +01:00
Ulrich Meine 1f0e3cb6eb Delete unnecessary include of <movingAvg.h> in some Pages 2026-03-26 21:58:31 +01:00
Ulrich Meine a445726757 Convert class <movingAvg> to accept flexible data types 2026-03-26 21:57:17 +01:00
Ulrich Meine 79aeeed65c Show correct time line on horizontal charts 2026-02-20 23:59:59 +01:00
Ulrich Meine f21c8da2d2 Clear old code fragments from history buffer class 2026-02-15 21:50:20 +01:00
Ulrich Meine 34af16092b Calculate AWD conditionless;
restructured true wind calculation for clearer decision tree
2026-02-14 02:40:23 +01:00
Ulrich Meine fc5daaba37 - change control of key settings on PageOneValue + PageTwoValues
- added taskYIELD() to chart loop to be nice to other tasks
- fix typo in config_obp40.json
- fine tune chart labels
- disable debug messages
2026-02-09 22:31:07 +01:00
Ulrich Meine cb2b85d505 Data Calibration: Extend no. of calibration instances from 3 to 4 2026-01-17 13:45:41 +01:00
Ulrich Meine cc1d07fac0 True Wind Calculation: change wind angle range to [0..360] temporarily for proper display on pages 2026-01-17 13:07:48 +01:00
Ulrich Meine b8e64ff64c Update data calibration: calibration in main loop on boat data values:
- modified code to calibrate affected boat data each second in main obp60task loop;
- removed individual calibration call in all pages
- moved code from BoatDataCalibration to OBPDataOperations
- added DBS and HDT to list of supported data calibration types
- changed output format for wind angles from [-180..180] to [0..360], because negative value are not displayed properly on pages
2026-01-17 12:25:57 +01:00
Ulrich Meine cd3c99d509 PageOneValue: fix unit position 2026-01-11 17:07:27 +01:00
Ulrich Meine 86a078690a PageTwoValues: added chart display option 2026-01-11 15:30:13 +01:00
Ulrich Meine 4747336a69 Code rework for OBPcharts, part 3 2026-01-10 12:31:37 +01:00
Ulrich Meine 84736e6769 OBP60Formatter: add option to switch of creation of simulation data and use pure conversion/formatting function 2026-01-10 01:50:19 +01:00
Ulrich Meine 2d4f49659d Code rework for OBPcharts, part 2 2026-01-06 22:57:07 +01:00
Ulrich Meine 559042da78 Code rework for OBPcharts, part 1 2026-01-05 23:19:12 +01:00
Ulrich Meine 2e836bc750 added helper method for boat value conversion to OBP60Formatter;
fixed range calculation for temperature and other value formats;
fixed printing for names > len(3);
show "mode" only for supported data types
2026-01-01 22:52:33 +01:00
Ulrich Meine 784cc15b8f adjusted simulation calc in OBPFormatter;
WindPlot + PageOneValue: aligned simulation data handling to standard; added "holdValues";
improved data check for chart buffer data; changed handling of tmpBVal -> always unique_ptr
2025-12-24 01:40:37 +01:00
Ulrich Meine 69754b85fd optimized chart initialization for PageWindPlot; added chart options to PageOneValue;
printing of current boat value on horizontal half charts is selectable;
fixed value axis direction for depth and other boat data; changed time axis labels to full numbers;
changed "INTV" button label to "ZOOM"
2025-12-23 18:16:53 +01:00
Ulrich Meine 362338a7dd Optimized PageWindPlot code;
added WindUtils AWD/TWD calculation from AWA/TWA if available
2025-12-21 13:10:44 +01:00
Ulrich Meine 41a8e7d078 General history buffers working; fine tuning required 2025-12-20 22:42:42 +01:00
Ulrich Meine d655674529 Revert wind speed chart for horizontal charts; changed chart format parameters to <char>; adjusted chart size to OBP standard
Revert wind speed chart for horizontal charts; changed chart format parameters to <char>; adjusted chart size to OBP standard - commit from PageWindPlot-v2
2025-12-18 20:24:14 +01:00
Ulrich Meine 3ce1e31e64 Initial change to history buffers taking any boat value 2025-12-13 17:59:16 +01:00
Ulrich Meine 0f50b614eb Add lower chart line for horizontal half chart; write current value after chart lines 2025-12-05 00:10:31 +01:00
Ulrich Meine 1b55439135 Few more pixel adjustments for horizontal half screen charts 2025-12-04 23:31:20 +01:00
Ulrich Meine 625f9c087e Fixed OBP60Formatter issue with speeds of 9.9999 knots 2025-11-29 01:21:45 +01:00
Ulrich Meine 3fa7ca5e99 Optimized buffer change for T/A wind;
pixel and font size adjustments;
cleaned #includes
2025-11-28 23:47:39 +01:00
Ulrich Meine 9935cb54a6 Merge branch 'PageWindPlot-v2' of https://github.com/Scorgan01/esp32-nmea2000-obp60 into PageWindPlot-v2 2025-11-28 23:46:06 +01:00
Ulrich Meine b31addf852 Fixed typo in config.json files 2025-11-28 23:45:44 +01:00
Ulrich Meine 942ca28ab5 Clean PageWindPlot to adjust to new OBPcharts setup 2025-11-22 19:59:43 +01:00
Ulrich Meine 489ee7ed09 Lots of fixes and enhancements for OBPcharts; ringbuffer now returns <double> values - internally still 2-byte storage; charts operate now with SI values; added flexible multiplier to history buffer; included data calibration for history data 2025-11-22 02:33:58 +01:00
Ulrich Meine dd5f05922a Added <cvalue> to OBP60Formatter to return numerical converted value 2025-11-22 01:32:50 +01:00
Ulrich Meine 81825370c0 Merge branch 'PageWindPlot' of https://github.com/Scorgan01/esp32-nmea2000-obp60 into PageWindPlot 2025-10-17 00:42:27 +02:00
Ulrich Meine bcc24ee99d OBPcharts principle working 2025-10-17 00:42:13 +02:00
Ulrich Meine 16b8a0dacd Merge branch 'PageWindPlot' of https://github.com/Scorgan01/esp32-nmea2000-obp60 into PageWindPlot 2025-09-12 18:58:53 +02:00
Ulrich Meine b3e2dea45b Code part for more chart plots 2025-09-12 18:42:49 +02:00
Ulrich Meine 1abcb158ec Moved history buffers to PSRAM; extended buffer to 1920 values each (32 min.) 2025-08-26 23:21:36 +02:00
Ulrich Meine 851149bae6 Convert invalid marker of ringbuffer to MAX_VAL -> required for unsigned types 2025-08-23 13:43:02 +02:00
Ulrich Meine c6c2ad537a Merge remote-tracking branch 'upstream/master' into PageWindPlot 2025-08-23 11:58:14 +02:00
Ulrich Meine 636b1596f5 Code cleanup: moved buffer + wind calc to OBPDataOperations; <BoatValueList> header to obp60task.h; tws 3 decimals 2025-08-23 01:41:39 +02:00
Ulrich Meine 07200ad701 Merge branch 'PageWindPlot' of https://github.com/Scorgan01/esp32-nmea2000-obp60 into PageWindPlot 2025-08-17 23:50:24 +02:00
Ulrich Meine 371816f946 PageWindPlot: add simulation data, switch TWD/AWD; diff. setup for OBP40; delete showTWS option 2025-08-17 23:50:19 +02:00
Ulrich Meine 8faead0a1a add simulation data for TWD, TWS history data 2025-08-16 16:49:17 +02:00
Ulrich Meine 398b8e0d02 another wndCenter fix; TWD calc with HDM and no VAR; COG valid check; dflt range 60° 2025-08-11 20:49:39 +02:00
Ulrich Meine 05f8b3ec65 fix TWS name not displayed; improve check for chart center adjustment; debug code changes 2025-07-27 20:54:35 +02:00
Ulrich Meine 351ef5d9fe fix true wind input check; fix TWS not calculated with SOG only or w/o COG 2025-07-27 20:51:11 +02:00
Ulrich Meine da451bee70 removed test comment from wind function call 2025-07-26 09:27:35 +02:00
Ulrich Meine f79124eed3 Revert speed change in platformio.ini 2025-07-25 19:54:01 +02:00
Ulrich Meine 33b5776421 Merge branch 'PageWindPlot' of https://github.com/Scorgan01/esp32-nmea2000-obp60 into PageWindPlot 2025-07-25 19:50:47 +02:00
Ulrich Meine 2954a9a58b adjust page call to new standard; clean debug code; fix TWS print alignment 2025-07-25 19:50:42 +02:00
Ulrich Meine 938b566bfc Merge branch 'PageWindPlot' of https://github.com/Scorgan01/esp32-nmea2000-obp60 into PageWindPlot 2025-07-25 08:43:01 +02:00
Ulrich Meine fe2223839f added calibration to buffer; separated buffer and wind code in opb60task; prepared simulation; getMin/Max fix for ringbuffer for invalid data; fix for chart center; cleanup code 2025-07-25 08:42:43 +02:00
Ulrich Meine c48c6a2e48 Move buffer handling to obp60task; reset OBPSensorTask; add true wind calculation 2025-07-19 00:26:37 +02:00
Ulrich Meine bb99978177 no buffer writes for invalid data; fix ringbuffer index 2025-07-14 21:17:17 +02:00
Ulrich Meine 91a3ac081f Merge branch 'PageWindPlot' of https://github.com/Scorgan01/esp32-nmea2000-obp60 into PageWindPlot 2025-07-13 00:26:24 +02:00
Ulrich Meine 59cf52b5d2 Semaphore + chart fixes; added simulation data 2025-07-13 00:26:16 +02:00
Ulrich Meine 72ddeb3cfb Pointer correction -> no data copy; conc. access issues 2025-07-01 01:27:41 +02:00
Ulrich Meine 2729ef9cb6 Implement v1 history data storage at OBPSensorTask 2025-06-25 23:14:09 +02:00
Ulrich Meine 1f90cefbd6 Implement OBPRingBuffer class and adjust PageWindPlot accordingly 2025-06-24 00:05:15 +02:00
Ulrich Meine 9ada5be7cb Handling of missing data 2025-06-22 14:29:03 +02:00
Ulrich Meine 03d8339170 fix interval, border cross, TWS flip, range; add config_obp40; adjust axis legend 2025-06-22 00:11:54 +02:00
Ulrich Meine 73656e7d14 Buffer and interval stuff 2025-06-18 23:40:57 +02:00
Ulrich Meine bd9741d851 buffer extension; still some errors 2025-06-14 02:19:52 +02:00
Ulrich Meine 13c85adad2 completed config.json; modified TWS flipping; almost fully fixed chart rng overflow 2025-06-13 17:43:23 +02:00
Ulrich Meine 9b504469bc Fixes for TWS flip, scale calculation, chart range overflow; add axis lines 2025-06-12 23:41:15 +02:00
Ulrich Meine f0aba89301 Simulation data; ext. chart area; flexible TWS position 2025-06-09 22:32:34 +02:00
Ulrich Meine fe095a9716 Y Axis label; some interval bug fixing 2025-06-09 17:58:57 +02:00
Ulrich Meine 235188dfb2 Added update interval + no sens data msg; corrected rounding 2025-06-09 13:35:54 +02:00
Ulrich Meine aa70c34a96 Fix getMin/Max + wndCenter rounding; 2025-06-08 13:45:20 +02:00
Ulrich Meine 62aef176d3 Chart + plotshift working 2025-06-06 23:06:04 +02:00
Ulrich Meine bf4dff45b4 Compact config reading code 2025-06-05 23:42:36 +02:00
Ulrich Meine f153d82825 PlotShift 2025-06-05 22:51:25 +02:00
Ulrich Meine da06f3e791 Automatic scale adjustment + plot shift 2025-06-05 01:04:07 +02:00
Ulrich Meine 7d66ec91da Principle working; several bugs incl. 2025-06-03 22:52:06 +02:00
Ulrich Meine 29706df6cd Drop top and bottom line to adjust to standard page design 2025-05-25 20:18:09 +02:00
Ulrich Meine d6e3c7ad48 Calibration for data types COG, SOG added 2025-05-25 17:42:50 +02:00
Ulrich Meine 02712263d3 Changed array for calibration data into a hash map; reduced unnecessary method parameters 2025-05-25 13:53:50 +02:00
Ulrich Meine 0c4fce0e25 No smoothing when boatDataValue is invalid 2025-05-24 00:40:10 +02:00
Ulrich Meine 4e6d52d197 added "condition" to calibration settings in config.json 2025-05-22 23:28:33 +02:00
Ulrich Meine f9cf73ae04 adjust code position of calibration method call, where not applied yet 2025-05-22 22:45:20 +02:00