Quote:
Originally Posted by Mr. Stone
there is an error that comes up in the message log in the diagnostics tab of the driver station:
"Fatal error "Attempting to reuse an allocated resource" in Allocate() in C:/WindRiver/workspace/WPILib/resource.cpp at line 79"
I get this 6 times when the robot starts up.
|
That means you have multiply allocated a single resource, and that must be found and fixed. Here's an example:
Code:
m_gyro = new Gyro(1);
m_analogChannel_1 = new AnalogChannel(1);
Analog channel #1 has been allocated twice. Check all your resources.