View Single Post
  #1   Spotlight this post!  
Unread 18-01-2016, 07:48
Bongle's Avatar
Bongle Bongle is offline
Registered User
FRC #2702 (REBotics)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2002
Location: Waterloo
Posts: 1,069
Bongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond repute
Send a message via MSN to Bongle
I made a simple statistical match simulator

http://www.tourdegiro.com/personal/robosim/

Basically, you plug in a bunch of estimates for how long it takes to do various things, and it tells you how many points on average "your robot" would take to do those things (after simulating 2500 matches), and gives you a sample match log.

Think it sucks? Github is here, make it better! (license: do whatever you want. Modify it, fork it, sell it, claim it is yours, etc)
https://github.com/arthare/robosim

The simulated robot's strategy is:
1) Get the closest ball it can
2) Shoot the ball
3) Goto 1

For assigning RPs, it assumes all your alliance's robots challenge or scale the castle, and so the castle RP boils down to your robot doing enough damage.

It does not simulate other robots, other than randomly making it harder to line up or get balls in the courtyard, depending on the defense parameters you plug in.

When a choice is available (passive vs active defenses or high goal vs low goal), the simulated robot will choose the one that has a lower expected time to complete, if there are points available for that task.

It does not simulate autonomous. Your robot starts in the courtyard without a ball though (as if you shot during autonomous).

It does not give you the straight-up points for the challenge/scale or for autonomous. It's solely meant to simulate steady-state teleop.

Last edited by Bongle : 18-01-2016 at 08:17.
Reply With Quote