Changeset 17015 for trunk/FACT++


Ignore:
Timestamp:
08/19/13 12:57:30 (11 years ago)
Author:
tbretz
Message:
Try to handle NotReady
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/scripts/handleDriveArmed.js

    r16857 r17015  
    1717    case "Disconnected":
    1818    case "Connected":
    19     case "NotReady":
    2019    case "Ready":
    2120        v8.sleep(1000);
     
    3938        return "Armed";
    4039
     40    case "NotReady":
    4141    case "ERROR":
    42         console.out("Drive in 'ERROR'... sending STOP.");
     42        console.out("Drive in '"+state.name+"'... sending STOP.");
    4343        dim.send("DRIVE_CONTROL/STOP");
    4444        dim.wait("DRIVE_CONTROL", "Armed", 5000);
Note: See TracChangeset for help on using the changeset viewer.