www.robowars.org

RoboWars Australia Forum Index -> Technical Chat

Fight Scheduler
Goto page 1, 2, 3, 4, 5  Next

Post new topic   Reply to topic
  Author    Thread
Valen
Experienced Roboteer


Joined: 07 Jul 2004
Posts: 4436
Location: Sydney


 Reply with quote  
Fight Scheduler

Okes, Here is what i would like the thing to do in the end.

a) be pretty, design the thing to be perminantly displayed so no dropping to windows desktop.
b) Run the fight tree
c) Display demo videos etc with "next fight at : " overlayed on it.
d) Display intro videos (if availablle) of the bots in the fight prior to the fight starting
e) Display video from either one or multiple arena cams with fight info overlaid (IE Time Remaining, Paused for unstick, tapout of bot X etc)
f) (wet dream time) instant replay (during the fight)


i can see b,c and d happening for brisvagas though without overlays,
Current plan for video playing is to just get windows media player to play them or use an embedded version in VB (could possibly do overlays with that too)

what suggestions do other people have?
_________________
Mechanical engineers build weapons, civil engineers build targets

Post Sat Mar 18, 2006 5:56 pm 
 View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Knightrous
Site Admin


Joined: 15 Jun 2004
Posts: 8511
Location: NSW


 Reply with quote  

To help the Daniel with his ranking system, do you think you could add an end of event rank update? Or even realtime ranking, calculated after each battle? This means all you have to do is print out the rankings at the end of the event and Daniel just updates the ranking without having to spends hours calculating it all Razz
_________________
https://www.halfdonethings.com/

Post Sat Mar 18, 2006 6:25 pm 
 View user's profile Send private message
Valen
Experienced Roboteer


Joined: 07 Jul 2004
Posts: 4436
Location: Sydney


 Reply with quote  

i was thinking we could revamp the ranking system to be dynamically generated,
Basically this will have a database that we add on to the end of the existing ranking db that basically just has date, compeditors, winner.
then when you go to the ranking page it'll generate the rankings as you view them.
Best part about that is you could have several different ranking systems without calculating several times
_________________
Mechanical engineers build weapons, civil engineers build targets

Post Sat Mar 18, 2006 6:42 pm 
 View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Knightrous
Site Admin


Joined: 15 Jun 2004
Posts: 8511
Location: NSW


 Reply with quote  

I'm guessing something PHP written with a SQL database behind it should fit the bill. Set it up online and you could even query the database and add some funky features like a "Bot Comparison" calculating a rough percentage of which of the two bots has a greater chance of winning a battle depending on there history and ranking.

I'm no PHP expert, but I have written a few scripts and I've tied MySQL databases into those scripts. (I wrote a user login scripts for one of my TAFE projects and even rigged up a user session timer for the Teacher.) Been a few months since I've hard coded anything, but I can brush up a bit and I can lend a hand if your interested in PHP/MySQL stuff online for this program.
_________________
https://www.halfdonethings.com/

Post Sat Mar 18, 2006 6:52 pm 
 View user's profile Send private message
Valen
Experienced Roboteer


Joined: 07 Jul 2004
Posts: 4436
Location: Sydney


 Reply with quote  

php/mysql was the plan for ranking system.

Probbly going to run mysql as the driver for the schedualer as well.
And i have worked out how we can get the program to do live fight displays
windows media encoder for the win.
another PC (something beefy) can broadcast the fight over the network and record it at the same time,
then the display PC (which could (given sufficent beefyness) be the same PC) can stick it on the main screen.
additional upside, its really easy then to have displays in the pits or outside or wherever you can get a wireless signal and a cheap PC. (hey if its already there you might as well use it eh)
_________________
Mechanical engineers build weapons, civil engineers build targets

Post Sat Mar 18, 2006 7:03 pm 
 View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Knightrous
Site Admin


Joined: 15 Jun 2004
Posts: 8511
Location: NSW


 Reply with quote  

What's the rough specs on the beefy PC for Broadcast /Recording? For the online database side, me might have to have a good chat to ffej about whether botclips.net supports MySQL & PHP.

How open source is your program going to be Question I'm learning VB for Diploma Programming @ TAFE soon, wouldn't mind learning a bit about if before hand Cool
_________________
https://www.halfdonethings.com/

Post Sat Mar 18, 2006 7:12 pm 
 View user's profile Send private message
dyrodium
Experienced Roboteer


Joined: 24 Aug 2004
Posts: 6476
Location: Sydney


 Reply with quote  

Any chance of live webcast? *drool*
The intro bot thing may be hard to orginise this late in the game, but possibly a specs page (eg, BLAH with specs, VS ZING with specs in 10:10 min)?
_________________
( •_•)

( •_•)>⌐■-■

(⌐■_■)

YEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH

Post Sat Mar 18, 2006 7:54 pm 
 View user's profile Send private message Visit poster's website MSN Messenger
Valen
Experienced Roboteer


Joined: 07 Jul 2004
Posts: 4436
Location: Sydney


 Reply with quote  

if there be intarweb at the event then its no probs (depending on what the EO says about it ;->)
_________________
Mechanical engineers build weapons, civil engineers build targets

Post Sat Mar 18, 2006 8:23 pm 
 View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Daniel
