Commit Graph
100 Commits
Author SHA1 Message Date
Collin Kidder 48fb208f8b Fixed crash bug found in many sub screens, made UDS scanner work better. 2016-01-29 15:03:29 -05:00
Collin Kidder a3318947d5 Quick test implementation of UDS scanner 2016-01-29 13:42:56 -05:00
Collin Kidder 6c143049c5 Attempts to debug an issue that causes files to load up with twice the
number of actual frames.
2016-01-28 20:56:26 -05:00
Collin Kidder 763b20136e Fixed up the rest of the fuzzing window. It should be pretty complete
and functional now.
2016-01-28 19:54:52 -05:00
Collin Kidder 54045badeb More implementation of fuzzing window - now it is possible to use the
bitfield to select which bits to fuzz - random bit fuzzing works but
seqential and sweep do not yet.
2016-01-27 22:07:17 -05:00
Collin Kidder 411b43146d Upped version number, implemented an incomplete but working version of
the fuzzing window.
2016-01-27 20:26:12 -05:00
Collin Kidder 2b82e1dec4 Good God, OSX is annoying. Renamed "Configure Port" to "Set Port" so
that stupid OSX won't grab it and pretend it's the main preference
system again... This should fix the issue where the connection dialog
replaces the preferences dialog.
2016-01-26 20:05:23 -05:00
Collin Kidder f3cccc2231 Updated version, added two new windows (not done), fixed more issues
with how connecting works - it now also stores the last connection so
you can resume using it the next time the program is run.
2016-01-26 19:53:15 -05:00
Collin Kidder 427b2cf326 Fixed bugs in connect/disconnect and overwrite mode. 2016-01-25 20:02:20 -05:00
Collin Kidder c41815e628 Added ability to create new DBC files from the DBC file manager,
hooked up ability to change associated bus for DBC files.
2016-01-21 20:49:51 -05:00
Collin Kidder a42d9532d7 Refactored code so that frame file loading/saving is all done through
a unified interface. Updated file filters. Notched up version number.
2016-01-21 20:11:35 -05:00
Collin Kidder 7a28951206 Fix up loading and saving of CAN-DO format to be more correct 2016-01-21 19:42:10 -05:00
Collin Kidder 18294c7712 Change default save/load format to native GVRET log format. This
format has the most information and is really the best option. Fixed
up lack of ability to save IXXAT and CANDO filtered.
2016-01-21 19:15:12 -05:00
Collin Kidder b328e08096 Added IXXAT and CAN-DO formats for loading and saving. Incremented
version number.
2016-01-19 21:47:27 -05:00
Collin Kidder 00aa9c6c14 Fix an issue that caused DBC interpretation to not work right 2016-01-17 17:17:44 -05:00
Collin Kidder 3ef905b68a Added a file manager and hooked it up. It is now possible to load and
edit multiple DBC files.
2016-01-17 17:09:47 -05:00
Collin Kidder cd5f851f35 Major mondification to how DBC files are handled in-program. Now it is
much more object oriented and encapsulated. The biggest addition is
that it is now possible to support multiple DBC files being loaded at
once with each file associated to one or both buses. Note that
currently the program still does not support multiple DBC files but
the groundwork is there.
2016-01-17 13:30:42 -05:00
Collin Kidder d831f985f5 Switched to a safer way to deal with signals in the graphing window.
Previously it was possible to crash the program by graphing with a
signal and then loading a different DBC file. No more will that
happen. Also, there is an error message if you load a graph definition
file that relies on a DBC file that you don't have loaded.
2016-01-12 22:35:19 -05:00
Collin Kidder c8666b4147 Added ability to load and save graph definitions for signal based
graphs. Implemented code to support appending to signal based graphs.
2016-01-11 22:14:42 -05:00
Collin Kidder cdd4f23609 First pass of adding direct DBC signal support to the graphing window.
It mostly works now but there are several little pieces still to do.
2016-01-11 20:45:30 -05:00
Collin Kidder 62e168905a Properly hooked up multiplexed signals. They now show up correctly
when "Interpret Frames" is selected on the main screen. Fixed some
bugs related to the new DBC code.
2016-01-10 21:54:33 -05:00
Collin Kidder 81e97e8803 Added ability for candatagrid to show the currently used bits in gray.
Used in signal editor to help make it easier to know what bits are
used. Added single and double precision float code where appropriate.
They weren't supported at all before. But, that code isn't really
tested yet. Added support for multiplexed signals. Most all the code
for the UI is done and some of the backend but it isn't hooked into
the actual signal processing code just yet. Updated program version
number.
2016-01-10 20:34:32 -05:00
Collin Kidder 1e04e5fb31 Added the ability to save all frame details within the details screen
to file.
2016-01-03 18:37:58 -05:00
Collin Kidder e2903c9058 Removed singlewire mode from settings screen because it is on
connection screen now. Added ability to show binary view of a byte.
Added changed bits to each message ID in the frame details view.
2016-01-03 18:08:10 -05:00
Collin Kidder ff130814d9 Fixed the regular expression matching for DBC loading to be more
tolerant of minor syntax differences.
2016-01-01 20:33:22 -05:00
Collin Kidder 5facfe72aa Fixed a nasty bug that could cause the whole program to crash when
changing ID filters. Made the new connection screen update to
show the set baud rates. Added the ability to set Single Wire mode on
the connection window but it actually doesn't work yet.
2015-12-28 18:51:07 -05:00
Collin Kidder a37dbe33aa FIx up some merge problems that slipped through the last commit. I
should be slapped for that.
2015-12-20 21:41:38 -05:00
Collin Kidder 8fa55dbdbf Merge branch 'WIP' into WIP2
Merge WIP into WIP2 in order to add the connection window and change
how connections are done.
2015-12-20 21:29:57 -05:00
Collin Kidder 45cd9d6171 Merge branch 'WIP2' into WIP
Conflicts:
	SavvyCAN.pro
	config.h
	mainwindow.cpp
	mainwindow.h
	mainwindow.ui

