To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 19794
19793  |  19795
Subject: 
Re: Autonomous RCX Racing - formerly Nascar style racing
Newsgroups: 
lugnet.robotics
Date: 
Tue, 17 Dec 2002 12:48:29 GMT
Viewed: 
2192 times
  
Jeff Wood wrote:

> 
> Messages from the tower to the RCX will have the vehicle number (1-24)  as
> the first two digits and the place as the third (car four is in third place
> would be 43 or 043 car twelve in first place would be 121)  the third digit
> as a 0 would be for signaling a pit stop or black flag.  the numbers 000-009
> would be reserved for global race functionsfor all cars, such as stop (000)
> start (001) and others for staging, time trials etc... 250-255 could be
> reserved for human interaction to signal a yellow flag situation
> 
> Messages for the RCX would be triggered from an event from the the light
> sensor over the start finsh line at the beginning of a straightaway or a
> touch sensor for an overhead bar.  the rcx would transmit a single byte with
> the first two digits being the racer number and the last digit being the lap
> number(for error correction)

Random thoughts:
The way I read it, you can only notify of position down to 9th place. I
guess you could treat 9th place as "9th or worse place".
Also, you can only send a count of up to 9 laps, limiting either the
race length or the error correctability.
It might be handy to use messages 1, 2 and 3 for user interaction, as
they can be sent from the Lego remote control.
Do you really need to accomodate 24 cars? IMHO 8 cars would be plenty
crowded. If you then represent the message in binary you might have
something like:
0000 0000 - global function
0000 0001 to 0000 0011 (decimal 1 to 3) - human interaction
0000 0100 to 0000 1111 (decimal 4 to 15) - global functions
0001 xxxx to 1111 xxxx (decimal 16 to 255) - car number (1st four bits)
and lap/position (last four bits) or black flag/pit stop (last for bits
= 0000)

This would accomodate 15 cars and up to 15 laps/positions. You could
sacrifice another bit an get 7 cars but a 31 lap counter.

> 
> The tower would give three signals to start the race (003) 30 seconds to
> start (002) at fifteen second signaling that start may be any moment and
> (000) start a random 1-15 seconds after the (002) (I stole this from
> motocross) and the tower would start a timer at the beginning of the race

These are robots. Do they need a 30 second warning? IMHO, they don't
need a random 15 second start window either, but it would have a
dramatic effect on the spectators.



Message is in Reply To:
  Autonomous RCX Racing - formerly Nascar style racing
 
After some intense fiddeling around I have created a couple working vehicles or autonimous racers based on the discussions a previous post. The vehicles handle like traditional race cars without the ackerman style steering by having a motor powering (...) (24 years ago, 17-Dec-02, to lugnet.robotics)

4 Messages in This Thread:



Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR