Applied AI Systems(AAI) Labo-3 Program execution error: "Could not open motor device: Device > or resource busy"

The direct solution for the error in the title is here (from the conversation of my colleague and the person from production company). The manual doesn't say anything about this...Ha- wasted an hour.

"avoid" program always runs at startup. To terminate the avoidance program from running please issue the "kill" command to kill the running process.
To do so you must know the process ID for the program. please issue "ps-ax" command, then look for "avoid" in program names. Get the PID for the avoid. Now by issuing " kill " you can terminate avoid program safely. If this did not work try " kill -9 " to kill the process. Now you can run your program.

You can disable running avoidance program at startup by commenting out the avoidance program line in autorun.sh. Just find autorun.sh file, it is in ./Kde/Autostart directory (correction by author; should be "/home/robot/.Kde/Autostart") , and open autorun.sh and type "#" in front of line below:

/home/robot/robots/examples/labo-3a/labo_avoid/avoid.....

> I was able to log into Labo 3 but was not able to run the example programs.
> It displayed message saying "Could not open motor device: Device or resource busy".
> I think this is because on power up it runs the script autorun.
> How can I stop this and run the sample codes? Could you please assist me in this regard.

Comments

Popular Posts