You can subscribe to this list here.
| 2000 |
Jan
|
Feb
|
Mar
(2) |
Apr
(5) |
May
(8) |
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(4) |
| 2002 |
Jan
|
Feb
|
Mar
(3) |
Apr
|
May
|
Jun
(7) |
Jul
(6) |
Aug
(1) |
Sep
|
Oct
(9) |
Nov
(10) |
Dec
(6) |
| 2003 |
Jan
(3) |
Feb
(8) |
Mar
(2) |
Apr
(47) |
May
(23) |
Jun
(5) |
Jul
(6) |
Aug
(19) |
Sep
(13) |
Oct
(3) |
Nov
(29) |
Dec
(3) |
| 2004 |
Jan
(2) |
Feb
(89) |
Mar
(10) |
Apr
(3) |
May
(17) |
Jun
(6) |
Jul
(12) |
Aug
(25) |
Sep
(20) |
Oct
(28) |
Nov
(23) |
Dec
(9) |
| 2005 |
Jan
(18) |
Feb
(7) |
Mar
(36) |
Apr
(29) |
May
(10) |
Jun
(9) |
Jul
(35) |
Aug
(64) |
Sep
(40) |
Oct
(11) |
Nov
(3) |
Dec
(9) |
| 2006 |
Jan
(12) |
Feb
(13) |
Mar
(7) |
Apr
(10) |
May
(18) |
Jun
(19) |
Jul
(3) |
Aug
(5) |
Sep
(7) |
Oct
(18) |
Nov
(11) |
Dec
(10) |
| 2007 |
Jan
(15) |
Feb
(6) |
Mar
(10) |
Apr
(11) |
May
(10) |
Jun
(18) |
Jul
(10) |
Aug
(18) |
Sep
(31) |
Oct
(21) |
Nov
(13) |
Dec
(2) |
| 2008 |
Jan
(26) |
Feb
(15) |
Mar
(24) |
Apr
(23) |
May
(11) |
Jun
(5) |
Jul
(16) |
Aug
(11) |
Sep
(12) |
Oct
(10) |
Nov
(3) |
Dec
(16) |
| 2009 |
Jan
(18) |
Feb
(3) |
Mar
(3) |
Apr
(15) |
May
(5) |
Jun
(19) |
Jul
(4) |
Aug
(5) |
Sep
(16) |
Oct
(23) |
Nov
(7) |
Dec
(7) |
| 2010 |
Jan
(14) |
Feb
(27) |
Mar
(12) |
Apr
(10) |
May
(2) |
Jun
(8) |
Jul
(6) |
Aug
(3) |
Sep
(6) |
Oct
(4) |
Nov
(3) |
Dec
(1) |
| 2011 |
Jan
(3) |
Feb
(6) |
Mar
(2) |
Apr
(2) |
May
(2) |
Jun
(2) |
Jul
(4) |
Aug
(7) |
Sep
|
Oct
(1) |
Nov
(6) |
Dec
(2) |
| 2012 |
Jan
(3) |
Feb
(1) |
Mar
(6) |
Apr
(14) |
May
|
Jun
(7) |
Jul
(15) |
Aug
(9) |
Sep
(35) |
Oct
(28) |
Nov
(23) |
Dec
(10) |
| 2013 |
Jan
(8) |
Feb
(7) |
Mar
(17) |
Apr
(8) |
May
(17) |
Jun
(14) |
Jul
(3) |
Aug
(2) |
Sep
(22) |
Oct
(18) |
Nov
(31) |
Dec
(15) |
| 2014 |
Jan
|
Feb
(4) |
Mar
(1) |
Apr
(2) |
May
(19) |
Jun
(2) |
Jul
(1) |
Aug
(13) |
Sep
(4) |
Oct
(1) |
Nov
|
Dec
(3) |
| 2015 |
Jan
(8) |
Feb
(2) |
Mar
(4) |
Apr
(23) |
May
(4) |
Jun
(5) |
Jul
|
Aug
(3) |
Sep
(4) |
Oct
(3) |
Nov
(8) |
Dec
(4) |
| 2016 |
Jan
(4) |
Feb
(9) |
Mar
(12) |
Apr
(13) |
May
(5) |
Jun
(4) |
Jul
(1) |
Aug
(8) |
Sep
(3) |
Oct
(15) |
Nov
(10) |
Dec
(3) |
| 2017 |
Jan
(10) |
Feb
(6) |
Mar
(11) |
Apr
(15) |
May
(13) |
Jun
(6) |
Jul
(3) |
Aug
(7) |
Sep
(1) |
Oct
(11) |
Nov
(2) |
Dec
(3) |
| 2018 |
Jan
(4) |
Feb
(1) |
Mar
(1) |
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
(1) |
Sep
(2) |
Oct
(3) |
Nov
(1) |
Dec
(4) |
| 2019 |
Jan
|
Feb
(1) |
Mar
(2) |
Apr
(1) |
May
(1) |
Jun
(2) |
Jul
|
Aug
|
Sep
(1) |
Oct
(3) |
Nov
|
Dec
(1) |
| 2020 |
Jan
|
Feb
(2) |
Mar
|
Apr
(1) |
May
(1) |
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2021 |
Jan
|
Feb
(2) |
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(5) |
Nov
|
Dec
|
| 2023 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2024 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(2) |
| 2025 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
1
(5) |
2
(1) |
3
|
4
(4) |
5
|
|
6
(1) |
7
(1) |
8
|
9
(1) |
10
|
11
|
12
|
|
13
|
14
(1) |
15
|
16
|
17
|
18
|
19
|
|
20
|
21
|
22
|
23
|
24
|
25
(1) |
26
(2) |
|
27
|
28
|
29
|
30
|
31
(1) |
|
|
|
From: David S. <dsa...@te...> - 2013-10-31 22:15:09
|
Hi All, I (3rd spot human) have been racing the Historic 330 P4 Ferrari against (1st) lliaw 6 (car4-trb1) AND (2nd) tita 7 (car5-trb1) on CG Speedway number 1 with the latest patch ... and winning! The experience is very similar to this real video. (not mine) http://www.youtube.com/watch?v=fWg9NXRL__I Sincerely, David Savinkoff ps. Try the patch. Have fun. |
|
From: Bernhard W. <be...@bl...> - 2013-10-26 09:42:29
|
Hi Shashidhar
For me it looks like your TORCS has been compiled/linked to the NVidia
OpenGL library, but during runtime it seems to pick up some mesa parts
(free OpenGL implementation), so I guess your system/account is somehow
not clean set up, e.g. check if you have $LD_LIBRARY_PATH set cumbersome.
Maybe you have compiled/installed TORCS as root, which might not have
the same environment configuration, or you have a mixed set of OpenGL
header files/libraries or something, this is hard to tell.
Just for a fresh start I recommend to start from scratch, and to try an
installation in the users home directory (then the environment on
compilation and runtime matches):
- unpack the sources somewhere in your users home directory
- ./configure --prefix=/home/shashi/torcs_bin
- make >& make.log
- make install
- make datainstall
- ~/torcs_bin/bin/torcs
With torcs -l you can review the shared libraries which are picked up by
torcs. If you need further help yopu could post the output of
"config.log", "torcs -l" and maybe the whole compilation output ("make
>& make.log").
Best regards
Bernhard
On 10/25/2013 12:47 PM, Shashidhar Kounduri wrote:
> Hi,
> I have downloaded torcs related packages from Liniux section, was able
> to compile
> successfully, but when i run torcs i get the following segmentation
> fault. could you please
> help in rectifying this
>
>
> root@shashi-VirtualBox:~# torcs
> /home/shashi/.torcs created, copying/linking game data
> Visual Properties Report
> ------------------------
> Compatibility mode, properties unknown.
> OpenGL Warning: glFlushVertexArrayRangeNV not found in mesa table
> OpenGL Warning: glVertexArrayRangeNV not found in mesa table
> OpenGL Warning: glCombinerInputNV not found in mesa table
> OpenGL Warning: glCombinerOutputNV not found in mesa table
> OpenGL Warning: glCombinerParameterfNV not found in mesa table
> OpenGL Warning: glCombinerParameterfvNV not found in mesa table
> OpenGL Warning: glCombinerParameteriNV not found in mesa table
> OpenGL Warning: glCombinerParameterivNV not found in mesa table
> OpenGL Warning: glFinalCombinerInputNV not found in mesa table
> OpenGL Warning: glGetCombinerInputParameterfvNV not found in mesa table
> OpenGL Warning: glGetCombinerInputParameterivNV not found in mesa table
> OpenGL Warning: glGetCombinerOutputParameterfvNV not found in mesa table
> OpenGL Warning: glGetCombinerOutputParameterivNV not found in mesa table
> OpenGL Warning: glGetFinalCombinerInputParameterfvNV not found in mesa table
> OpenGL Warning: glGetFinalCombinerInputParameterivNV not found in mesa table
> OpenGL Warning: glDeleteFencesNV not found in mesa table
> OpenGL Warning: glFinishFenceNV not found in mesa table
> OpenGL Warning: glGenFencesNV not found in mesa table
> OpenGL Warning: glGetFenceivNV not found in mesa table
> OpenGL Warning: glIsFenceNV not found in mesa table
> OpenGL Warning: glSetFenceNV not found in mesa table
> OpenGL Warning: glTestFenceNV not found in mesa table
> OpenGL Warning: XGetVisualInfo returned 0 visuals for 0x2162b90
> OpenGL Warning: Retry with 0x8002 returned 0 visuals
> /usr/local/bin/torcs: line 53: 23212 Segmentation fault
> $LIBDIR/torcs-bin -l $LOCAL_CONF -L $LIBDIR -D $DATADIR $*
>
>
> ------------------------------------------------------------------------------
> 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=60135991&iu=/4140/ostg.clktrk
>
>
>
> _______________________________________________
> Torcs-users mailing list
> Tor...@li...
> https://lists.sourceforge.net/lists/listinfo/torcs-users
>
|
|
From: David S. <dsa...@te...> - 2013-10-26 03:27:18
|
Bernhard Wymann wrote: > Hi David > > Thank you for the patch, it looks reasonable and I will take a note to > put it into 1.3.6. > > Best regards > > Bernhard > > On 10/09/2013 08:30 AM, David Savinkoff wrote: > > Hi Bernhard, > > > > This patch improves human automatic gear shifting, making controlled > > drifting in TORCS much better. TORCS currently shifts gears by using > > car->_speed_x (a single component of a 3D vector). This is correct > > only when the car is traveling in the direction that is pointed, > > not when drifting or flying off-angle. Loss of control can no longer > > be attributed to improper automatic down-shifting while drifting. > > > > BTW using x, y and z vector components work better than just x and y > > (I drove various tracks for the past day to test TORCS). > > > > Note that this patch is more-or-less a hack-ish proof of concept. > > > > TORCS has been my high velocity entertainment for four years. > > > > Thanks, > > David > > Hi Bernhard, Here is a new patch that incorporates my previous gear-shifting patch in a more generalized way, allowing for the speed calculation to be used throughout torcs (not only for gear shifting). I applied the speed calculation to steering for an improvement too. (I got a hint from speed-dreams for this one) Note the gear shifting improvement and steering improvement in: torcs-1.3.5-test1/src/drivers/human/human.cpp The speed calculation is also applied for improvements in: torcs-1.3.5-test1/src/libs/raceengineclient/raceengine.cpp torcs-1.3.5-test1/src/modules/graphic/ssggraph/CarSoundData.cpp torcs-1.3.5-test1/src/modules/graphic/ssggraph/grskidmarks.cpp torcs-1.3.5-test1/src/modules/graphic/ssggraph/grsmoke.cpp The speed calculation could also be applied for improvements in: torcs-1.3.5-test1/src/drivers The speed calculation is made in: torcs-1.3.5-test1/src/interfaces/car.h torcs-1.3.5-test1/src/modules/simu/simuv2/car.cpp A constant for the yaw, pitch and roll inertial moments were experimented with, and changed for an improvement in: torcs-1.3.5-test1/src/modules/simu/simuv2/car.cpp Maybe these values could be made user configurable. All of the improvements make for a better driving experience. Please try this patch. I developed these patches on a modified car4-trb1, and tested them on car5-trb1 afterwards. car5-trb1 works excellently, and I recommend you do some drift-passing on corners around the robots. Now you can realistically scramble to save your bacon after pushing it too far. Sincerely, David Savinkoff ps. :) If the 12.0 constant used in the Inverse Moment of Inertia is mathematically derived and not negotiable, here is my argument: I tried 6.0 and found that the moment of inertia was too high, and 18.0 found it too low (subjectively tested by driving). Thus, 12.0 must be the best value since it is half-way-between. However, half-way-between seems to have the worst of too-high and too-low. It is perfectly-bad. So, maybe halfway between perfectly-bad and too-something is the answer... 15.0 is halfway between perfectly-bad (12.0) and too-low (18.0), and it seems to be approximately the best value. The Derivation of 15.28 :) Given that 12.0 is the mathematically correct constant for this inverse moment of inertia formula: Constant for Moment of Inertia = 1/12 1/12 * pi/4 = 0.06545 ; pi/4 [rads] works good and looks good too! 1/.06545 = 15.28 |
|
From: Shashidhar K. <sha...@gm...> - 2013-10-25 10:48:01
|
Hi, I have downloaded torcs related packages from Liniux section, was able to compile successfully, but when i run torcs i get the following segmentation fault. could you please help in rectifying this root@shashi-VirtualBox:~# torcs /home/shashi/.torcs created, copying/linking game data Visual Properties Report ------------------------ Compatibility mode, properties unknown. OpenGL Warning: glFlushVertexArrayRangeNV not found in mesa table OpenGL Warning: glVertexArrayRangeNV not found in mesa table OpenGL Warning: glCombinerInputNV not found in mesa table OpenGL Warning: glCombinerOutputNV not found in mesa table OpenGL Warning: glCombinerParameterfNV not found in mesa table OpenGL Warning: glCombinerParameterfvNV not found in mesa table OpenGL Warning: glCombinerParameteriNV not found in mesa table OpenGL Warning: glCombinerParameterivNV not found in mesa table OpenGL Warning: glFinalCombinerInputNV not found in mesa table OpenGL Warning: glGetCombinerInputParameterfvNV not found in mesa table OpenGL Warning: glGetCombinerInputParameterivNV not found in mesa table OpenGL Warning: glGetCombinerOutputParameterfvNV not found in mesa table OpenGL Warning: glGetCombinerOutputParameterivNV not found in mesa table OpenGL Warning: glGetFinalCombinerInputParameterfvNV not found in mesa table OpenGL Warning: glGetFinalCombinerInputParameterivNV not found in mesa table OpenGL Warning: glDeleteFencesNV not found in mesa table OpenGL Warning: glFinishFenceNV not found in mesa table OpenGL Warning: glGenFencesNV not found in mesa table OpenGL Warning: glGetFenceivNV not found in mesa table OpenGL Warning: glIsFenceNV not found in mesa table OpenGL Warning: glSetFenceNV not found in mesa table OpenGL Warning: glTestFenceNV not found in mesa table OpenGL Warning: XGetVisualInfo returned 0 visuals for 0x2162b90 OpenGL Warning: Retry with 0x8002 returned 0 visuals /usr/local/bin/torcs: line 53: 23212 Segmentation fault $LIBDIR/torcs-bin -l $LOCAL_CONF -L $LIBDIR -D $DATADIR $* |
|
From: Bernhard W. <be...@bl...> - 2013-10-14 09:56:15
|
Hi David Thank you for the patch, it looks reasonable and I will take a note to put it into 1.3.6. Best regards Bernhard On 10/09/2013 08:30 AM, David Savinkoff wrote: > Hi Bernhard, > > This patch improves human automatic gear shifting, making controlled > drifting in TORCS much better. TORCS currently shifts gears by using > car->_speed_x (a single component of a 3D vector). This is correct > only when the car is traveling in the direction that is pointed, > not when drifting or flying off-angle. Loss of control can no longer > be attributed to improper automatic down-shifting while drifting. > > BTW using x, y and z vector components work better than just x and y > (I drove various tracks for the past day to test TORCS). > > Note that this patch is more-or-less a hack-ish proof of concept. > > TORCS has been my high velocity entertainment for four years. > > Thanks, > David > > > > ------------------------------------------------------------------------------ > 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=60134071&iu=/4140/ostg.clktrk > > > > _______________________________________________ > Torcs-users mailing list > Tor...@li... > https://lists.sourceforge.net/lists/listinfo/torcs-users > |
|
From: David S. <dsa...@te...> - 2013-10-09 06:30:49
|
Hi Bernhard, This patch improves human automatic gear shifting, making controlled drifting in TORCS much better. TORCS currently shifts gears by using car->_speed_x (a single component of a 3D vector). This is correct only when the car is traveling in the direction that is pointed, not when drifting or flying off-angle. Loss of control can no longer be attributed to improper automatic down-shifting while drifting. BTW using x, y and z vector components work better than just x and y (I drove various tracks for the past day to test TORCS). Note that this patch is more-or-less a hack-ish proof of concept. TORCS has been my high velocity entertainment for four years. Thanks, David |
|
From: Bernhard W. <be...@bl...> - 2013-10-07 20:33:57
|
Hi Jürgen Yes, I know, the robot clean up/wipe out will come with 1.4.x. Sparkle is just missing in Windows. Best regards Bernhard On 10/06/2013 02:09 PM, hj-schuessler wrote: > > > Hello Bernhard, > in the last week, I realized that all 3 Berniw-robot do not know the > "pit-sharing". Today, the next disappointment: The Inferno2-robot makes > absolutely no pit stops! I find that theese not just promotes the joy to > race with them and hope of remedy urgently. In addition the directory > "sparkle" could omitted, because a sparkle-robot have not been around for > years .... > > greeting > Jürgen > |
|
From: hj-schuessler <hj-...@we...> - 2013-10-06 12:09:16
|
Hello Bernhard, in the last week, I realized that all 3 Berniw-robot do not know the "pit-sharing". Today, the next disappointment: The Inferno2-robot makes absolutely no pit stops! I find that theese not just promotes the joy to race with them and hope of remedy urgently. In addition the directory "sparkle" could omitted, because a sparkle-robot have not been around for years .... greeting Jürgen -- Erstellt mit Operas revolutionärem E-Mail-Modul: http://www.opera.com/mail/ |
|
From: Bernhard W. <be...@bl...> - 2013-10-04 23:20:54
|
Hi > 2. I created Two files to establish the connection and call the > api's. "Emotiv.h" and "Emotiv.cpp" and made changes in the > control.cpp , controlconfig.cpp and defined structures in the > tgfclient.h. But I don't know where should I place these two files? > i placed it in the src/libs/confscreens where you told. but > control.cpp is not able to include emotiv.h. Then I also copied This really depends on what you are doing, you have to figure that out;-) Just placing the files into the directories is not enough for cpp files, you need to add it to the project for getting it compiled. When I have such problems I am looking for "analogies" in the code, e.g. look/understand how an existing header gets included, then adopt accordingly. Best regards Bernhard On 10/04/2013 04:46 PM, khushali modi wrote: > Problem 2 is resolved now, but I got some other error which is not > getting resolved. Please give me suggestions to resolve this issue. > 2>------ Build started: Project: human, Configuration: Debug Win32 ------ > 2>Linking... > 2> Creating library .\Debug/human.lib and object .\Debug/human.exp > 2>human.obj : error LNK2019: unresolved external symbol "struct > tCtrlEmoInfo * __cdecl GfctrlEmoInit(void)" > (?GfctrlEmoInit@@YAPAUtCtrlEmoInfo@@XZ) referenced in function "int > __cdecl InitFuncPt(int,void *)" (?InitFuncPt@@YAHHPAX@Z) > 2>human.obj : error LNK2019: unresolved external symbol "void __cdecl > GfctrlEmoRelease(struct tCtrlEmoInfo *)" > (?GfctrlEmoRelease@@YAXPAUtCtrlEmoInfo@@@Z) referenced in function "void > __cdecl shutdown(int)" (?shutdown@@YAXH@Z) > 2>human.obj : error LNK2019: unresolved external symbol "int __cdecl > GfctrlEmoGetCurrent(struct tCtrlEmoInfo *)" > (?GfctrlEmoGetCurrent@@YAHPAUtCtrlEmoInfo@@@Z) referenced in function > "void __cdecl common_drive(int,struct CarElt *,struct Situation *)" > (?common_drive@@YAXHPAUCarElt@@PAUSituation@@@Z) > 2>.\Debug/human.dll : fatal error LNK1120: 3 unresolved externals > 2>Build log was saved at > "file://c:\Users\Khushali\Desktop\torcs-1.3.4\src\drivers\human\Debug\BuildLog.htm" > 2>human - 4 error(s), 0 warning(s) > > > On Fri, Oct 4, 2013 at 2:21 PM, khushali modi <iit...@gm... > <mailto:iit...@gm...>> wrote: > > Hello Bernhard > > I started working on the project. But I am facing two main problems > as follws: > 1. I am not able to compile Torcs Project everytime. I was able to > compile it only once. When I first installed it, I was able to > compile it. But. after that whenever I tried, It is not being > compiled. It gives fatal errors: xyz.h can not be included. > > 2. I created Two files to establish the connection and call the > api's. "Emotiv.h" and "Emotiv.cpp" and made changes in the > control.cpp , controlconfig.cpp and defined structures in the > tgfclient.h. But I don't know where should I place these two files? > i placed it in the src/libs/confscreens where you told. but > control.cpp is not able to include emotiv.h. Then I also copied > these files into src/libs/client. But still it is not able to > include "Emotiv.h". Waiting for your reply. > > Best Regards, > Khushali > > > On Wed, Oct 2, 2013 at 6:55 PM, Bernhard Wymann <be...@bl... > <mailto:be...@bl...>> wrote: > > Hi > > There is just the robot tutorial, chapter 1 (www.berniw.org > <http://www.berniw.org>, follow the links). This might give you > an insight (->what are the inputs/interpretation/ranges). > Basically you do not need to worry about a lot of stuff in > human.cpp, because loads of code there just handle various input > sources. > > What hepls me when digging into unknown projects/sources is to > just roughly map the big blocks and hold myself back in wasting > time with trying to understand details which are not required > for my task;-) > > This way even huge projects can start to look handy;-) > > Best regards > > Bernhard > > On 10/02/2013 08:42 AM, khushali modi wrote: > > Hello Bernhard, > > > We started reading code in human.cpp and client project, we > are able to > navigate the code faster but still we are facing a lot of > problems > understanding everything in the code. Can you provide a bit > documentation on these files which may guide us. > > Best Regards, > Khushali > > > On Tue, Oct 1, 2013 at 3:38 PM, khushali modi > <iit...@gm... <mailto:iit...@gm...> > <mailto:iit...@gm... > <mailto:iit...@gm...>__>> wrote: > > ok.!! Thanx!! > > > On Tue, Oct 1, 2013 at 12:40 PM, Bernhard Wymann > <be...@bl... <mailto:be...@bl...> > <mailto:be...@bl... <mailto:be...@bl...>>> > wrote: > > Hi Khushali > > HID, just see here: > http://en.wikipedia.org/wiki/____Human_interface_device > <http://en.wikipedia.org/wiki/__Human_interface_device> > > > <http://en.wikipedia.org/wiki/__Human_interface_device > <http://en.wikipedia.org/wiki/Human_interface_device>> > Usually your USB mice, keyboard, joystick, gamepad, > steering > wheel, etc. talk this way to your PC. > > It is not needed to be used, but it could make > sense, because if > you change TORCS directly (which is perfectly > possible) then > your work can used be only in TORCS, if you would > implement it > as HID device, then you could use it potentially in > any racing > or other game/experiment. > > I guess you can use the Emotiv API's directly for > TORCS, but I > suggest a minute of thinking what architecture > makes most sense: > 1. Build it directly into TORCS, you can only do > experiments > from TORCS > 2. Build some device driver to make your input > accessible to any > application without requirement for having the > source code > (disadvantage, device drivers are operating system > dependent) > > Best regards > > Bernhard > > > On 10/01/2013 04:39 AM, khushali modi wrote: > > 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 > <be...@bl... <mailto:be...@bl...> > <mailto:be...@bl... <mailto:be...@bl...>> > <mailto:be...@bl... > <mailto:be...@bl...> <mailto:be...@bl... > <mailto:be...@bl...>>>> 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> > > <http://www.berniw.org/__aboutme/__publications/api.__tar.bz2 <http://www.berniw.org/aboutme/__publications/api.tar.bz2>> > > > > <http://www.berniw.org/____aboutme/publications/api.tar.____bz2 > <http://www.berniw.org/__aboutme/publications/api.tar.__bz2> > > > <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? > > > > > ------------------------------______--------------------------__--__--__------------------ > > > 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 > > <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 > Tor...@li....______net > <mailto:Torcs-users@lists. > <mailto:Torcs-users@lists.>__so__urceforge.net > <http://sourceforge.net> > <mailto:Torcs-users@lists.__sourceforge.net > <mailto:Tor...@li...>>> > https://lists.sourceforge.net/______lists/listinfo/torcs-users > <https://lists.sourceforge.net/____lists/listinfo/torcs-users> > > <https://lists.sourceforge.__net/__lists/listinfo/torcs-__users > <https://lists.sourceforge.net/__lists/listinfo/torcs-users>> > > > > <https://lists.sourceforge.____net/lists/listinfo/torcs-users > > <https://lists.sourceforge.__net/lists/listinfo/torcs-users > <https://lists.sourceforge.net/lists/listinfo/torcs-users>__>__> > > > > > > > -- > Khushali modi > B. Tech. 4th 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 > > <http://pubads.g.doubleclick.__net/gampad/clk?id=60134791&iu=__/4140/ostg.clktrk > <http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk>> > > > > > > ___________________________________________________ > Torcs-users mailing list > Tor...@li....____net > <mailto:Torcs-users@lists.__sourceforge.net > <mailto:Tor...@li...>> > https://lists.sourceforge.net/____lists/listinfo/torcs-users > <https://lists.sourceforge.net/__lists/listinfo/torcs-users> > > <https://lists.sourceforge.__net/lists/listinfo/torcs-users > <https://lists.sourceforge.net/lists/listinfo/torcs-users>__> > > > > > > -- > Khushali modi > B. Tech. 4th Year CSE > > IIT Mandi > > > > > -- > Khushali modi > B. Tech. 4th Year CSE > IIT Mandi > > > > > > -- > Khushali modi > B. Tech. 3rd Year CSE > IIT Mandi > > > > > -- > 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 > Tor...@li... > https://lists.sourceforge.net/lists/listinfo/torcs-users > |
|
From: Bernhard W. <be...@bl...> - 2013-10-04 23:12:32
|
Hi This is the clue: .\Debug/human.dll : fatal error LNK1120: 3 unresolved externals (and the characteristic stuff above). You have simple not linked the library containing the symbols or not added the c/cpp file containing the code to the project (either your library comes precompiled, then a "lib" must be provided and get included into the project, or you have the cpp sources, see the library documentation). Best regards Bernhard On 10/04/2013 04:46 PM, khushali modi wrote: > Problem 2 is resolved now, but I got some other error which is not > getting resolved. Please give me suggestions to resolve this issue. > 2>------ Build started: Project: human, Configuration: Debug Win32 ------ > 2>Linking... > 2> Creating library .\Debug/human.lib and object .\Debug/human.exp > 2>human.obj : error LNK2019: unresolved external symbol "struct > tCtrlEmoInfo * __cdecl GfctrlEmoInit(void)" > (?GfctrlEmoInit@@YAPAUtCtrlEmoInfo@@XZ) referenced in function "int > __cdecl InitFuncPt(int,void *)" (?InitFuncPt@@YAHHPAX@Z) > 2>human.obj : error LNK2019: unresolved external symbol "void __cdecl > GfctrlEmoRelease(struct tCtrlEmoInfo *)" > (?GfctrlEmoRelease@@YAXPAUtCtrlEmoInfo@@@Z) referenced in function "void > __cdecl shutdown(int)" (?shutdown@@YAXH@Z) > 2>human.obj : error LNK2019: unresolved external symbol "int __cdecl > GfctrlEmoGetCurrent(struct tCtrlEmoInfo *)" > (?GfctrlEmoGetCurrent@@YAHPAUtCtrlEmoInfo@@@Z) referenced in function > "void __cdecl common_drive(int,struct CarElt *,struct Situation *)" > (?common_drive@@YAXHPAUCarElt@@PAUSituation@@@Z) > 2>.\Debug/human.dll : fatal error LNK1120: 3 unresolved externals > 2>Build log was saved at > "file://c:\Users\Khushali\Desktop\torcs-1.3.4\src\drivers\human\Debug\BuildLog.htm" > 2>human - 4 error(s), 0 warning(s) > > > On Fri, Oct 4, 2013 at 2:21 PM, khushali modi <iit...@gm... > <mailto:iit...@gm...>> wrote: > > Hello Bernhard > > I started working on the project. But I am facing two main problems > as follws: > 1. I am not able to compile Torcs Project everytime. I was able to > compile it only once. When I first installed it, I was able to > compile it. But. after that whenever I tried, It is not being > compiled. It gives fatal errors: xyz.h can not be included. > > 2. I created Two files to establish the connection and call the > api's. "Emotiv.h" and "Emotiv.cpp" and made changes in the > control.cpp , controlconfig.cpp and defined structures in the > tgfclient.h. But I don't know where should I place these two files? > i placed it in the src/libs/confscreens where you told. but > control.cpp is not able to include emotiv.h. Then I also copied > these files into src/libs/client. But still it is not able to > include "Emotiv.h". Waiting for your reply. > > Best Regards, > Khushali > > > On Wed, Oct 2, 2013 at 6:55 PM, Bernhard Wymann <be...@bl... > <mailto:be...@bl...>> wrote: > > Hi > > There is just the robot tutorial, chapter 1 (www.berniw.org > <http://www.berniw.org>, follow the links). This might give you > an insight (->what are the inputs/interpretation/ranges). > Basically you do not need to worry about a lot of stuff in > human.cpp, because loads of code there just handle various input > sources. > > What hepls me when digging into unknown projects/sources is to > just roughly map the big blocks and hold myself back in wasting > time with trying to understand details which are not required > for my task;-) > > This way even huge projects can start to look handy;-) > > Best regards > > Bernhard > > On 10/02/2013 08:42 AM, khushali modi wrote: > > Hello Bernhard, > > > We started reading code in human.cpp and client project, we > are able to > navigate the code faster but still we are facing a lot of > problems > understanding everything in the code. Can you provide a bit > documentation on these files which may guide us. > > Best Regards, > Khushali > > > On Tue, Oct 1, 2013 at 3:38 PM, khushali modi > <iit...@gm... <mailto:iit...@gm...> > <mailto:iit...@gm... > <mailto:iit...@gm...>__>> wrote: > > ok.!! Thanx!! > > > On Tue, Oct 1, 2013 at 12:40 PM, Bernhard Wymann > <be...@bl... <mailto:be...@bl...> > <mailto:be...@bl... <mailto:be...@bl...>>> > wrote: > > Hi Khushali > > HID, just see here: > http://en.wikipedia.org/wiki/____Human_interface_device > <http://en.wikipedia.org/wiki/__Human_interface_device> > > > <http://en.wikipedia.org/wiki/__Human_interface_device > <http://en.wikipedia.org/wiki/Human_interface_device>> > Usually your USB mice, keyboard, joystick, gamepad, > steering > wheel, etc. talk this way to your PC. > > It is not needed to be used, but it could make > sense, because if > you change TORCS directly (which is perfectly > possible) then > your work can used be only in TORCS, if you would > implement it > as HID device, then you could use it potentially in > any racing > or other game/experiment. > > I guess you can use the Emotiv API's directly for > TORCS, but I > suggest a minute of thinking what architecture > makes most sense: > 1. Build it directly into TORCS, you can only do > experiments > from TORCS > 2. Build some device driver to make your input > accessible to any > application without requirement for having the > source code > (disadvantage, device drivers are operating system > dependent) > > Best regards > > Bernhard > > > On 10/01/2013 04:39 AM, khushali modi wrote: > > 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 > <be...@bl... <mailto:be...@bl...> > <mailto:be...@bl... <mailto:be...@bl...>> > <mailto:be...@bl... > <mailto:be...@bl...> <mailto:be...@bl... > <mailto:be...@bl...>>>> 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> > > <http://www.berniw.org/__aboutme/__publications/api.__tar.bz2 <http://www.berniw.org/aboutme/__publications/api.tar.bz2>> > > > > <http://www.berniw.org/____aboutme/publications/api.tar.____bz2 > <http://www.berniw.org/__aboutme/publications/api.tar.__bz2> > > > <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? > > > > > ------------------------------______--------------------------__--__--__------------------ > > > 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 > > <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 > Tor...@li....______net > <mailto:Torcs-users@lists. > <mailto:Torcs-users@lists.>__so__urceforge.net > <http://sourceforge.net> > <mailto:Torcs-users@lists.__sourceforge.net > <mailto:Tor...@li...>>> > https://lists.sourceforge.net/______lists/listinfo/torcs-users > <https://lists.sourceforge.net/____lists/listinfo/torcs-users> > > <https://lists.sourceforge.__net/__lists/listinfo/torcs-__users > <https://lists.sourceforge.net/__lists/listinfo/torcs-users>> > > > > <https://lists.sourceforge.____net/lists/listinfo/torcs-users > > <https://lists.sourceforge.__net/lists/listinfo/torcs-users > <https://lists.sourceforge.net/lists/listinfo/torcs-users>__>__> > > > > > > > -- > Khushali modi > B. Tech. 4th 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 > > <http://pubads.g.doubleclick.__net/gampad/clk?id=60134791&iu=__/4140/ostg.clktrk > <http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk>> > > > > > > ___________________________________________________ > Torcs-users mailing list > Tor...@li....____net > <mailto:Torcs-users@lists.__sourceforge.net > <mailto:Tor...@li...>> > https://lists.sourceforge.net/____lists/listinfo/torcs-users > <https://lists.sourceforge.net/__lists/listinfo/torcs-users> > > <https://lists.sourceforge.__net/lists/listinfo/torcs-users > <https://lists.sourceforge.net/lists/listinfo/torcs-users>__> > > > > > > -- > Khushali modi > B. Tech. 4th Year CSE > > IIT Mandi > > > > > -- > Khushali modi > B. Tech. 4th Year CSE > IIT Mandi > > > > > > -- > Khushali modi > B. Tech. 3rd Year CSE > IIT Mandi > > > > > -- > Khushali modi > B. Tech. 3rd Year CSE > IIT Mandi |
|
From: khushali m. <iit...@gm...> - 2013-10-04 14:47:00
|
Problem 2 is resolved now, but I got some other error which is not getting resolved. Please give me suggestions to resolve this issue. 2>------ Build started: Project: human, Configuration: Debug Win32 ------ 2>Linking... 2> Creating library .\Debug/human.lib and object .\Debug/human.exp 2>human.obj : error LNK2019: unresolved external symbol "struct tCtrlEmoInfo * __cdecl GfctrlEmoInit(void)" (?GfctrlEmoInit@ @YAPAUtCtrlEmoInfo@@XZ) referenced in function "int __cdecl InitFuncPt(int,void *)" (?InitFuncPt@@YAHHPAX@Z) 2>human.obj : error LNK2019: unresolved external symbol "void __cdecl GfctrlEmoRelease(struct tCtrlEmoInfo *)" (?GfctrlEmoRelease@ @YAXPAUtCtrlEmoInfo@@@Z) referenced in function "void __cdecl shutdown(int)" (?shutdown@@YAXH@Z) 2>human.obj : error LNK2019: unresolved external symbol "int __cdecl GfctrlEmoGetCurrent(struct tCtrlEmoInfo *)" (?GfctrlEmoGetCurrent@ @YAHPAUtCtrlEmoInfo@@@Z) referenced in function "void __cdecl common_drive(int,struct CarElt *,struct Situation *)" (?common_drive@ @YAXHPAUCarElt@@PAUSituation@@@Z) 2>.\Debug/human.dll : fatal error LNK1120: 3 unresolved externals 2>Build log was saved at "file://c:\Users\Khushali\Desktop\torcs-1.3.4\src\drivers\human\Debug\BuildLog.htm" 2>human - 4 error(s), 0 warning(s) On Fri, Oct 4, 2013 at 2:21 PM, khushali modi <iit...@gm...>wrote: > Hello Bernhard > > I started working on the project. But I am facing two main problems as > follws: > 1. I am not able to compile Torcs Project everytime. I was able to > compile it only once. When I first installed it, I was able to compile it. > But. after that whenever I tried, It is not being compiled. It gives fatal > errors: xyz.h can not be included. > > 2. I created Two files to establish the connection and call the api's. > "Emotiv.h" and "Emotiv.cpp" and made changes in the control.cpp , > controlconfig.cpp and defined structures in the tgfclient.h. But I don't > know where should I place these two files? i placed it in the > src/libs/confscreens where you told. but control.cpp is not able to include > emotiv.h. Then I also copied these files into src/libs/client. But still it > is not able to include "Emotiv.h". Waiting for your reply. > > Best Regards, > Khushali > > > On Wed, Oct 2, 2013 at 6:55 PM, Bernhard Wymann <be...@bl...> wrote: > >> Hi >> >> There is just the robot tutorial, chapter 1 (www.berniw.org, follow the >> links). This might give you an insight (->what are the >> inputs/interpretation/ranges). Basically you do not need to worry about a >> lot of stuff in human.cpp, because loads of code there just handle various >> input sources. >> >> What hepls me when digging into unknown projects/sources is to just >> roughly map the big blocks and hold myself back in wasting time with trying >> to understand details which are not required for my task;-) >> >> This way even huge projects can start to look handy;-) >> >> Best regards >> >> Bernhard >> >> On 10/02/2013 08:42 AM, khushali modi wrote: >> >>> Hello Bernhard, >>> >>> >>> We started reading code in human.cpp and client project, we are able to >>> navigate the code faster but still we are facing a lot of problems >>> understanding everything in the code. Can you provide a bit >>> documentation on these files which may guide us. >>> >>> Best Regards, >>> Khushali >>> >>> >>> On Tue, Oct 1, 2013 at 3:38 PM, khushali modi <iit...@gm... >>> <mailto:iit...@gm...**>> wrote: >>> >>> ok.!! Thanx!! >>> >>> >>> On Tue, Oct 1, 2013 at 12:40 PM, Bernhard Wymann <be...@bl... >>> <mailto:be...@bl...>> wrote: >>> >>> Hi Khushali >>> >>> HID, just see here: >>> http://en.wikipedia.org/wiki/_**_Human_interface_device<http://en.wikipedia.org/wiki/__Human_interface_device> >>> >>> <http://en.wikipedia.org/wiki/**Human_interface_device<http://en.wikipedia.org/wiki/Human_interface_device> >>> > >>> Usually your USB mice, keyboard, joystick, gamepad, steering >>> wheel, etc. talk this way to your PC. >>> >>> It is not needed to be used, but it could make sense, because if >>> you change TORCS directly (which is perfectly possible) then >>> your work can used be only in TORCS, if you would implement it >>> as HID device, then you could use it potentially in any racing >>> or other game/experiment. >>> >>> I guess you can use the Emotiv API's directly for TORCS, but I >>> suggest a minute of thinking what architecture makes most sense: >>> 1. Build it directly into TORCS, you can only do experiments >>> from TORCS >>> 2. Build some device driver to make your input accessible to any >>> application without requirement for having the source code >>> (disadvantage, device drivers are operating system dependent) >>> >>> Best regards >>> >>> Bernhard >>> >>> >>> On 10/01/2013 04:39 AM, khushali modi wrote: >>> >>> 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 >>> <be...@bl... <mailto:be...@bl...> >>> <mailto:be...@bl... <mailto:be...@bl...>>> >>> 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> >>> <http://www.berniw.org/**aboutme/__publications/api.** >>> tar.bz2 <http://www.berniw.org/aboutme/__publications/api.tar.bz2>> >>> >>> >>> <http://www.berniw.org/__**aboutme/publications/api.tar._** >>> _bz2 <http://www.berniw.org/__aboutme/publications/api.tar.__bz2> >>> >>> <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? >>> >>> >>> >>> ------------------------------** >>> ____--------------------------**--__--__------------------ >>> >>> >>> 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 >>> <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 >>> Tor...@li....**____net >>> <mailto:Torcs-users@lists.__so**urceforge.net<http://sourceforge.net> >>> <mailto:Torcs-users@lists.**sourceforge.net<Tor...@li...> >>> >> >>> https://lists.sourceforge.net/** >>> ____lists/listinfo/torcs-users<https://lists.sourceforge.net/____lists/listinfo/torcs-users> >>> <https://lists.sourceforge.**net/__lists/listinfo/torcs-** >>> users <https://lists.sourceforge.net/__lists/listinfo/torcs-users>> >>> >>> >>> <https://lists.sourceforge.__** >>> net/lists/listinfo/torcs-users >>> <https://lists.sourceforge.**net/lists/listinfo/torcs-users<https://lists.sourceforge.net/lists/listinfo/torcs-users> >>> **>__> >>> >>> >>> >>> >>> >>> >>> -- >>> Khushali modi >>> B. Tech. 4th 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 >>> <http://pubads.g.doubleclick.** >>> net/gampad/clk?id=60134791&iu=**/4140/ostg.clktrk<http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk> >>> > >>> >>> >>> >>> >>> >>> ______________________________**___________________ >>> Torcs-users mailing list >>> Tor...@li....**__net >>> <mailto:Torcs-users@lists.**sourceforge.net<Tor...@li...> >>> > >>> https://lists.sourceforge.net/**__lists/listinfo/torcs-users<https://lists.sourceforge.net/__lists/listinfo/torcs-users> >>> <https://lists.sourceforge.**net/lists/listinfo/torcs-users<https://lists.sourceforge.net/lists/listinfo/torcs-users> >>> **> >>> >>> >>> >>> >>> >>> -- >>> Khushali modi >>> B. Tech. 4th Year CSE >>> >>> IIT Mandi >>> >>> >>> >>> >>> -- >>> Khushali modi >>> B. Tech. 4th Year CSE >>> IIT Mandi >>> >> >> > > > -- > Khushali modi > B. Tech. 3rd Year CSE > IIT Mandi > -- Khushali modi B. Tech. 3rd Year CSE IIT Mandi |
|
From: khushali m. <iit...@gm...> - 2013-10-04 08:52:35
|
Hello Bernhard I started working on the project. But I am facing two main problems as follws: 1. I am not able to compile Torcs Project everytime. I was able to compile it only once. When I first installed it, I was able to compile it. But. after that whenever I tried, It is not being compiled. It gives fatal errors: xyz.h can not be included. 2. I created Two files to establish the connection and call the api's. "Emotiv.h" and "Emotiv.cpp" and made changes in the control.cpp , controlconfig.cpp and defined structures in the tgfclient.h. But I don't know where should I place these two files? i placed it in the src/libs/confscreens where you told. but control.cpp is not able to include emotiv.h. Then I also copied these files into src/libs/client. But still it is not able to include "Emotiv.h". Waiting for your reply. Best Regards, Khushali On Wed, Oct 2, 2013 at 6:55 PM, Bernhard Wymann <be...@bl...> wrote: > Hi > > There is just the robot tutorial, chapter 1 (www.berniw.org, follow the > links). This might give you an insight (->what are the > inputs/interpretation/ranges). Basically you do not need to worry about a > lot of stuff in human.cpp, because loads of code there just handle various > input sources. > > What hepls me when digging into unknown projects/sources is to just > roughly map the big blocks and hold myself back in wasting time with trying > to understand details which are not required for my task;-) > > This way even huge projects can start to look handy;-) > > Best regards > > Bernhard > > On 10/02/2013 08:42 AM, khushali modi wrote: > >> Hello Bernhard, >> >> >> We started reading code in human.cpp and client project, we are able to >> navigate the code faster but still we are facing a lot of problems >> understanding everything in the code. Can you provide a bit >> documentation on these files which may guide us. >> >> Best Regards, >> Khushali >> >> >> On Tue, Oct 1, 2013 at 3:38 PM, khushali modi <iit...@gm... >> <mailto:iit...@gm...**>> wrote: >> >> ok.!! Thanx!! >> >> >> On Tue, Oct 1, 2013 at 12:40 PM, Bernhard Wymann <be...@bl... >> <mailto:be...@bl...>> wrote: >> >> Hi Khushali >> >> HID, just see here: >> http://en.wikipedia.org/wiki/_**_Human_interface_device<http://en.wikipedia.org/wiki/__Human_interface_device> >> >> <http://en.wikipedia.org/wiki/**Human_interface_device<http://en.wikipedia.org/wiki/Human_interface_device> >> > >> Usually your USB mice, keyboard, joystick, gamepad, steering >> wheel, etc. talk this way to your PC. >> >> It is not needed to be used, but it could make sense, because if >> you change TORCS directly (which is perfectly possible) then >> your work can used be only in TORCS, if you would implement it >> as HID device, then you could use it potentially in any racing >> or other game/experiment. >> >> I guess you can use the Emotiv API's directly for TORCS, but I >> suggest a minute of thinking what architecture makes most sense: >> 1. Build it directly into TORCS, you can only do experiments >> from TORCS >> 2. Build some device driver to make your input accessible to any >> application without requirement for having the source code >> (disadvantage, device drivers are operating system dependent) >> >> Best regards >> >> Bernhard >> >> >> On 10/01/2013 04:39 AM, khushali modi wrote: >> >> 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 >> <be...@bl... <mailto:be...@bl...> >> <mailto:be...@bl... <mailto:be...@bl...>>> 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> >> <http://www.berniw.org/**aboutme/__publications/api.**tar.bz2<http://www.berniw.org/aboutme/__publications/api.tar.bz2> >> > >> >> >> <http://www.berniw.org/__**aboutme/publications/api.tar._** >> _bz2 <http://www.berniw.org/__aboutme/publications/api.tar.__bz2> >> >> <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? >> >> >> >> ------------------------------** >> ____--------------------------**--__--__------------------ >> >> >> 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 >> <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 >> Tor...@li....**____net >> <mailto:Torcs-users@lists.__so**urceforge.net<http://sourceforge.net> >> <mailto:Torcs-users@lists.**sourceforge.net<Tor...@li...> >> >> >> https://lists.sourceforge.net/** >> ____lists/listinfo/torcs-users<https://lists.sourceforge.net/____lists/listinfo/torcs-users> >> <https://lists.sourceforge.**net/__lists/listinfo/torcs-** >> users <https://lists.sourceforge.net/__lists/listinfo/torcs-users>> >> >> >> <https://lists.sourceforge.__**net/lists/listinfo/torcs-users >> <https://lists.sourceforge.**net/lists/listinfo/torcs-users<https://lists.sourceforge.net/lists/listinfo/torcs-users> >> **>__> >> >> >> >> >> >> >> -- >> Khushali modi >> B. Tech. 4th 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 >> <http://pubads.g.doubleclick.**net/gampad/clk?id=60134791&iu= >> **/4140/ostg.clktrk<http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk> >> > >> >> >> >> >> >> ______________________________**___________________ >> Torcs-users mailing list >> Tor...@li....**__net >> <mailto:Torcs-users@lists.**sourceforge.net<Tor...@li...> >> > >> https://lists.sourceforge.net/**__lists/listinfo/torcs-users<https://lists.sourceforge.net/__lists/listinfo/torcs-users> >> <https://lists.sourceforge.**net/lists/listinfo/torcs-users<https://lists.sourceforge.net/lists/listinfo/torcs-users> >> **> >> >> >> >> >> >> -- >> Khushali modi >> B. Tech. 4th Year CSE >> IIT Mandi >> >> >> >> >> -- >> Khushali modi >> B. Tech. 4th Year CSE >> IIT Mandi >> > > -- Khushali modi B. Tech. 3rd Year CSE IIT Mandi |
|
From: Bernhard W. <be...@bl...> - 2013-10-02 13:25:11
|
Hi There is just the robot tutorial, chapter 1 (www.berniw.org, follow the links). This might give you an insight (->what are the inputs/interpretation/ranges). Basically you do not need to worry about a lot of stuff in human.cpp, because loads of code there just handle various input sources. What hepls me when digging into unknown projects/sources is to just roughly map the big blocks and hold myself back in wasting time with trying to understand details which are not required for my task;-) This way even huge projects can start to look handy;-) Best regards Bernhard On 10/02/2013 08:42 AM, khushali modi wrote: > Hello Bernhard, > > We started reading code in human.cpp and client project, we are able to > navigate the code faster but still we are facing a lot of problems > understanding everything in the code. Can you provide a bit > documentation on these files which may guide us. > > Best Regards, > Khushali > > > On Tue, Oct 1, 2013 at 3:38 PM, khushali modi <iit...@gm... > <mailto:iit...@gm...>> wrote: > > ok.!! Thanx!! > > > On Tue, Oct 1, 2013 at 12:40 PM, Bernhard Wymann <be...@bl... > <mailto:be...@bl...>> wrote: > > Hi Khushali > > HID, just see here: > http://en.wikipedia.org/wiki/__Human_interface_device > <http://en.wikipedia.org/wiki/Human_interface_device> > Usually your USB mice, keyboard, joystick, gamepad, steering > wheel, etc. talk this way to your PC. > > It is not needed to be used, but it could make sense, because if > you change TORCS directly (which is perfectly possible) then > your work can used be only in TORCS, if you would implement it > as HID device, then you could use it potentially in any racing > or other game/experiment. > > I guess you can use the Emotiv API's directly for TORCS, but I > suggest a minute of thinking what architecture makes most sense: > 1. Build it directly into TORCS, you can only do experiments > from TORCS > 2. Build some device driver to make your input accessible to any > application without requirement for having the source code > (disadvantage, device drivers are operating system dependent) > > Best regards > > Bernhard > > > On 10/01/2013 04:39 AM, khushali modi wrote: > > 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 > <be...@bl... <mailto:be...@bl...> > <mailto:be...@bl... <mailto:be...@bl...>>> 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> > > > <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? > > > > ------------------------------____----------------------------__--__------------------ > > 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 > <http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk>> > > > > ___________________________________________________ > Torcs-users mailing list > Tor...@li....____net > <mailto:Torcs-users@lists.__sourceforge.net > <mailto:Tor...@li...>> > https://lists.sourceforge.net/____lists/listinfo/torcs-users > <https://lists.sourceforge.net/__lists/listinfo/torcs-users> > > > <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 > <http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk> > > > > > _________________________________________________ > Torcs-users mailing list > Tor...@li....__net > <mailto:Tor...@li...> > 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 > > > > > -- > Khushali modi > B. Tech. 3rd Year CSE > IIT Mandi |
|
From: Bernhard W. <be...@bl...> - 2013-10-01 16:54:48
|
It is just used to "categorize" the track, such that users can find
things better. Ovals are usually just "one handed" (all corners go in
the same direction) and have no tight turns.
Real races on ovals are more or less "slipstreaming and strategy chess",
while circuit racing ("road") is more "driving technique and technology
chess".
On 10/01/2013 01:02 PM, Jai Prakash wrote:
> Bernhard thank you very much for your support.
> Finally i created track in Ubuntu and saved it in "oval" instead of
> "road" folder.
> I worked..:)
> And i can use created track into windows also :)
>
> A question just for curiosity.
>
> What is the difference between road and oval (found in track)?
>
> With regards,
> Jai Prakash
>
>
> On Tue, Oct 1, 2013 at 12:45 PM, Bernhard Wymann <be...@bl...
> <mailto:be...@bl...>> wrote:
>
> Hi Jai
>
> It is the same trackgen command, same drill with permissions (so you
> need to run trackgen as root if you have not installed TORCS into
> your home directory). In case you use "ubuntu packaged" TORCS I do
> not know if they include trackgen or if there is a separate package
> containing it, the command line is the same.
>
> Best regards
>
> Bernhard
>
> On 10/01/2013 08:53 AM, Jai Prakash wrote:
>
> Hi Bernhard,
>
> Can you please tell me how can i generate track in Ubuntu?
>
> With regards,
> Jai
>
>
> On Tue, Oct 1, 2013 at 12:13 PM, Bernhard Wymann
> <be...@bl... <mailto:be...@bl...>
> <mailto:be...@bl... <mailto:be...@bl...>>> wrote:
>
> Hi Jai
>
> Yes, the content is compatible.
>
> Best regards
>
> Bernhard
>
> On 10/01/2013 07:47 AM, Jai Prakash wrote:
>
> Hi Bernhard,
>
> Can we generate track in ubuntu?
> Can we use this track(which generated in ubuntu) in
> windows?
>
> With regards,
> Jai
>
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> 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
> Tor...@li...
> https://lists.sourceforge.net/lists/listinfo/torcs-users
>
|
|
From: Jai P. <lko...@gm...> - 2013-10-01 11:02:46
|
Bernhard thank you very much for your support. Finally i created track in Ubuntu and saved it in "oval" instead of "road" folder. I worked..:) And i can use created track into windows also :) A question just for curiosity. What is the difference between road and oval (found in track)? With regards, Jai Prakash On Tue, Oct 1, 2013 at 12:45 PM, Bernhard Wymann <be...@bl...> wrote: > Hi Jai > > It is the same trackgen command, same drill with permissions (so you need > to run trackgen as root if you have not installed TORCS into your home > directory). In case you use "ubuntu packaged" TORCS I do not know if they > include trackgen or if there is a separate package containing it, the > command line is the same. > > Best regards > > Bernhard > > On 10/01/2013 08:53 AM, Jai Prakash wrote: > >> Hi Bernhard, >> >> Can you please tell me how can i generate track in Ubuntu? >> >> With regards, >> Jai >> >> >> On Tue, Oct 1, 2013 at 12:13 PM, Bernhard Wymann <be...@bl... >> <mailto:be...@bl...>> wrote: >> >> Hi Jai >> >> Yes, the content is compatible. >> >> Best regards >> >> Bernhard >> >> On 10/01/2013 07:47 AM, Jai Prakash wrote: >> >> Hi Bernhard, >> >> Can we generate track in ubuntu? >> Can we use this track(which generated in ubuntu) in windows? >> >> With regards, >> Jai >> >> >> >> > |
|
From: Bernhard W. <be...@bl...> - 2013-10-01 07:10:58
|
Hi Khushali HID, just see here: http://en.wikipedia.org/wiki/Human_interface_device Usually your USB mice, keyboard, joystick, gamepad, steering wheel, etc. talk this way to your PC. It is not needed to be used, but it could make sense, because if you change TORCS directly (which is perfectly possible) then your work can used be only in TORCS, if you would implement it as HID device, then you could use it potentially in any racing or other game/experiment. I guess you can use the Emotiv API's directly for TORCS, but I suggest a minute of thinking what architecture makes most sense: 1. Build it directly into TORCS, you can only do experiments from TORCS 2. Build some device driver to make your input accessible to any application without requirement for having the source code (disadvantage, device drivers are operating system dependent) Best regards Bernhard On 10/01/2013 04:39 AM, khushali modi wrote: > 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 <be...@bl... > <mailto:be...@bl...>> 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 > Tor...@li....__net > <mailto:Tor...@li...> > 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 > Tor...@li... > https://lists.sourceforge.net/lists/listinfo/torcs-users > |
|
From: Bernhard W. <be...@bl...> - 2013-10-01 06:48:58
|
Hi Are you sure, the verbosity tells something else, or did you compile it yourself (debug version?)... can you post the $Revision line of "trackgen -h"? Best regards Bernhard On 10/01/2013 06:24 AM, Jai Prakash wrote: > Hi Bernhard, > > I am using TORCS version 1.3.4. > > With Regards, > Jai > > On 10/1/13, Bernhard Wymann <be...@bl...> wrote: >> Hi Jai >> >> A question, which TORCS version are you using? It makes way too much >> output, is it an older version? >> >> Best regards >> >> Bernhard >> >> On 09/30/2013 07:26 PM, Jai Prakash wrote: >>> Hi Bernhard, >>> >>> I tried both method still not working...:( >>> >>> In 1st method problem during the generation of ".ac" files >>> In 2nd method problem during >>> C:\Program Files (x86)\torcs>trackgen -c road -n jai6 -a >>> C:\Program Files (x86)\torcs>trackgen -c road -n jai6 (where jai6 is >>> track name) >>> I am sharing the snap shot of problem in 2nd method.... >>> and window popup with msg trackgen has stopped working.... >>> >>> Should i start to work on ubuntu..???? >>> Inline image 1 >>> >>> With regards, >>> Jai >>> >>> >>> On Mon, Sep 30, 2013 at 8:44 PM, Bernhard Wymann <be...@bl... >>> <mailto:be...@bl...>> wrote: >>> >>> Hi Jai >>> >>> I tried it now on my Windows box (Windows 7 64 bit), here it is a >>> bit more tricky, if you just hit the menu entry in the TORCS menu >>> the track editor will (depending on your system settings and account >>> type) not work. >>> >>> There are 2 ways to make it work: >>> 1. Run trackeditor as Administrator >>> 2. Run trackeditor as user, move the files manually, then run >>> trackgen as administrator (in this scenario the track length >>> calculation will not work IIRC) >>> >>> 1: >>> On Windows 7 you have to run it as administrator, so do this: >>> - Hit the Windows start button >>> - In the search box type in "cmd" >>> - In the presented box right click on cmd.exe and select "run as >>> administrator", a cmd windows opens up >>> - cd into the TORCS diectory "cd "Program Files (x86)\torcs"" >>> - run from here trackeditor.bat >>> - When creating a new track just select one on the presented choices >>> under "browse", otherwise trackgen will not work >>> >>> 2. >>> - Start track editor from menu, create the new project somewhere >>> where you have write permissions >>> - Save the xml there (you managed to do this, you have the files) >>> - Copy the directory and contents to "Program Files >>> (x86)\torcs\tracks\road" >>> - Open a cmd as in 1. and cd to "Program Files (x86)\torcs" >>> - Run "trackgen -c road -n Jai2" (without scenery) or "trackgen -c >>> road -n Jai2 -a" (with scenery). >>> >>> Beware "trackgen" only works when the files are in the TORCS >>> installation directory, so your "Jai2" directory has to be in the >>> torcs/tracks/road directory. >>> >>> Best regards >>> >>> Bernhard >>> >>> On 09/30/2013 04:35 PM, Jai Prakash wrote: >>> >>> Hi, >>> Can you tell me where should these files created? >>> After running trackgen you mean after exporting to AC3 or after >>> running >>> this common "trackgen -c road -n try2 -a" >>> >>> As now i haven't got any ac files >>> >>> Jai >>> >>> >>> On Mon, Sep 30, 2013 at 7:45 PM, Bernhard Wymann >>> <be...@bl... <mailto:be...@bl...> >>> <mailto:be...@bl... <mailto:be...@bl...>>> wrote: >>> >>> Hi >>> >>> I just checked under linux: trackgen works here, no >>> problem, but the >>> output says this: >>> ... >>> Delta X = -442.229065 >>> Delta Y = -4.778198 >>> Delta Z = 0.000000 >>> ... >>> >>> So your start and end does not match, the inferno robot is >>> then >>> completely confused, so maybe you have tried another bot >>> which >>> crashed then on initialization (if you are off by some >>> centimeters >>> it usually works, but is visually unpleasing, so you should >>> make the >>> end match as good as you can)? >>> >>> Is the ac file generated in your case, after running >>> trackgen I have >>> these files in Jai2: >>> -rw-r--r-- 1 berni users 4964568 Sep 30 16:07 Jai2.ac >>> -rw-r--r-- 1 berni users 1577 Sep 16 10:11 Jai2.prj.xml >>> -rw-r--r-- 1 berni users 4964568 Sep 30 16:07 Jai2-trk.ac >>> -rw-r--r-- 1 berni users 89853 Sep 30 2013 Jai2.xml >>> >>> Do you have these files too or is the .ac missing? >>> >>> Best regards >>> >>> Bernhard >>> >>> On 09/30/2013 03:56 PM, Jai Prakash wrote: >>> >>> Hi, >>> >>> PFA >>> >>> I tried to make tracks named jai2 in road category but >>> it didn't >>> work.. >>> >>> Please suggest some solution... >>> >>> Thanks, >>> Regards, >>> Jai >>> >>> >>> >>> >>> ------------------------------____----------------------------__--__------------------ >>> 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 >>> >>> <http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk>> >>> >>> >>> >>> ___________________________________________________ >>> Torcs-users mailing list >>> Tor...@li....____net >>> <mailto:Torcs-users@lists.__sourceforge.net >>> <mailto:Tor...@li...>> >>> https://lists.sourceforge.net/____lists/listinfo/torcs-users >>> <https://lists.sourceforge.net/__lists/listinfo/torcs-users> >>> >>> <https://lists.sourceforge.__net/lists/listinfo/torcs-users >>> <https://lists.sourceforge.net/lists/listinfo/torcs-users>__> >>> >>> >>> >>> >>> >> >> > |
|
From: khushali m. <iit...@gm...> - 2013-10-01 02:39:52
|
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 <be...@bl...> 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 >> Tor...@li....**net <Tor...@li...> >> 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 |