Re: Trouble building a robot

Bernhard Wymann <[email protected]>
Newsgroups gmane.games.torcs.general
Organization wytec
Message-ID <[email protected]>
Hi Tennessee

> Wow, sorry for the non-reply. I appreciate your response. I have ended

No problem, often people have to be patient with me too (because this is 
not business, I enjoy answering when I am in the mood).

> up using version 1.3.1 instead of 1.3.3. This is to be compatible with
> the simulated racing car championship codebase, and this is working well
> for me. Someone else on the net has posted a Python client for this, so
> I'm now up and running (although not up with the latest core codebase).
>
> I may try to get 1.3.3 running and I'll use your advice at that point,
> but right now I'm happy :)

Great:-)

Best regards

Bernhard

>
> Thanks again for the reply.
>
> On Fri, Apr 6, 2012 at 11:25 AM, Bernhard Wymann <[email protected]
> <mailto:[email protected]>> wrote:
>
>     Hi Tennessee
>
>     I guess you forgot to set up the environment (of course you need to
>     adjust the paths):
>
>     export TORCS_BASE=/usr/src/torcs/__torcs-1.2.4
>     export MAKE_DEFAULT=$TORCS_BASE/Make-__default.mk <http://default.mk>
>
>     See also http://www.berniw.org/torcs/__install/torcs-setup.html
>     <http://www.berniw.org/torcs/install/torcs-setup.html>
>
>     Beware, the robot generated by robotgen will need a few adjustments,
>     because the script is not up to date (I did not check it for a long
>     time, I guess some char* must be now const char* but the compiler
>     will tell you).
>
>     Best regards
>
>     Bernhard
>
>
>
>     On 04/06/2012 12:21 AM, Tennessee Leeuwenburg wrote:
>
>         Hi all,
>
>         I'm having trouble building my own robot. I have things compiling,
>         it's just ... not there ... when I run a practise race.
>
>         I'm on Ubuntu 11.10. I realised that I think I need to compile Torcs
>         myself into order to build robot drivers, so after a while I
>         downloaded the sources rather than using the apt installer. I
>         did need
>         to apply the patch found on the homepage in order to get it to work,
>         but after finding that, things are fine. I compiled with a prefix
>         (/home/tennessee/tdev) rather than putting things in /usr, but
>         that is
>         no problem. The program runs fine, I can race as a human driver etc.
>
>         I tried to work through the tutorial found at
>         http://www.berniw.org/.
>         I found I had a few small issues, then a big one. First, I am pretty
>         sure I'm running robotgen from the right place. It builds an extra
>         directory for my car name in src/drivers/mycarname, and puts the
>         schedule of files in there. The tutorial says to run "make" from
>         that
>         directory. If I do that, then what I get is "make: *** No targets.
>         Stop." . So I tried something else, what was to run "make" from the
>         top-level directory and build the whole application. This seemed to
>         work. I now have mycarname.so and mycarname.o files in that
>         directory.
>         So I ran make install to finish things off.
>
>         However, when I run torcs, the driver is simply not there in the
>         list
>         under "configure race".
>
>         Is there anything else I should be doing, or anything else that
>         I can
>         check to try and resolve the issue?
>
>         Thanks,
>         -Tennessee
>
>
>
>
>
> --
> --------------------------------------------------
> Tennessee Leeuwenburg
> http://myownhat.blogspot.com/
> "Don't believe everything you think"


------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.