Commit Graph
100 Commits
Author SHA1 Message Date
Collin Kidder a3a2186357 Fix crash when loading grid in custom sender. Fix a few other issues while working on that form. 2017-12-14 19:43:38 -05:00
Collin Kidder f7f9096a72 Add 0x prefix to some more fields on UDS Scanner Window. Fix ability to use 4 subfunction bytes 2017-12-14 18:42:40 -05:00
Collin Kidder f4474badc5 Added ability to change the font size.
It mostly works. It's a little wonky sometimes but it will mostly change all fonts in the application to the size you set.
2017-12-10 20:02:11 -05:00
Collin Kidder d25c01ed1a Allow saving the column widths on the main screen and restoring them on next execution of the program.
This will happen if you have the prefs setting for saving window sizes and positions checked.
2017-12-10 19:25:50 -05:00
Collin Kidder 60242ece70 Small fix to ensure that settings are saved to their default values when you first run the program. 2017-12-10 19:18:15 -05:00
Collin Kidder 842f5fe0bc Add ASCII representation to main window 2017-12-10 17:11:39 -05:00
Collin Kidder 9859c586bd Add some scripting examples 2017-12-10 11:15:58 -05:00
Collin Kidder a31d56ce2f Add integrated help to DBC windows as well - they were forgotten in last commit
Increment version too to show that progress has been made.
2017-11-30 21:22:56 -05:00
Collin Kidder 9302c18c33 Integrated help into the system. Most all the sub-screens that are actually complete
and working have integrated help now. Press F1 to bring up help for a given window.
2017-11-30 21:02:16 -05:00
Collin Kidder 3d5c4c55c6 Fix source formatting 2017-11-29 20:28:43 -05:00
Collin Kidder c90d15b5bb More documentation (should complete the whole batch) 2017-11-29 20:24:29 -05:00
Collin Kidder 7997ebc966 More documentation has been filled out. 2017-11-27 21:49:17 -05:00
Collin Kidder 0b2176dea7 Added a lot more documentation for SavvyCAN.
It isn't yet integrated into the program but if you're nosy you can look at the files themselves
to get information on how to use SavvyCAN.
2017-11-26 22:25:02 -05:00
Collin Kidder dd5ff6e136 Add missing images for help file. 2017-11-26 17:00:17 -05:00
Collin Kidder d02ac7701f Merge branch 'master' of github.com:collin80/SavvyCAN into WIP 2017-11-26 16:48:14 -05:00
Collin Kidder 0ce41ecac1 Saved new screenshots for help file, modified some help files to reflect current version of the program. 2017-11-26 16:47:21 -05:00
Collin Kidder 8cbea00c4c Remove DBC related status bar message since functionality is handled in a separate window now and that status indicator was stale and unused. 2017-11-26 16:41:44 -05:00
Collin Kidder c819459d19 Significant changes to GVRET code to make debugging easier and to make code more robust. 2017-11-26 16:41:10 -05:00
Collin Kidder 923a4c8753 Update config.h to increment version number 2017-11-26 16:34:42 -05:00
Collin Kidder 3b9c793e99 Make CAN id's either be 3 hex digits or 8 hex digits when displayed - depending on whether a frame uses standard or extended id mode. 2017-11-26 16:30:48 -05:00
Collin Kidder 1635e0ae44 Merge pull request #112 from andre-hartmann/fix-auto-scroll
FramesView: Fix auto scrolling when frame capturing is suspended
2017-11-26 15:34:11 -05:00
Collin Kidder 6b849f54be Merge pull request #113 from andre-hartmann/improve-switch
Improve switch statements with enums and cleaned up a bit
2017-11-26 15:33:38 -05:00
Collin Kidder d93c58725c Merge pull request #109 from andre-hartmann/serialbus-cleanup
Serialbus and general cleanup
2017-11-25 19:49:52 -05:00
Collin Kidder 61443022a7 Merge branch 'master' of github.com:collin80/SavvyCAN into WIP 2017-11-21 19:52:41 -05:00
Collin Kidder 2db2594462 Merge pull request #108 from annerajb/master
add candump/kayak save support
2017-11-21 09:09:16 -05:00
Collin Kidder 1ea9ea4fac Add fault handling code mostly used to detect when the serial port disappears while a GVRET style device is connected. Beginnings of code to add a reconnect button. 2017-11-20 22:07:13 -05:00
Collin Kidder 214f5defd8 Fix a compiling bug on windows (was a bug everywhere but only fatal on windows) 2017-11-10 01:23:15 -05:00
Collin Kidder bba425d4d2 Merge pull request #106 from collin80/WIP
Merge WIP (again...)
2017-11-09 20:15:04 -05:00
Collin Kidder 6ef26de4f7 Update requested GVRET version to 343 which is where stable support
for M2 and CANDue2.2 are found.
2017-11-09 20:13:47 -05:00
Collin Kidder 5d85635cfd Merge pull request #105 from collin80/WIP
Merge Wip Changes into Master
2017-11-09 20:12:25 -05:00
Collin Kidder c398856806 Small fix to make unconnected devices still show up properly in the connection window 2017-11-09 20:07:00 -05:00
Collin Kidder 545f258b8e Make sent frames have a timestamp resolution of microseconds just like incoming frames. Previously sent frame
time stamps were rounded to the nearest millisecond.

