sorry bout the post below accidentally deleted it
Ok…now I load the program to my kit bot and the autonomous works get but the teleop wont run at all
In the diagnostics section on the driver station i get an error
Fatal error “Attempting to rescue an allocated resource” in Allocate() in C:/Windriver/workspace/WPIlib/Resource.cpp at line 79
if i go to line 79 it says
77-if (m_isAllocated[index] )
78-{
79-wpi_fatal(ResourceAlreadyAllocated);
80-return 0;
and i dont know what this means
could this be why it is not working and if so can anyone help
I didn’t have a pervious version running i put windriver on the netbook FIRST gave then teams. I fixed my problem now though, I just re-wrote my program over one of the example programs FIRST gave us
To explain exactly what i did i took my program i was already writing and just copied it to a different example template and it worked that and We wired the robot right this time post some of your code i could help
We got this error when the code was looking for a sensor in the wrong (slot, port) combinations(s). Make sure that you’re initializing your sensor objects to the correct slot and port(s), reboot the robot, and the problem should disappear.