speeduino icon indicating copy to clipboard operation
speeduino copied to clipboard

more efficient 3d tables?

Open Fera31 opened this issue 1 year ago • 5 comments

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.

Fera31 avatar Nov 13 '23 20:11 Fera31

Depends purely on the used hardware the Mega is limited by the flash size while on a Teensy / STM You can do that freely.

dynfer avatar Nov 13 '23 21:11 dynfer

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.

noisymime avatar Nov 13 '23 21:11 noisymime

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.

adbancroft avatar Dec 24 '23 14:12 adbancroft

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!)

adbancroft avatar Jan 20 '24 15:01 adbancroft

@noisymime Recommend we close this one for the moment.

adbancroft avatar Jan 30 '24 13:01 adbancroft