forked from einride/can-go
-
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.
* Updated Message.Length to uint16 to support message lengths up to 65,535 bytes * Updated Signal.Lenght and Signal.Size to uint16 for payloads larger than 8 bytes * Added payload.go and payload_tests.go * Updated Big and Little Endian encoding methods * Added benchmarks * Added methods and tests to decode signed/unsigned signals in big/little endian * Added benchmarks for UnsignedBitsLittleEndian * Added hex string methods for Payload * Added UnmarshalPhysicalPayload and updated bit-level methods for Payload struct * Added UnmarshalValueDescriptionPayload and associated methods for Payload data struct * Added decode_tests.go * Updated decode test * Added asserts to decode_test.go * Added comparitive unit tests for can.Data and benchmarks for decoding * Updated PackLittleEndian and PackBigEndian to return new big.Int and reference pointer to payload in decode methods * Fixed units in VDM_Disconnect test Co-authored-by: Jason Shiverick <jshiverick@rivian.coml> Co-authored-by: Naveen Venkatesan <nvenkatesan@rivian.com> Co-authored-by: Naveen Venkatesan <naveen.venkatesan@gmail.com>
- Loading branch information
1 parent
85971b3
commit 4e93a88
Showing
14 changed files
with
1,077 additions
and
93 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
Oops, something went wrong.