Ltu-Bike-trailer / control-software

Provides embedded software for controlling the cart.
MIT License
0 stars 0 forks source link

Simple filters #16

Closed ivajon closed 3 weeks ago

ivajon commented 3 weeks ago

This PR aims to implement a simple can message filter.

The implementation is intentionally limited. We only need to have acceptance filters on a few boards, namely the ESC and the battery controller. These only need to accept one or two message types. Thus two buffers is sufficient for now.

Testing

This has not been tested as I have no way of doing so. @wiiggee1 If you have the opportunity to test this, please do.