Resolved conflicts between branches
2015-12-20 21:29:23 -05:00
Collin Kidder 09ff3f850a Improved accuracy of range mode. 2015-12-09 20:57:38 -05:00
Collin Kidder 990f034936 More implementation of range mode. It works reasonably well now.
It is now possible to look at each signal that was found.
2015-12-08 20:37:39 -05:00
Collin Kidder 72f07f304f Addition of the range state window (it sort of works now too!),
refactoring of some DBC code, fixed some DBC calcs, fixed a bug in the
frame playback window, incremented version number to show that a lot
has been done.
2015-12-07 21:47:41 -05:00
Collin Kidder 1e46af88f1 Updated readme to explain the third-party dependencies. 2015-12-03 14:36:33 -05:00
Collin Kidder cc0f1733b1 Switched script source code view to a QScintilla based view. 2015-12-02 21:56:06 -05:00
Collin Kidder 0d7490a423 Added ability to save/restore scripting window size and location 2015-12-02 20:12:54 -05:00
Collin Kidder d324177a7b Got frame reception and sending working (preliminarily) 2015-12-02 19:50:26 -05:00
Collin Kidder c2e5df6087 Bug fixes, turn some connections into QT5 syntax, more implementation of scripting interface. 2015-12-02 15:53:26 -05:00
Collin Kidder f6b5db9617 Added the ability to track which direction frames are coming from
(from us or to us), import that detail from file formats that support
it, save it to file formats that support it. Also some bug fixes.
2015-12-01 20:25:52 -05:00
Collin Kidder 0ff076de3a Fixed up ability to send frames while not connected and to show frames
that were sent within the same window as received frames. Added a new
scripting window that can be used to create scripts that send and
receive messages at runtime - not done but sort of working.
2015-11-30 20:35:08 -05:00
Collin Kidder 3fb702e22e Add sent frames to the frames lists as well. Previously anything sent
by the program would not show up and this leads to various issues.
2015-11-30 19:38:29 -05:00
Collin Kidder f7bd31ab53 Update version number - forgot in last commit 2015-11-23 22:05:27 -05:00
Collin Kidder dfc3ced69d Added support for loading/saving trace files. Presumably this format
is from Vector in some fashion.
2015-11-23 21:52:28 -05:00
Collin Kidder c699e54548 Some progress toward supporting socketcan connections 2015-11-23 19:05:11 -05:00
Collin Kidder 2379deb2fc Remove a few screens that either aren't done or aren't yet for public consumption. Use the WIP branch if you want those things to still exist. 2015-11-23 18:51:42 -05:00
Collin Kidder 70ebfc19c7 Fixed a precision bug that caused signed 32 bit integers to not work
properly.
2015-11-23 09:19:47 -05:00
Collin Kidder 1d89fe576e Fix up some faulty variable definitions and clarify others. 2015-11-23 09:19:47 -05:00
Collin Kidder a6198bc20f Skeleton for touch screen handling 2015-11-23 09:19:47 -05:00
Collin Kidder 2916fb92eb Added more control options to graphing window, updated version number
The graphing window now can be zoomed via the context menu or with the
+ and - keys. Also, you can reset to a "good" view of all the graphs
from the context menu.
2015-11-23 09:19:47 -05:00
Collin Kidder 3ed0ac4880 Added bitwise not and modulus division to the list of operations you
can do with modifiers in the custom frame window
2015-11-23 09:19:47 -05:00
Collin Kidder 79fc69040d Wrote documentation for the custom sender window. Added a graph for this
new documentation.
2015-11-23 09:19:47 -05:00
Collin Kidder 37df633264 Added to the documentation for the project. There are a bunch of
pictures to be used in the documentation. An initial draft of the docs
for the main screen has been completed.
2015-11-23 09:19:46 -05:00
Collin Kidder d94f56c51c Added skeleton files for help documentation 2015-11-23 09:19:46 -05:00
Collin Kidder d0cf69f54f Added several example files. Every frame capture format has an
example. All examples are exactly the same data. It is a small capture
from a Tesla Model S. Also, there is a sample DBC file which is actually
a real DBC file that has data on the EVTV BMS and Coda UQM motor
controller.
2015-11-23 09:19:46 -05:00
Collin Kidder a6695a0bf7 Fixed a precision bug that caused signed 32 bit integers to not work
properly.
2015-11-22 11:33:58 -05:00
Collin Kidder 1300ca6457 Fix up some faulty variable definitions and clarify others. 2015-11-22 10:27:17 -05:00
Collin Kidder 63c526cb1f Skeleton for touch screen handling 2015-11-03 19:19:35 -05:00
Collin Kidder 0d5c370bc4 Added more control options to graphing window, updated version number
The graphing window now can be zoomed via the context menu or with the
+ and - keys. Also, you can reset to a "good" view of all the graphs
from the context menu.
2015-10-29 22:32:27 -04:00
Collin Kidder 4dc8c5b434 Initial commit where connection window is active and it is possible to
connect to GVRET but this time through the connection window and the
menu option "Connect".
2015-10-18 15:34:40 -04:00
Collin Kidder 49f2525320 Add files for a new window for connections (allows for different types
of connections and also makes auto refreshing the port list easier)
2015-10-13 21:38:36 -04:00
Collin Kidder 918ede4e10 Added bitwise not and modulus division to the list of operations you
can do with modifiers in the custom frame window
2015-10-13 21:37:44 -04:00
Collin Kidder 3a8d5c16d0 Wrote documentation for the custom sender window. Added a graph for this
new documentation.
2015-09-27 23:22:33 -04:00
Collin Kidder 76077e48b0 Added to the documentation for the project. There are a bunch of
pictures to be used in the documentation. An initial draft of the docs
for the main screen has been completed.
2015-09-26 22:30:21 -04:00
Collin Kidder 5618228692 Added skeleton files for help documentation 2015-09-24 22:30:33 -04:00
Collin Kidder d29dc9c24e Added several example files. Every frame capture format has an
example. All examples are exactly the same data. It is a small capture
from a Tesla Model S. Also, there is a sample DBC file which is actually
a real DBC file that has data on the EVTV BMS and Coda UQM motor
controller.
2015-09-24 19:34:43 -04:00
Collin Kidder 10843504bd Merge pull request #29 from collin80/WIP
Merge WIP into master
2015-09-23 21:35:20 -04:00
Collin Kidder 239aad1feb Fix a bug where a faulty DBC file could crash the DBC editor 2015-09-23 21:31:02 -04:00
Collin Kidder 183a70310c Fix extra comma in spreadsheet output 2015-09-17 20:35:05 -04:00
Collin Kidder c981659590 Fixed errors in spreadsheet calcs and added a header 2015-09-17 20:14:03 -04:00
Collin Kidder 705a7802d7 More implementation of the spreadsheet output. 2015-09-17 19:27:38 -04:00
Collin Kidder 89ca64e301 Initial simple implemention of an idea to turn graphs into spreadsheets that are nicely formatted. 2015-09-16 22:35:32 -04:00
Collin Kidder 97de959783 Fixed issues with phantom records when filtering the main frame display. Updated version number and required GVRET version since GVRET has had some important fixes recently. 2015-09-14 20:47:05 -04:00
Collin Kidder e0db7e83fd Added a trigger ability to flowview. The playback will stop automatically if a trigger value is found. This allows for moving quickly through the data looking for a given value. Also change the hotkeys to R,T,Y because they aren't really needed for anything else on the form. 2015-09-13 19:37:28 -04:00
Collin Kidder 4177b8524b Support for keyboard based control of FlowView (Q,W,E) 2015-09-13 17:51:34 -04:00
Collin Kidder b80b6f1234 Minor formatting changes, fixed a bug in comm initialization. 2015-09-10 21:35:46 -04:00
Collin Kidder 1b1c150618 Merge branch 'master' of github.com:collin80/SavvyCAN
Conflicts:
	SavvyCAN.pro
	mainwindow.cpp
	mainwindow.h
