System stability and changing gears in TORCS.
James Ihrig <[email protected]> Fri, 23 Nov 2012 23:35:16 -0500
| Newsgroups | gmane.games.torcs.devel |
|---|---|
| Message-ID | <CAKQyFNe9sQ-=65UG_y_4avCv7Zy2yLKoJMTaayqnToxQZRa=Ww@mail.gmail.com> |
--===============8618557504205096236==
Content-Type: multipart/alternative; boundary=f46d044280f81bb94204cf363a60
--f46d044280f81bb94204cf363a60
Content-Type: text/plain; charset=ISO-8859-1
Greetings,
I've been running Torcs-1.3.3 and have had a couple problems. First, when
running my bot at a faster speed than real-time, my bot will sometimes
float straight up, then off to the side of the track and the race will end.
(This issue seems like a bug, but I'm reluctant to say so since I've
modified the TORCS code.) Second, I am having trouble with shifting.
I have noticed this code in other bots:
http://codepad.org/bwc5LY4q
I have tried to copy/paste this into my drive() fuction (from other drivers
code) but all I see is the gear bouncing between 1st and 2nd gear, so I
feel I must be missing something. I didn't understand what the code was
doing so I tried a bunch of variations with _gear and _gearCmd and and even
tried manipulating the clutch. Is there any documentation on how gear
changing is supposed to work?
I have tried upgrading to TORCS-1.3.4 to see if my issue with the bot
leaving the course would be fixed, but it crashes once I select a track
when configuring the race. (It seems to be crashing sometime after the
constructor is called for my bot, but before any other function in that
class.) Is there anything I need to know to move my bot to the newer
version?
Any advice on any of the issues I currently have would be appreciated.
Thank you,
James Ihrig
P.S.
The full code I am currently working with is here:
code.google.com/p/aiproj2012/source/checkout
To speed up the race, I have added the following line to the bottom of
ReOneStep() in raceengine.cpp
ReInfo->_reTimeMult = 1.0;
I'd also like to note that none of the links in the FAQ seem to be working
right now.
--f46d044280f81bb94204cf363a60
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Greetings,<br><br>I've been running Torcs-1.3.3 and have had a couple p=
roblems. First, when running my bot at a faster speed than real-time, my bo=
t will sometimes float straight up, then off to the side of the track and t=
he race will end. (This issue seems like a bug, but I'm reluctant to sa=
y so since I've modified the TORCS code.) Second, I am having trouble w=
ith shifting.<br>
<br>I have noticed this code in other bots: <br><a href=3D"http://codepad.o=
rg/bwc5LY4q">http://codepad.org/bwc5LY4q</a><br><br>I have tried to copy/pa=
ste this into my drive() fuction (from other drivers code) but all I see is=
the gear bouncing between 1st and 2nd gear, so I feel I must be missing so=
mething. I didn't understand what the code was doing so I tried a bunch=
of variations with _gear and _gearCmd and and even tried manipulating the =
clutch. Is there any documentation on how gear changing is supposed to work=
?<br>
<br>I have tried upgrading to TORCS-1.3.4 to see if my issue with the bot l=
eaving the course would be fixed, but it crashes once I select a track when=
configuring the race. (It seems to be crashing sometime after the construc=
tor is called for my bot, but before any other function in that class.) Is =
there anything I need to know to move my bot to the newer version?<br>
<br>Any advice on any of the issues I currently have would be appreciated.<=
br><br>Thank you,<br>James Ihrig<br><br>P.S.<br><br>The full code I am curr=
ently working with is here:<br><a href=3D"http://code.google.com/p/aiproj20=
12/source/checkout">code.google.com/p/aiproj2012/source/checkout</a><br>
<br>To speed up the race, I have added the following line to the bottom of =
ReOneStep() in raceengine.cpp<br><br>=A0=A0=A0 ReInfo->_reTimeMult =3D 1=
.0;<br><br>I'd also like to note that none of the links in the FAQ seem=
to be working right now.<br>
<br>
--f46d044280f81bb94204cf363a60--
--===============8618557504205096236==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
--===============8618557504205096236==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Torcs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/torcs-devel
--===============8618557504205096236==--