Skip to content

Commit

Permalink
disengage on driver death
Browse files Browse the repository at this point in the history
  • Loading branch information
roverhawk committed May 26, 2013
1 parent 322441b commit 00dd654
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/stepper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ void disconnect(
CPhidgetStepperHandle &phid)
{
ROS_INFO("Closing...");
CPhidgetStepper_setEngaged(phid, 0, 0);
CPhidget_close((CPhidgetHandle)phid);
CPhidget_delete((CPhidgetHandle)phid);
}
Expand Down

0 comments on commit 00dd654

Please sign in to comment.