aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-05-13Update commentsXiao Pan
2025-05-13Updata readmeXiao Pan
2025-05-13Updata readmeXiao Pan
2025-05-13Updata readmeXiao Pan
2025-05-13Updata readmeXiao Pan
2025-05-13updateXiao Pan
2025-05-13update readmeXiao Pan
2025-05-13Add and edit commentsXiao Pan
2025-05-13Update readmeXiao Pan
2025-05-13Add GPL-2.0-only licenseXiao Pan
linux/can.h and linux/can/raw.h are (GPL-2.0-only WITH Linux-syscall-note) OR BSD-3-Clause license, although I can use any license I want because that BSD-3-Clause license, I still choose to be safe and use linux's GPL-2.0-only license.
2025-05-10better commentXiao Pan
2025-05-09better commentXiao Pan
2025-05-09updateXiao Pan
2025-05-09more commentXiao Pan
2025-05-07better printXiao Pan
2025-05-07fix: need fflush for systemd to log my stdoutXiao Pan
2025-05-07consider large section of bad dataXiao Pan
2025-05-07Only fix if file exist so it can be openedXiao Pan
2025-05-07Better printsXiao Pan
2025-05-07Fix corrupted csv file by removing last bad lineXiao Pan
2025-05-07Revert "Save to a string then write to a file so maybe less corrupted .csv"Xiao Pan
This reverts commit a4dcf5ba5a79254c16341f060b227c6c97654012. The commit does not fix the issue of corrupted .csv file.
2025-05-07Save to a string then write to a file so maybe less corrupted .csvXiao Pan
Sudden power loss on pi may result to bad .csv file. Save to a string first maybe can mitigate this issue a little bit. Also this way maybe more optimized, not sure.
2025-05-04Maybe more correctXiao Pan
On raspberry pi debian 12, when trying to build https://codeberg.org/flyxyz123/remote_plot, I got make error "ld: undefined reference to ..." if use `cc -Wall $$(pkg-config --cflags --libs libssh plplot gtk4) -lm -o $@ $^`. No error if move $^ to the beginning. Not sure why, maybe becuase pi has an old version of gcc? This repo does not have this issue if put `$^` at the end. But I think put `$^` at the beginning maybe is a more correct way.
2025-05-04forgot to comment out test printfXiao Pan
2025-05-04Using new SR16-CustomBMS repo .dbc fileXiao Pan
https://github.com/spartanracingelectric/SR16-CustomBMS/blob/main/SR-16%20Custom%20BMS.dbc Edited some lines at the .dbc file head to make dbcc work, maybe wrong.
2025-04-30no print for less trash logXiao Pan
2025-04-30try autostart mycan now, no print for testing for less trash logXiao Pan
2025-04-30switch to correct dbc file, regenerate with dbcc, rewrite with new functionsXiao Pan
2025-04-30fix some likely typoXiao Pan
2025-04-30Old .dbc file wrong, use dbc file from BMS repoXiao Pan
https://github.com/spartanracingelectric/Custom-BMS/blob/main/custom_bms.dbc
2025-04-29fix: wrong VLA arrary length, switch to mallocXiao Pan
When using $HOME env, array length need to consider /.local/.share
2025-04-29consider no XDG_DATA_HOME envXiao Pan
2025-04-28feat: store past dataXiao Pan
I also copied old code that can only do live data to old/mycan_live.c
2025-04-26cli option to specify can device name, useful for testing to specify vcan0Xiao Pan
2025-04-26I wrongly changed cell temp based on BMS_Highest_Cell_Temperature, now ↵Xiao Pan
change again, not tested, only guess
2025-04-26updateXiao Pan
2025-04-26Remake with dbccXiao Pan
2025-04-26Wrong .dbc file name in MakfileXiao Pan
2025-04-26.dbc cell temp seems wrong, edited, not testedXiao Pan
Edited according to BMS_Highest_Cell_Temperature
2025-04-26Revert "Add back deleted .dbc lines to document what I deleted"Xiao Pan
This reverts commit 103197138bfc90dfb87429c0b1b6b8f2167dfedb.
2025-04-26Add back deleted .dbc lines to document what I deletedXiao Pan
2025-04-24Better readmeXiao Pan
2025-04-24Add readme about dbcc in makefileXiao Pan
2025-04-24Add readme about dbccXiao Pan
2025-04-24LICENSE note commentXiao Pan
2025-04-24initXiao Pan