Re: Disable fuel consumption

Bernhard Wymann <[email protected]> Sat, 24 Jun 2017 08:43:43 +0200
Newsgroups gmane.games.torcs.general
Organization wytec
Message-ID <[email protected]>
Hi Mike

Since TORCS 1.3.6 you can configure it directly in the racemanager xml 
(e.g. practice.xml for the practise sessions). Have a look at

http://torcs.cvs.sourceforge.net/viewvc/torcs/torcs/torcs/src/raceman/practice.xml?revision=1.7.2.5&view=markup&pathrev=r1-3-1

line 54,

<attnum name="fuel consumption factor" min="0.0" max="5.0" val="1.0"/>

Just use val="0" here.

Kind regards

Bernhard

On 23.06.2017 19:24, Mike Lorang via Torcs-users wrote:
> Hi,
> 
> I want to train my PID controllers in the torcs simulation with an 
> evolutionary algorithm.
> Thus I want the fuel to be always the same, hence disable fuel consumption.
> I would be glad, if anyone could give me a hint of a solution.
> 
> Best Regards,
> Mike
> 
> 
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> 
> 
> 
> _______________________________________________
> Torcs-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/torcs-users
> 


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot