Question about specs of vex brain

I have three questions about the processing power of the vex brain.

  1. In pros what is the fastest it can run a loop(I want to try to have a separate loop for odom)
  2. How many threads does the brain have
  3. Is there a way to tell how long a process took in pros
2 Likes

There was a post on this not too long ago. The iq brain has a limited # of concurrent threads… not sure what it was but I think it was like 20 or so, something pretty decent. v5 was unlimited.

1 Like

@jpearman is this true? I remember that VCS had a limit of 128 back in the day, not sure about modern VEXCode.

Very fast, however for 99% of situations you aren’t going to have any advantage to looping faster than 10ms, as that is the rate that most sensor values update.

The easiest way is probably to use high resolution timer on the brain and compare the value of it before and after you run the function. e.g.

uint64_t startTime = pros::micros();
someFunction();
uint64_t stopTime = pros::micros();
printf("time: %llu\n", stopTime-startTime);

The result will of course be in microseconds.

6 Likes

No it’s not true and is still limited in VEXcode to 128.

6 Likes

What about in PROS?

2 Likes

K. If you’ve got more than 128 concurrent running processes… maybe your team programmer needs a break.

5 Likes

Also does anyone know what the memory limit on the brain is

Challenge accepted ă…¤ ă…¤ ă…¤ ă…¤ ă…¤ ă…¤ ă…¤

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.