uorocketry / hydra

Hyper Dynamic Rocketry Avionics
GNU General Public License v3.0
5 stars 1 forks source link

Bloated radio and CAN messages #97

Open NoahSprenger opened 8 months ago

NoahSprenger commented 8 months ago

Right now we always assume that a radio message will be 255 bytes and 64 bytes for a CAN message. This should change to optimize our data transmission sizes. Two options: heap allocation (bad) or just switch the message type to decide what the size is. I'm more a fan of not using heap allocation as it can be costly and potentially unsafe.