How can a program tell if a component on the robot is working/attached or not?
For example, if I wrote...
Code:
void MyFunction()
{
Jaguar *j = new Jaguar(3);
j->Set(1.0);
}
... how can I tell if the Jaguar is actually responsive and connected to the cRIO? What about for a camera? For joysticks?