Note, however, that this time stamp is when we first tried to send the frame to hardware,
not when the hardware sent the frame. That will probably be later on but there's no way
to know for sure if/when it will send the frame.
2017-11-08 21:20:17 -05:00
Collin Kidder ed2cd7bd8c Reimplemented the ability to chain multiple log files and run them in sequences. 2017-11-08 21:09:20 -05:00
Collin Kidder 3bf19fdbc4 Moved a lot of the frame playback window functionality to a new class. This allows the functionality to be run
on a separate thread. The performance is a lot better and "use original timing" is now reasonably accurate.
2017-11-08 20:38:19 -05:00
Collin Kidder 10738396c2 Merge branch 'master' of github.com:collin80/SavvyCAN into WIP 2017-11-04 22:11:10 -04:00
Collin Kidder da5fba0460 Merge pull request #103 from FabianInostroza/master
Fix DBC handler and DBCFile. Initialize as j1939 to false by default.
2017-11-04 21:16:50 -04:00
Collin Kidder 8c77e1c7ce Merge branch 'master' of github.com:collin80/SavvyCAN 2017-10-26 21:27:54 -04:00
Collin Kidder f51b48c907 Add a Leaf DBC file to examples 2017-10-26 21:27:32 -04:00
Collin Kidder b8fbfce6c7 Merge pull request #101 from Semant1ka/sort_col
Add sorting after table header click for main and isotp windows
2017-10-26 21:18:39 -04:00
Collin Kidder 9c9ab1933b Add mode to playback window to it to approximate the original frame
timings from the file/capture.
2017-10-24 21:27:55 -04:00
Collin Kidder 45692d3ad5 Merge branch 'master' of github.com:collin80/SavvyCAN 2017-10-24 18:28:52 -04:00
Collin Kidder c59038410e Add Think City DBC file as another example 2017-10-24 18:28:15 -04:00
Collin Kidder 84f9a5083d Fix sending bug in UDS code 2017-10-24 18:27:35 -04:00
Collin Kidder bc4e823d3d CAN Connection Window mostly done now. 2017-10-23 19:45:08 -04:00
Collin Kidder 0519e2d2c9 More work on supporting swcan - it's there now! Untested as of yet. 2017-10-22 20:42:02 -04:00
Collin Kidder ac976643f4 Further work to get more buses working on the GVRET/M2RET devices 2017-10-22 20:15:18 -04:00
Collin Kidder 62c70374ab Merge pull request #100 from collin80/master
Bring in J1939 additions from FabianInostroza
2017-10-22 16:39:18 -04:00
Collin Kidder 2801851313 Merge pull request #99 from FabianInostroza/j1939dbc
Manage J1939 databases
2017-10-22 16:37:21 -04:00
Collin Kidder 9e85925782 Merge branch 'master' of github.com:collin80/SavvyCAN 2017-10-19 08:59:06 -04:00
Collin Kidder 383ee8fe19 Big changes to connection window to make it more intuitive. Also
brings window closer to supporting M2RET devices better.
2017-10-18 21:48:13 -04:00
Collin Kidder bb3fee1a12 Slight change to description of P2 in UDS decoder. 2017-10-18 21:47:47 -04:00
Collin Kidder 39d0173d64 Merge pull request #97 from adamvoss/patch-1
Provide a link pertaining to downloading Qt
2017-10-18 19:25:29 -04:00
Collin Kidder 58df4d8e15 Merge pull request #94 from FabianInostroza/master
Fix port widget height in connection window.
2017-10-15 20:50:41 -04:00
Collin Kidder 7e29ebb7fc Merge pull request #96 from Semant1ka/add_ext_addr
Add extended addressing to iso tp window
2017-10-15 14:44:49 -04:00
Collin Kidder 98b0b1d1c9 More implementation in the ISOTP/UDS decoder (well, all UDS decoding
changes in this commit)
2017-10-12 21:47:27 -04:00
Collin Kidder 03776b6ad7 Some bug fixes, much more work on ISOTP/UDS decoder window. 2017-10-12 20:09:22 -04:00
Collin Kidder cee299b552 Many changes to improve UDS decoding. 2017-10-11 22:19:38 -04:00
Collin Kidder 0f9584eaea Fixed ISOTP Interpreter Window - It functions again.
Also added UDS decoding to the ISOTP window. An attempt is made to see
if a frame looks like UDS and then it is decoded.

