how to add dynamic obstacles to TORCS?
Nicola Catenacci <[email protected]> Wed, 22 Aug 2018 01:59:07 +0100
| Newsgroups | gmane.games.torcs.general |
|---|---|
| Message-ID | <CAD3Jz2eLU3=10LGF96C0+G27zbb_JrTLgGRUnY3q-emK2Go9AA@mail.gmail.com> |
--===============3155447552871835252== Content-Type: multipart/alternative; boundary="00000000000054cf490573fba655" --00000000000054cf490573fba655 Content-Type: text/plain; charset="UTF-8" Hello everyone, I was wondering, what is the easiest way to add dynamics obstacles to TORCS? I would like to test the collision avoidance algorithm of my robot for obstacles which have positions given directly by me (bypassing the TORCS physical engine for what concerns their positions, but not for the possible collisions with these objects) In other words, let's assume that I have a given trajectory (made of a sequence of given positions|). Is there a way to add to a track a 3D obstacle that will follow this given trajectory? Alternatively, is there a way to make an opponent car follow directly such given trajectory? I mean, INSTEAD OF controlling its positions along time with the code of a robot that will apply certain values to the actuators, which then will change its positions accordingly (constraining its consequent trajectory by the physics of the car simulated by the TORCS physical engine). Please let me know... Thank you for your attention, Nicola. --00000000000054cf490573fba655 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Hello everyone,<div><br></div><div>I was wondering, what i= s the easiest way to add dynamics obstacles to TORCS?=C2=A0</div><div>I wou= ld like to test the collision avoidance algorithm of my robot for obstacles= which have positions given directly by me (bypassing the TORCS physical en= gine for what concerns their positions, but not for the possible collisions= with these objects)</div><div><br></div><div>In other words, let's ass= ume that I have a given trajectory (made of a sequence of given positions|)= . Is there a way to add to a track a 3D obstacle that will follow this give= n trajectory?=C2=A0</div><div>Alternatively, is there a way to make an oppo= nent car follow directly such given trajectory? I mean, INSTEAD OF controll= ing its positions along time with the code of a robot that will apply certa= in values to the actuators, which then will change its positions accordingl= y (constraining its consequent trajectory by the physics of the car simulat= ed by the TORCS physical engine).</div><div><br></div><div><br></div><div>P= lease let me know...</div><div><br></div><div><br></div><div>Thank you for = your attention,</div><div>Nicola.</div><div><br></div><div><br></div></div> --00000000000054cf490573fba655-- --===============3155447552871835252== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot --===============3155447552871835252== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Torcs-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/torcs-users --===============3155447552871835252==--