Re: (no subject)
khushali modi <[email protected]>
| Newsgroups | gmane.games.torcs.general |
|---|---|
| Message-ID | <CAA7eKn5jCbabbEAf1V1uy=c1WKXk5oiJfm0qrSbM+d-YVUR+Wg@mail.gmail.com> |
Thanks Bernhard!! Your response is quite effective that I got the Idea how I can do this task, but I don't know about the HID drivers. I am totally new to it. Can you tell me about it in some detail so that I can understand it? And why it is needed to be used? Can't the torcs take the inputs without "hid" driver implementation? Can't I use Emotiv API's to give the input to the torcs? On Wed, Sep 25, 2013 at 2:02 PM, Bernhard Wymann <[email protected]> wrote: > Hi > > The most important thing is to use a development environment which can > list/follow references and has a good debugger, I use under Windows (I > guess you are under Windows because of the "26" projects) VS2008 with > "Virtual Assist X" to navigate code faster, maybe VS2010 or later can do > this equally good, I do not know. Under Linux I use usually an editor or > IDE which supports "ctags" or a similar technology. > > For your case I recommend the following: > - Read the TORCS FAQ, the researchers section (ReOneStep), have a look at > the simulation timestep > - Have a look at the file human.cpp, this is the "driver" which is driven > by user input. > - Have a look at the input setup, files are in src/libs/confscreens, I > guess this is in the "client" project IIRC > - Build a debug version, set breakpoints and inspect the callstack > - You can generate some documents under Linux with "make doc", an old > version is available here: http://www.berniw.org/aboutme/** > publications/api.tar.bz2<http://www.berniw.org/aboutme/publications/api.tar.bz2> > > Your project sounds interesting, please post a link to the result then (if > public available). > > Depending on your architecture you will not need to modify TORCS at all, > e.g. you could consider writing a "hid" driver for your input device (you > will need the Microsoft Driver Development Kit/SDK, but Universities have > those things usually available), so it would appear to TORCS as any other > input device, then you could use your interface as well for any sort of > application (other racing games, jump and run, whatever...). > > Best regards > > Bernhard > > > On 09/25/2013 07:05 AM, khushali modi wrote: > >> Hello All >> >> I am working in torcs for my final B.Tech Project. I am using the emotiv >> neuroheadset to drive the car using our mind. Actually, I need to make >> emotiv to be able to communicate with torcs. Emotiv will send the data >> to torcs to drive the car. I need the documentation of source code to >> understand all the 26 projects and to understand how the torcs works. I >> am getting lost whenever I read the code to understand it. Can you >> suggest me how can I do it? >> >> -- >> Khushali modi >> B. Tech. 3rd Year CSE >> IIT Mandi >> >> >> ------------------------------**------------------------------** >> ------------------ >> October Webinars: Code for Performance >> Free Intel webinars can help you accelerate application performance. >> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most >> from >> the latest Intel processors and coprocessors. See abstracts and register > >> http://pubads.g.doubleclick.**net/gampad/clk?id=60133471&iu=** >> /4140/ostg.clktrk<http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk> >> >> >> >> ______________________________**_________________ >> Torcs-users mailing list >> [email protected].**net <[email protected]> >> https://lists.sourceforge.net/**lists/listinfo/torcs-users<https://lists.sourceforge.net/lists/listinfo/torcs-users> >> >> > -- Khushali modi B. Tech. 3rd Year CSE IIT Mandi ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk _______________________________________________ Torcs-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/torcs-users