Also, some code clean up to remove some compiler warnings. There's a
LONG way to go still.
2017-10-09 20:59:25 -04:00
Collin Kidder fdc9da0983 Fixed TAB order for all forms.
Some of them had odd ordering that was kind of annoying.
2017-10-08 19:56:19 -04:00
Collin Kidder 9be4838618 Added "continuous logging" functionality.
This is useful if you're having stability troubles and/or are worried
about crashes. With traditional logging you can lose your capture if
the program, CAN adapter, or computer crash before you've saved. With
continuous logging the file is flushed to disk every couple of seconds
so you won't lose more than a few seconds of log even during a crash.
2017-10-07 22:15:21 -04:00
Collin Kidder 316ecedc13 Merge branch 'master' of github.com:collin80/SavvyCAN 2017-10-04 21:08:51 -04:00
Collin Kidder afad7d42a5 Fixes to Frame Data Analysis Window to make it work more reliably when
user is loading different files.
2017-10-04 21:07:52 -04:00
Collin Kidder b7888765a2 Changed scripting window font to be more legible. Fixed a bug that caused CAN reception errors in scripting system. 2017-09-14 13:09:21 -04:00
Collin Kidder 5351dfc61b Merge pull request #90 from adamvoss/fixReadme
Fix readme formatting
2017-09-04 21:03:06 -04:00
Collin Kidder 74cbcded53 Fix some bugs in script system when using multiple scripts 2017-09-03 21:13:12 -04:00
Collin Kidder 8b3a22ccb0 Add ability to set script parameters that can be changed and monitored
in realtime from SavvyCAN.
2017-09-03 16:46:43 -04:00
Collin Kidder 08752f7d6f Merge branch 'master' of github.com:collin80/SavvyCAN 2017-09-03 13:47:47 -04:00
Collin Kidder 9f64eabd9f Add openGL mode to flowview, add histogram graphing to frame info
window (also openGL accelerated if you choose)
2017-09-03 13:46:02 -04:00
Collin Kidder 5be89f8075 Merge pull request #92 from andre-hartmann/socketcan-improvements
Socketcan improvements
2017-09-03 07:58:08 -04:00
Collin Kidder 1c638896e4 Add ability to revert and delete scripts. Fixes to scripting
interface. Update version number

Multi-script execution works pretty well now.
2017-08-31 21:06:52 -04:00
Collin Kidder 4b61ea2c00 Various changes to support use and loading of multiple scripts in the
scripting system.
2017-08-31 20:33:27 -04:00
Collin Kidder 290af20e62 Fix graphing of realtime data (previously an error caused only last
graph to update).
2017-08-30 21:30:00 -04:00
Collin Kidder cbc6115ec4 Make OpenGL graphing mode a setting so you can turn it on/off, sped up
realtime graphing in Graphing Window.

