doubt with computed attributes

hello greetings, I have a question With the calculated attributes of how they should be configured, for example, if I want to calculate the fuel consumed by the distance traveled, is it possible to do so?

Thank you

Anton Tananaeva year ago

Yes, please read the documentation:

https://www.traccar.org/computed-attributes/

If I read it from top to bottom and I can't find it, I must configure

Could you give me an example? This expression would be functional in theory.

Fuel Consumed = Distance / Fuel Efficiency

Description text

Anton Tananaeva year ago

I would use something like this:

totalDistance * 0.0001

Where 0.0001 is the fuel consumption per meter distance.