Our team is hoping to do some really cool things with code this year, one of the main things we need though is the ability to pull information from the cortex.
Anyways, what I would like to do is collect information from the cortex every so many milliseconds. Information like battery voltage, amperage, sensor values, and any other needed information. It must also subsequently be available on a computer for analysis. We need it for some special testing we will be trying to do.
One way you could do this is to set it up in the debugger window and get a camera and record the data from the computer onto the camera while testing so you can go back and record the data given off every so often. Or you could do the same thing if you can record the computer screen with a special software. But I don’t know how you could record the voltage or amperage. Hope that helps.
Create a task that sends data to the debug stream at a defined interval. It probably won’t work well with an interval as low as 5mS, but 20mS should be ok if you don’t send too much data. It works best when using the USB A-A tether cable between cortex and joystick, it’s not so good with the VEXnet 2.0 keys.
All you can collect for the battery is the voltage.