Commit Graph
135 Commits
Author SHA1 Message Date
Collin Kidder d8f2c2d0e3 Implementation of colored signals in the can data grid. Not entirely
perfect yet but it's something.
2021-08-19 21:17:40 -04:00
Collin Kidder f53ad8a65a Fixed help system.
Also switched from Sphinx generated HTML to GitHub markup help files.

This improves compatibility and will allow the help files to more easily be viewed on github as well.
2021-05-30 23:40:47 -04:00
Collin Kidder d78cb9878e Fix for another DBC related crash 2021-05-23 11:19:59 -04:00
Collin Kidder a1923f132b Fixed crash with adding DBC signals, slight code change for clarity in
DBC code
2021-05-23 10:52:23 -04:00
Collin Kidder 45193c1fad Added signal comparison to the file comparison window. Very poor, slow
proof of concept inplementation - will be improved soon.
2021-05-04 22:36:09 -04:00
Collin Kidder 0d34958c63 Fixes to make graphing of multiplexed signals work properly 2021-05-02 20:58:23 -04:00
Collin Kidder 35c1ef5387 Added ability to create multiple graphing windows that act separately.
Added ability to right check on signals in main view and graph them
directly.
2021-05-02 12:48:47 -04:00
Collin Kidder 1844695a78 Added DBC signal value table strings to graphs of signals with value
tables, incremented version number.
2021-05-01 09:39:02 -04:00
Collin Kidder e64e84d6fa Bug fixes for extended IDs in DBC files, fix one off error in a few
places (Corrects fuzzing window ID range), re-enabled overwrite mode
showing all signals in a message
2021-04-28 21:41:33 -04:00
Collin Kidder af0194c5a5 Fixes to make extended multiplexing code work properly, implementation
of nested multiplexing in main screen for interpretation.

