Commit Graph
31 Commits
Author SHA1 Message Date
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 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
Tobin Hall 9fb61507a7 Adding types to allow for saving and loading of little endian floats 2019-12-11 11:36:22 +13: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
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 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
Collin Kidder 15460f70e3 Fix inappropriate default color that made DBC messages default to a
bad color scheme for dark themes
2019-03-19 21:02:35 -04:00
Collin Kidder d4f52311f7 Fix to correct a few places where 2 buses were hard coded as the
limit. There is no hard and fast limit to the number of buses you can
have now.
2019-02-19 21:19:51 -05:00
Collin Kidder b3a5f2498f Ensure one cannot save DBC files with blank message and signal names,
fix up some warnings.
2018-09-18 19:23:38 -04:00
Collin Kidder 6ee5a7f7d7 Add checks to ensure that references to nonexistant nodes are handled 2018-07-24 21:35:42 -04:00
Collin Kidder 80d7b8a993 Refactored DBC loading code a bit to get some of the complication out of the main loop. Fixed loading DBC files where the nodes are on separate lines. Updated version num. 2018-01-15 22:45:20 -05:00
Fabián Inostroza 077cb223e0 Fix DBC handler and DBCFile. Initialize j1939 attribute to false by default. 2017-11-03 01:12:18 -03:00
Fabián Inostroza 218e3141d2 Controls and code for using a J1939 database. 2017-10-22 03:35:36 -03:00
Collin Kidder 82550237ee Fix a small typo in DBC handler - Thanks to dimavs on github. 2017-07-12 18:02:00 -04:00
Collin Kidder 92ebb2d527 Bug fixes to DBC attribute loading and message coloring. Message colors work now! 2017-01-19 20:34:18 -05:00
Collin Kidder 6af5cfadf4 Initial commit of color coding for DBC messages. It kind of works but there are many little kinks to work out yet. 2017-01-18 19:54:19 -05:00
Collin Kidder 50a2683dd4 Add support for loading and saving ENUM DBC attributes 2017-01-18 14:11:10 -05:00
Collin Kidder 3ae13f1d59 DBC related bug fixes and implementation of saving DBC attributes to file 2017-01-17 21:26:20 -05:00
Collin Kidder 49b2ac0155 Add the ability to load several forms of DBC attributes. 2017-01-16 21:00:26 -05:00
Collin Kidder 74f6d7f947 Add preliminaries for signal viewer, update version number, switch dbc handler to singleton pattern, changes to DBC attributes 2017-01-15 16:30:08 -05:00
Collin Kidder 5c4ecda802 Fix multiplexed DBC signal loading 2017-01-08 20:01:37 -05:00
Collin Kidder 7222870b1e Many little fixes to clean up warnings and bugs. 2016-12-29 20:50:02 -05:00
Collin Kidder 0b46f564ab Reorganized source code 2016-12-11 21:06:41 -05:00