Skip to content

Commit

Permalink
Fetch limits from parent device's .ini config
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterBowman authored Oct 25, 2018
1 parent d43110b commit 1632d72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/YarpPlugins/LacqueyFetch/DeviceDriverImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ bool roboticslab::LacqueyFetch::open(yarp::os::Searchable& config)
this->ptPointCounter = 0;
this->ptMovementDone = false;
this->targetReached = false;
this->max = 0;
this->min = 0;
this->max = config.check("max",yarp::os::Value(0),"max").asDouble();
this->min = config.check("min",yarp::os::Value(0),"min").asDouble();
this->refAcceleration = 0;
this->refSpeed = 0;
this->encoder = 0;
Expand Down

0 comments on commit 1632d72

Please sign in to comment.