Overall, it's ugly but mostly functional at this point.
2021-02-25 21:24:21 -05:00
Collin Kidder bcfaffbe5d Switched code around to better support high/low range for multiplexed
signals
2021-02-23 22:14:43 -05:00
Collin Kidder e00aa1150a First pass implementing support for extended multiplexing.
This causes significant changes to the DBC interface. Things are
probably a bit broken right now. Committing to get it on record
before further large changes are done.
2021-02-23 21:22:56 -05:00
Collin Kidder a8cde9fc5f Fixed several seg faults and other errors in DBC code 2021-02-17 21:19:30 -05:00
Collin Kidder 9c14920ffc Merge branch 'WIP' of github.com:collin80/SavvyCAN into WIP 2021-02-01 22:14:24 -05:00
Collin Kidder 3d4cf98e3d Minor fixes to DBC code 2020-11-18 20:31:39 -05:00
Collin Kidder b345495178 Fix compilation on Windows, fix glitch that could cause windows to appear off the actual screen with no way to get them back. 2020-11-15 01:30:13 -08:00
Collin Kidder 1c7caa3884 Fix some errors created during last merge. 2020-09-30 21:55:39 -04:00
Collin Kidder 9d545d44d1 Merge pull request #245 from collin80/WIP
Wip
2020-09-30 18:42:57 -07:00
Sam Nobs b556016bba Use integer formatting where possible when interpreting signal.
Numbers are formatted as floating point numbers, which looks
a bit crap for things like e.g. serial numbers (we don't need
mantissa and exponent). This change checks the scaling factor,
and if it is integer representable, the resulting number is
formatted as an integer number as that's most likely what's
intended, particularly if the factor is 1.
2020-09-18 15:39:08 +12:00
Collin Kidder fbfc1f8c64 Now the DBC Message editor can change the parent node of a message and you can create new nodes simply by typing something new into the sender field. 2020-07-30 21:44:36 -04:00
Collin Kidder a5b7410629 Add tracking of DBC editing in order to warn when exiting without saving, add sorting to DBC routines, add a new screen that allows one to compare two DBC files for changes/differences. 2020-07-29 20:45:36 -04:00
Collin Kidder 4cfb4b903a Added ability to delete nodes, messages, signals within tree. 2020-07-26 14:49:08 -04:00
Collin Kidder 1a1ccb5fec Initial implementation of adding nodes, messages, signals with new tree style. 2020-07-23 21:52:43 -04:00
Collin Kidder 1a5010fca6 Editing of nodes, messages, signals all works now.
Dynamically updates DBC tree if info changes.
2020-07-22 20:57:22 -04:00
Collin Kidder c89bc43795 Added more functionality for new DBC editing system. Tweaked graphics of CANDataGrid a bit. 2020-07-22 19:15:16 -04:00
Collin Kidder fc6dc4ea55 Vast reworking of DBC editing system.
Currently not functional but the overall graphical layout is more or less complete.
2020-07-19 20:29:14 -04:00
Collin Kidder 717228a091 Added searching to DBC window to make it easier to find messages. Replaced deprecated random number calls with new method. 2020-07-15 18:23:18 -04:00
Collin Kidder ccab975a70 Fixes for loading tesla json files (if you somehow get some) 2020-04-02 19:55:04 -04:00
Collin Kidder e4a3854af4 Many little changes to get rid of compile-time warnings.
There now should be no warnings when compiling on LINUX. YMMV elsewhere.
2020-02-15 19:52:18 -05:00
Collin Kidder d550fa79a0 Changed a lot of pointer references to const (it's more correct and
fixes a weird problem), fixed a problem with JSON to DBC, a few other
fixes
2020-02-13 22:01:06 -05:00
Collin Kidder 1a5d67d09e Merge branch 'WIP' of github.com:collin80/SavvyCAN into WIP 2020-02-12 21:18:11 -05:00
Collin Kidder 7f8411f47f Fixes to hopefully make signal colors look proper. 2020-02-12 21:16:02 -05:00
Collin Kidder 48d7dfa97c Add ability to load Tesla ODIN JSON files. Where will you get such a
file? State secret.
2020-02-12 19:56:43 -05:00
Collin Kidder 8beb0e31a0 Converted more code to be easier to generalize to larger CAN payloads
for CAN-FD. Improved some code to be faster. Fixed up some compile
time warnings.
2019-12-15 15:02:06 -05:00
Collin Kidder ef24036d1c Finished switching over everything to the new can format (I hope). It
seems to function now but much more testing is needed.
2019-12-13 21:06:48 -05:00
Collin Kidder 0baffa300f A partial commit that changes CANFrame over to be based on
QCanBusFrame so that things are more compatible with other Qt based
CAN bus code. Not complete yet but getting there.
2019-12-11 21:17:33 -05:00
Collin Kidder 29b635a009 Merge branch 'master' of github.com:collin80/SavvyCAN 2019-12-11 19:35:15 -05:00
Collin Kidder 10f9f29a14 Fix an off by one error with signal sizes. 2019-12-11 19:35:01 -05:00
Tobin Hall 9fb61507a7 Adding types to allow for saving and loading of little endian floats 2019-12-11 11:36:22 +13:00
Tobin Hall 8021710871 Removing limitations to allow for floating point endianess 2019-12-11 11:35:20 +13:00
Collin Kidder ca9b83ddc9 Switched from QtHelp to using straight HTML files for help.
This is because AppImage (for linux) is readonly and QtHelp requires
write access. But, HTML files shouldn't.
2019-08-18 18:52:15 -04:00
mjuhanne cd5fe6da02 DBC settings and bugfixes
- Changes in DBC file manager are immediately propagated to the main window (frames, filter labeling)
- Prevent DBC file manager from saving settings too often and too early (this also fixes a bug where sometimes the settings of all but the first DBC file are lost)
2019-08-12 18:29:33 +03:00
mjuhanne 428b19c5c4 - Save DBC file configuration when changed, and restore it when restarting the application (no need for manual entry everytime app is launched)
- Add GMLAN 29bit filtering feature. In addition to J1939 matching, it is now possible to match DBC messages using only the Arbitration Id (bits 14-26 of CAN Address), since  Priority id (higher bits) and Sender Id (lowest 13 bits) are not relevant when interpreting the CAN message content. This allows to use the excellent GM Global A DBC files on https://github.com/commaai/opendbc. Just remember to select the "GMLAN" matching criteria on DBC File manager.
- Add "Filter labeling" feature. Using loaded DBC files, it matches the filter Ids with DBC messages and shows them in filter windows. Labeling works in the main window (no need to set "Frame interpret" on, since this is a separate feature), as well as in Flow view, Frame data analysis, Playback and Fuzzzing windows. This makes it so much easier to concentrate on those CAN messages that matter. To use this feature, select global "Label filters using messages from DBC files" on Main Configuration page, and then enable the feature on individual DBC files (on DBC file manager) as needed. This is needed if there's overlap in CAN addresses between DBC files, and because the filter labeler cannot tell apart anymore which Filter ID is associated to which bus, it might label them incorrectly. But usually it's ok to just enable the labeling with all the DBC files.
- In Frame data analysis window, in addition to J1939 decoding show also GMLAN (Priority bits, Arbitration Id, Sender Id) decoding.
- FilterUtility static class used for centralized ListWidgetItem creation and for other helper functions
- DBC handler: To allow setting bus numbers even before connection is configured, do not enforce "valid" bus numbers
2019-08-11 23:16:02 +03:00
Collin Kidder 0567d5ef14 More changes meant just to fix up compiler warnings. 2019-08-08 22:09:02 -04:00
Collin Kidder e7e65b7216 Fixed up a bunch of compiler warnings.
There should be no functional difference, just less noise when compiling
2019-08-08 21:15:51 -04:00
Mark Webb-Johnson 492b08d4f3 Address crash (OSX platform, at least) when deleting empty node or message 2019-07-21 20:35:12 +08:00
Collin Kidder d4a735a710 Allow many places to load and save the last directory used for that functionality so it can easily be used again.
All frame file I/O uses the same directory load/save location but DBC files store separately as do filter files, graphing definitions, and stored text files from the various reverse engineering windows.
2019-06-17 20:58:56 -04:00
Collin Kidder a0cc88ede2 Fix for a few issues with DBC file loading and the ability to reorder DBC files. 2019-05-28 21:26:33 -04:00
Collin Kidder c12031158e Implemented the signal viewer and enabled it in the menu. 2019-04-15 20:56:39 -04:00
Collin Kidder 428eab683e Add a new function to DBC handler to make it easier to find messages
by name
2019-04-14 18:27:25 -04:00