speeduino
speeduino copied to clipboard
more efficient 3d tables?
there is the possibility of adding more efficient tables. for more powerful hardware? for example 0.1% Or would I have to change the entire 3D table section? for example the can bus option - it is only enabled if the hardware allows it Of course, tuner studio will also have to be modified to accept these tables.
Depends purely on the used hardware the Mega is limited by the flash size while on a Teensy / STM You can do that freely.
This isn't so much a flash size or a processing problem, it's a storage one.
The EEPROM/non-volatile storage on most of these boards is still 4KB and that is fairly limited with the current tunes. Increasing the resolution of a 16x16 table requires an additional 256 bytes per table. It may be feasible to do this on some selected tables (Fuel and/or ignition potentially) but beyond this it would be unlikely without a universal way to add additional storage.
I would appreciate if someone can guide me
Seems like a good way to get feedback on the code documentation :smile:. Start here: https://speeduino.github.io/speeduino-doxygen/group__table__3d.html. Have a read, ask questions on Discord.
If you are just trying to increase the size of the tables, this has been discussed a few times: in code it's doable, but gets complicated in the INI file.
Reading the INI file manual, there is a section on dynamically sized arrays. This may help you: the users chooses their target board in the tune, so you could adjust table sizes based on the chosen board?
(I haven't tested this, just a thought experiment!)
@noisymime Recommend we close this one for the moment.