Experienced Roboteer


Joined: 30 Aug 2005
Posts: 2729
Location: Gold Coast


 Reply with quote  

Shocked

Your talking about my rankings but I don't understand the words in between.

Does that mean I don't need to use excel any more? If it does do you want all the calculations I use?

Post Sat Mar 18, 2006 8:24 pm 
 View user's profile Send private message Send e-mail
Valen
Experienced Roboteer


Joined: 07 Jul 2004
Posts: 4436
Location: Sydney


 Reply with quote  

That would be the intention yes.
I despise excell ;->

and if it makes your life easier so much the better, Hopefully you would still like to run it (the web side of it) but without needing to actually do any "crunching" you'd be freer to do the more creative side of things (ie new and funkyer algorithms etc)

but the ranking system is low priority at the moment, need to get an actual product first before we can link or addon. I wouldnt mind having a look at the calculations so i can keep them in mind when i design the database.
_________________
Mechanical engineers build weapons, civil engineers build targets

Post Sat Mar 18, 2006 8:34 pm 
 View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Waddy the phoenix



Joined: 16 Jun 2004
Posts: 971
Location: sydney


 Reply with quote  

and i guess the best part of this would be that you could set one person from each state as the guy that can update the stats from the program and that would free up all the more time not to mention make your home state events all the more interesting by being able to run the program at your home event

and yeah live feed would be cool but yeah the main program would be the main priority at the moment
_________________
as a shadow is seen and not heard i am here
-Waddy the phoenix

Post Sat Mar 18, 2006 11:15 pm 
 View user's profile Send private message MSN Messenger
Philip
Experienced Roboteer


Joined: 18 Jun 2004
Posts: 3842
Location: Queensland near Brisbane


 Reply with quote  

quote:
Originally posted by TDT:
What's the rough specs on the beefy PC for Broadcast /Recording?
3 Ghz, 1 G ram, a fast HD with enough space to capture 15 G per hour and a fast video card is enough. You would ba able to capture a single DV signal at broadcast specs with your gaming PC in real time IIRC. You would probably need an external transcoder to output a composite full bandwidth feed.
_________________
So even the rain that falls isn't actually going to fill our dams and our river systems

Post Sun Mar 19, 2006 4:08 am 
 View user's profile Send private message
Valen
Experienced Roboteer


Joined: 07 Jul 2004
Posts: 4436
Location: Sydney


 Reply with quote  

sorry TDT missed your post
encoding is hard work but you can do "scummy quality" on a P3 500
If we are capturing and transfering i'd like to do it with the raw DV stream
it dosent take much to play that.

looking now
encoding with windows media encoder at 1.12mbps (bits) pulls about 80-90% of a 3Ghz Xeon.

thats at dvd quality

The problem is windows media player wants to buffer like 10 seconds worth of content. (and thats just connecting to localhost and i told it to only do 1 second worth)

so that may just but the kybosh on doing that whole thing.
anybody got any better ideas?

Had another thaught that would be nice if we had 6 months for the "public interface" side of things, at the weigh in you put your bot (and any other bits and peices) on a rotating table, Shoot a 360 deg video (or take pictures or some such) and get details of the entrant (bot name, weapon, fave porn site etc)

The thaught then is this
When the bots are about ready, the fight running person hits the "pre fight" button.
get screen with "Bot A Vs Bot B" with both videos playing underneath the "Bot A Vs Bot B" bit

Bot B bit disapears and is replaced with Bot-A's stats (max of about 10 lines of text to be displayablle on your average TV)

Repeat showing Bot-B's stuff

then if we got them play intro videos for each bot

Hopefully at that time we have the contestants ready and the fight can start.

Re- Open source, yeah possibly, see how much work it is.
_________________
Mechanical engineers build weapons, civil engineers build targets

Post Sun Mar 19, 2006 8:59 am 
 View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Waddy the phoenix



Joined: 16 Jun 2004
Posts: 971
Location: sydney


 Reply with quote  

why not try and hack up a webchat program that suports webcams or even the webcam programs themselves as they display whats happening at that moment then you can use a 2nd program to record whats coming through the the display or cut the middleman out and record the stream as it comes through from the feed dont know if that helps at all but its an idea
_________________
as a shadow is seen and not heard i am here
-Waddy the phoenix

Post Sun Mar 19, 2006 9:14 am 
 View user's profile Send private message MSN Messenger
Knightrous
Site Admin


Joined: 15 Jun 2004
Posts: 8511
Location: NSW


 Reply with quote  

AMD 3200+ Venice S939 (2Ghz)
2048mb Corsair T2-4-4-8 RAM
2 x 160GB 8mb SATA drives
16x DVD burner

That's my PC's specs, but in a few months a Opteron 165 (Dual core @ 1.8ghz) will be going into it. Reckon that hast he bawls to do it?
_________________
https://www.halfdonethings.com/

Post Sun Mar 19, 2006 11:20 am 
 View user's profile Send private message
  Display posts from previous:      

Forum Jump:
Jump to:  

Post new topic   Reply to topic
Page 1 of 5

Goto page 1, 2, 3, 4, 5  Next

Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Last Thread | Next Thread  >
Powered by phpBB: © 2001 phpBB Group
millenniumFalcon Template By Vereor.