NI publishes that the RoboRio can use from 5-45 watts. The IMU uses about a tenth of a watt.
In a vented enclosure with some natural convection, 0.15 watts/cuin is a guideline for power density. For forced convection (fan) you can use power densities up to about 1watt/cuin
So for the RIO and the IMU, the maximum you’d need would be an enclosure about 300 cubic inches with no fan and 45 cuin with a fan. I’m not sure, but I doubt it would even fit in an enclosure that small.
But motor controllers are much hotter. I don’t find efficiency posted on Victor’s page, but in general, I think you’d expect them to be something like 95 percent efficient. So if you’re running a 350 watt CIM, you’ll see about 18 watts of heat coming from each motor controller while it has that high load.
These can add up pretty fast. That’s why they have fins to reject heat.
I would never recommend that you put motor controllers in any kind of enclosure. If you keep the motor controllers out of the box, you’ll be fine, fan or not.
But as a fact, these are equations that are for designing electronics that run steady-state for long times. If your robot just does a three-minute match and then you shut down, it will never build up much heat. If you run it in a parade, that would be a different situation.
My team never uses an enclosure because they just add weight. You can “enclose” within a corner of the frame nearly as well.
Here’s a couple links to enclosure heat design references that I’ve used in my job as an electronics packaging engineer.
http://www.hoffmanonline.com/stream_document.aspx?rRID=233309&pRID=162533
https://books.google.com/books?id=JQfoCAAAQBAJ&pg=PA152&lpg=PA152&dq=electronic+enclosure+watts/cubic+inch&source=bl&ots=PkcCCgUXLV&sig=y-hCyDJFnoHlP0j1w1JYQh0aUbs&hl=en&sa=X&ved=0ahUKEwi22771ktDYAhWa0YMKHSd6CkIQ6AEIQTAH#v=onepage&q=electronic%20enclosure%20watts%2Fcubic%20inch&f=false