Log in

View Full Version : windriver help


Rikard023
28-01-2010, 10:16
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

Rikard023
30-01-2010, 12:37
PLease help im getting desperate

pafwl
30-01-2010, 12:44
We had this problem too. Make sure you updates are all applied.

Did you have aprevious version of Windriver loaded on your computer?

What platform is running Windriver.

Rikard023
01-02-2010, 07:05
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

Hal'sWorld
04-02-2010, 18:34
We're having the same problem, but we have updated. Could you please explain how you fixed the error?

Rikard023
05-02-2010, 09:44
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

slavik262
05-02-2010, 11:22
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.