carla-simulator / carla

Open-source simulator for autonomous driving research.
http://carla.org
MIT License
11.26k stars 3.64k forks source link

How can I get fuel consumption in CARLA #1267

Closed AliBaheri closed 5 years ago

AliBaheri commented 5 years ago

Dear CARLA team, thank for doing great work.

Is there any mechanism to compute the fuel consumption for the car in CARLA? If not, is there any possibility to change the Unreal Editor to compute the fuel consumption? Is there any idea for that?

AliBaheri commented 5 years ago

Any idea for this tread?

mzinic96 commented 5 years ago

I'm also interested in that.

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

qhaas commented 4 years ago

This would be useful for our efforts as well. While a native metric would be most ideal, I can see it being difficult to implement (e.g. how much does hard-braking impact fuel economy, going uphill, etc).

I wonder if it would be possible to use sumo's API to infer it from a CARLA cosimulation.

Aim-ez commented 1 month ago

Has anyone found a way to implement this in CARLA, or with a CARLA-SUMO co-sim? This is a large part of what I was hoping to use CARLA for.