OpenGL mode is pretty and you'll like it if you have a good video
card. But, don't enable it if you do a lot of complex graphing and
you have a crappy built-in Intel or AMD graphics card - your
performance will suffer. Otherwise, if you have a nice card enable it
for a nice graphical boost and maybe a little more speed.
2017-08-30 20:55:33 -04:00
Collin Kidder df804fa15e Merge branch 'master' of github.com:collin80/SavvyCAN 2017-08-29 19:41:30 -04:00
Collin Kidder be96dd8dfa Merged a few changes from QCustomPlot's GIT repo that haven't made it
to a release yet. Turned off OpenGL as it has troubles on some machines.
2017-08-29 19:40:35 -04:00
Collin Kidder d875fd1941 Merge branch 'master' of github.com:collin80/SavvyCAN 2017-08-25 12:54:19 -04:00
Collin Kidder f6119acc99 Fix an issue with selecting graphs via the legend in the upper corner. 2017-08-25 12:53:59 -04:00
Collin Kidder 29c0798cd5 Fix compiling on Windows 2017-08-25 12:53:10 -04:00
Collin Kidder bfd0439a69 Fixed bugs related to scripting and UDS, implemented more scripting
functionality for ISOTP and UDS
2017-08-23 21:51:28 -04:00
Collin Kidder 7550d04705 Graph Window - fix graph stride, actually works now, added follow mode
Follow mode allows you to set a window size and then have the window
follow as data comes in. This is handy in order to see a realtime
graph of the last "N" seconds of data coming from the CAN bus.
2017-08-23 21:05:39 -04:00
Collin Kidder 162d79fbe9 Lots of large changes to scripting support, changes to the way
filtering works with ISOTP/UDS messages, updated version number.
2017-08-22 21:42:30 -04:00
Collin Kidder 6ef5757a4d Additional functionality for scripting interface.
In progress but raw CAN works now.
2017-08-22 20:03:58 -04:00
Collin Kidder 7c3fef54f9 Changed the way adding/removing targetted frames works. It's simpler
now.
2017-08-22 20:03:06 -04:00
Collin Kidder fc95e3dbea Make main CAN frames list scroll by pixel instead of by item
This small change causes the main window to scroll a lot more smoothly
if you've got a lot of interpreted frames and you've expanded them.
Otherwise scrolling was not a fun time.
2017-08-21 21:02:48 -04:00
Collin Kidder d96456414a Updated version number reported 2017-08-21 20:37:31 -04:00
Collin Kidder a109b7b22c Made connection window store window size/position. Tweaked teardown
code.
2017-08-21 20:29:08 -04:00
Collin Kidder d869b6a126 Switch ISOTP and UDS handlers to no longer be static.
Now each can be instantiated multiple times with each instance handling
a different ISOTP or UDS stream. This should streamline some upcoming
code
2017-08-20 21:34:05 -04:00
Collin Kidder 0fd4ca9b3f Changed frames per second display to work better in overwrite mode 2017-08-20 18:22:50 -04:00
Collin Kidder 4b73cb2e26 Fixes to UDS related code 2017-08-20 18:22:10 -04:00
Collin Kidder 0ab6fdd411 Fixes to allow New Graph Window to pick up DBC changes while the
program is running - also allow it to use more than one DBC file
2017-08-17 20:10:43 -04:00
Collin Kidder 964ad01498 Fixed compile errors in motor config window. But, it's broken anyway 2017-08-17 20:10:03 -04:00
Collin Kidder 670fd56869 Comment out some qDebug messages because they caused too much traffic
and weren't really that useful in general
2017-08-17 20:09:22 -04:00
Collin Kidder fb634fe9b5 A few bug fixes 2017-08-13 20:27:15 -04:00
Collin Kidder 0b7a3d7c18 Updated readme to cover the lack of dependencies and the need for a
fairly up-to-date QT.
2017-08-13 20:05:55 -04:00
Collin Kidder 5936c79906 Merge branch 'master' of github.com:collin80/SavvyCAN 2017-08-13 18:01:39 -04:00
Collin Kidder 280a3e11d7 Fixes to Flowview and Graphing windows to make them work with new
QCustomPlot version
2017-08-13 18:01:05 -04:00
Collin Kidder c05bd2c043 Added flow control and other functionality to UDS / ISO_TP code. 2017-08-13 17:03:11 -04:00
Collin Kidder cfbd9237b4 A bit more work on motor controller config window 2017-08-11 14:54:18 -04:00
Collin Kidder 5b3eef1cf3 Changed motor controller config window to target Rinehart Motion controllers instead of my custom controller.
Yes, I still need to move it into dynamic library and out of the main program.
2017-08-11 13:52:40 -04:00
Collin Kidder 83399ed0a7 Switched to newest version of qcustomplot. 2017-08-06 21:25:17 -04:00