Simulation Question & YetiLid

2 posts / 0 new
Last post
Jamie
Jamie's picture
Simulation Question & YetiLid

First, let me say how excited I am about finding FormulaPi and I can't wait to get started with the summer season. I've been looking for something to test my python skills with although I've never tried anything with robots before I'm already hooked!

When running the simulation with the master code, last seasons code or one with my own tweaks, I'm getting slower lap times than expected. 1min 15+. Is this normal for the simulation, or might I have something set up wrong? Knowing whether or not that is normal would tell me if I needed to troubleshoot the issue some more or not.

Also, could you give me the dimensions of the YetiLid? From an image I found on the forum it looks to be about 8cm x 12cm. I expect it will take a while for it to get to me (Oregon, USA) and it will take a while for it to get back. If I knew the dimensions I could get started on a design now and be able to return it quicker once it gets here.

Thanks!
Jamie

Arron Churchill
Arron Churchill's picture
Simulation speed and YetiLid dimensions

Glad to hear you are excited about Formula Pi, we think it will be an even better completion in the summer series as people have now seen the races in action :)

The simulation should run at roughly the correct speed of the robots, so you should be seeing lap times of 30 seconds or less really with the AI bots turned to off. The most likely issue is that the computer running the simulation is not capable of keeping up with the robots moving and generating the camera images for the code at the same time, causing it to run slowly. I would suggest running the Java part of the simulation on the most powerful PC you have available and the Python part on an actual Raspberry Pi connected via Ethernet or WiFi.

I have attached a diagram with the dimensions for the YetiLid. The diagram is to scale if you need to make any additional measurements from it.

Comment Images: 

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd> <pre>
  • Syntax highlight code surrounded by the <pre class="brush: lang">...</pre> tags, where lang is one of the following language brushes: bash, cpp, perl, python.
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Comment Images
Files must be less than 10 MB.
Allowed file types: png gif jpg jpeg.
Comment Attachments
Files must be less than 10 MB.
Allowed file types: txt pdf nfo doc docx rtf jpg png gif bmp zip tar gz csv xls.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.