Skip to content

Update to dbc_to_h, updates to remove warnings#52

Merged
feistjo merged 1 commit intofeistjo:mainfrom
NavierBoat:main
Jul 14, 2023
Merged

Update to dbc_to_h, updates to remove warnings#52
feistjo merged 1 commit intofeistjo:mainfrom
NavierBoat:main

Conversation

@feistjo
Copy link
Copy Markdown
Owner

@feistjo feistjo commented Jul 14, 2023

No description provided.

@feistjo feistjo merged commit bdb50f4 into feistjo:main Jul 14, 2023
feistjo added a commit to NU-Formula-Racing/CAN that referenced this pull request Oct 13, 2023
* Added license

* Added 'MIT License' text

* Made CANSignal SignalType atomic, fixed resulting errors

* Handle enums in dbc_to_h

* Added MockCAN, implemented multiplexed CAN messages

* Improved compatibility of multiplexed messages

* Updated dbc to h with multiplexed messages

* Update to dbc_to_h, updates to remove warnings (feistjo#52)

Co-authored-by: Joshua Feist <[email protected]>

* Fix missing float cast (feistjo#53)

* Update to dbc_to_h, updates to remove warnings

* Fixed missing float cast

---------

Co-authored-by: Joshua Feist <[email protected]>

* Updates to dbc_to_h and multiplexed CAN (feistjo#54)

* Fixed some missing overrides

* Made multiplexor index a size_t

* Added data type estimation to dbc_to_h, updated can_interface.h to work with non-multiplexed signals in multiplexed messages

* updated dbc_to_h to automatically fill transmit periods

* Added missing static_cast to get rid of warnings

---------

Co-authored-by: Joshua Feist <[email protected]>

* Made time getters const (feistjo#55)

Co-authored-by: Joshua Feist <[email protected]>

* Significant  updates, including TWAI ESP driver and ESP updates over CAN (feistjo#57)

* Update dbc_to_h for better compatibility

* Work on improving multiplexed message transmitting

* Fixed some issues with multiplexed messages

* Initial switch to twai driver

* Fixed a couple bugs, tested and working twai

* Added check to not send message when twai bus state isn't running

* Made atomic work for uint64_t with freertos, updated multiplexed message handling

* Preliminary support for PGNs

* Added operator definitions for assigning and comparing CAN signals of the same type without having to cast to SignalType

* PGN support needs testing

* Marked functions as override

* Static cast to fix a couple warnings

* Support esp32 updates over CAN (#3)

* Added support for uploading firmware to  ESP32 over CAN

* Updated for better compatibility with other projects

* Cleanup update code, fix timeout/abort, properly close SocketCan on close

* Made else if

---------

Co-authored-by: Joshua Feist <[email protected]>

---------

Co-authored-by: Joshua Feist <[email protected]>

* Fixed test for new MultiplexedCANTXMessage template

* Put examples in library

* Added check to print if missed RX messages due to full queue for ESP, added comments to clarify differences between types of CAN Messages

* Added comments

* Fixed failing unit tests, added comment explaining long ternary and commented code block

---------

Co-authored-by: Joshua Feist <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant