-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Changed : renamed to NewNodeProcessor for consistency with type * Refactored : continue changes to remove logrus Changed : removed MainCallback for now * Refactored : add slog to fileobject * Changed : removed logrus from http gateway & added slog Changed : minor coherence refactor for naming * Fixed : error in gateway example, should now work + slog * Changed : removed logrus from CAN drivers, replaced by slog * Changed : removed logrus from SDO client * Fixed : forgot to add logger to virtual can * Removed : logrus in commented server test http * Changed : bus manager doesn't use logrus Changed : .gitignore remove created file during testing Changed : removed last references to logrus & run log tidy * Removed : no more timerNext ==> unused Changed : regrouped TPDOs, RPDOs in one function call * Added : new SDO function calls for local node (ReadUint8,...ReadInt8,...ReadFloat32) Added : od decode to exact type Changed : new functions ReadAny,ReadAnyExact and WriteAny which replace Read & Write. Some further simplifications in the functions * Tests : added a test for big block sdo download. This test should fail because of a bug in server * Fixed : write out buffer at the end of each sub-block, this fixes issue where we would not empty out buffer in case of fast transfers Fixed : remove raw casting as server could panic, particularly if an unexpected error occurs during io.Copy * Fixed : increase size of buffer to avoid never emptying buffer on block transfer write * Fixed : block transfer test was wrong because used expedited and not block transfer. Added a big & small block download * Fixed : also fix write / read block and rename test * Format : improve formatting * Tests : adding parametrized tests to improve test coverage * Fixed : clear extra error info on new SDO transfer * Fixed : issue in block upload retransmit : an incorrect amount of data would get CRC not calculated, causing issues in CRC Fixed : issue in the number of data read because of wrong usage of bytes.Available() Changed : readObjectDictionary takes a countExact argument to read exactly a given amount of bytes from OD * Refactored : renamed 'server' to s for simplicity & consistency * Fixed : sdo block test should work properly, also increased speed by changing client processing period * Fixed : failing TPDO test because using ReadUint8 instead of ReadInt8 --------- Co-authored-by: Samuel Lee <[email protected]>
- Loading branch information
1 parent
b08c01b
commit 7a3e913
Showing
20 changed files
with
578 additions
and
331 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.