2015-08-28 11:37:44 -04:00
Collin Kidder f36ba338f1 Added a firmware uploader that can be used to upload firmware to supported cortex M3 boards (gvret, gevcu, evtvbms, etc) - Not tested to properly work yet but it does operate. Use at your own risk! 2015-08-28 11:31:15 -04:00
Collin Kidder 7c6eb8f4f9 Fixed a bug where the last entry in a value table was not loaded. 2015-08-27 21:48:33 -04:00
Collin Kidder 80a8758e16 Beginning of implementation of single/multi-state window. 2015-08-27 21:19:57 -04:00
Collin Kidder ef1689dfe5 Merge branch 'master' of github.com:collin80/SavvyCAN
Merge changes from git to local copy - merge in warning fixes.
2015-08-26 22:22:49 -04:00
Collin Kidder 629ad5ec6c Additional work to clean up warnings and make the code more robust. 2015-08-26 22:22:24 -04:00
Collin Kidder c14c68f2fe Correct math bug in big endian calcs (for dbc) 2015-08-26 18:19:02 -04:00
Collin Kidder 4d498bf0be Made the dbc handler process signals the way that they're supposed to be (cross your fingers). 2015-08-25 21:14:06 -04:00
Collin Kidder b06d6ad9ad Fix a bug where intel and motorola format specifiers were reversed when loading and saving DBC files, fixed the dbc signal editor to properly set and show signals. That was broken too. Version is updated. There are still fixes to do so look for the next commit. 2015-08-25 20:14:00 -04:00
Collin Kidder 9d3608cd90 Allow flowview to work in realtime like many of the other windows can do. 2015-08-25 19:47:25 -04:00
Collin Kidder dd07e1b359 Add the actual bit numbers in gray on the bit grid control. 2015-08-25 19:47:02 -04:00
Collin Kidder 004b430ca7 Added the ability to sync the main window and graph window to the flowview window so that while watching the flow the other two windows stay in sync.
This eats processor power. A lot. You probably won't be able to go much faster than 100ms intervals. It won't have any effect.
2015-08-23 15:54:47 -04:00
Collin Kidder e1eb1f9ab1 The main screen, flowview, and graphing screens are now linked. If you double click a frame on the main window or a graph in flowview or the graphing window the other two windows will update to show that data as well. 2015-08-23 15:45:56 -04:00
Collin Kidder 32c38e2331 Fixed a major bug that caused flow view to be totally broken. 2015-08-19 19:56:22 -04:00
Collin Kidder 23306832ae Fix typo. VisualC++ didn't catch it but Clang in OSX did... 2015-08-18 20:28:58 -04:00
Collin Kidder d298aea249 Fix to no longer default to new graphs being the first DBC signal loaded.
The previous behavior always loaded that first signal and that made graphing custom things more annoying as the signal parameters all had to be deleted first.
2015-08-18 20:07:04 -04:00
Collin Kidder 6c61d3edb9 Belatedly updated the version number, added the ability for the graphing window to graph live data. It will continue to update now as more data comes in. 2015-08-18 19:54:49 -04:00
Collin Kidder 248538e943 Modification of the modifier parsing strategy to allow for a lot more leeway in how you enter the values in. Previously the syntax was *VERY* strict. Now it's easier to get it to accept your modifier strings. 2015-08-17 21:19:12 -04:00
Collin Kidder 7f0c077891 Fixed it up so triggering on frames works too. 2015-08-16 20:15:18 -04:00
Collin Kidder 3f5d8b6159 Much work on custom frame sender window. It is reasonably functional now and tested for timed sending 2015-08-16 20:00:35 -04:00
Collin Kidder 3ec7638e7b A bunch of little tweaks to remove compile-time warnings. Just convenience really. 2015-08-13 21:00:34 -04:00
Collin Kidder c4c0079675 Fix to add proper file extension when saving even if OS does not automatically add it for us. 2015-08-12 20:49:31 -04:00
Collin Kidder 07de662532 Updated the entire program to work in either hex or decimal. Changing the mode in settings will change which is used in many places.
You can always still enter values in decimal, hex, or binary regardless of the mode you are in.
2015-08-12 20:18:33 -04:00
Collin Kidder b5a5f3af30 Fix to allow DBC derived graphs to properly be signed if the signal was signed. 2015-08-09 22:33:10 -04:00
Collin Kidder 7b2f36aea3 Fix to allow proper setting of the graph name (editing within the new graph window too!) 2015-08-09 19:51:48 -04:00
Collin Kidder b3d0b76cc6 Add busy indicating progressbar to the rest of the long file loading operations. 2015-08-09 19:40:23 -04:00