Quote:
Originally Posted by tcjinaz
...and found a number of stupid user tricks that had pegged out CPU usage, mostly relating to sending data too often to the SD.
|
How often was too often?
Quote:
Originally Posted by tcjinaz
I am CAN ignorant, but are you calls to the CAN VI's waiting for completion (is your code waiting for them to return), or are they fire and forget, passing control as soon as the hardware involved is loaded up?
|
Our calls are mostly embedded within the holonomic drive VI, but they are fire and forget as far as our code goes. At a lower level, there is a command and response that is required by the FRC architecture, on the CAN bus. So there may be some hanging for a response at levels far below what we can touch. We occasionally get timeout errors for the jaguars, but that happens far less often than the above-mentioned wrong number of bytes error.