Skip to content

Commit

Permalink
Increase drive state transition timeout (2 -> 3 seconds)
Browse files Browse the repository at this point in the history
Drive id25-ipos has some timing issues.
  • Loading branch information
PeterBowman authored and rsantos88 committed Jan 16, 2020
1 parent 297ecc8 commit 988ed20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/YarpPlugins/TechnosoftIpos/DeviceDriverImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ bool TechnosoftIpos::open(yarp::os::Searchable & config)

// TODO: hardcoded values
double canSdoTimeoutMs = config.check("canSdoTimeoutMs", yarp::os::Value(20.0), "CAN SDO timeout (ms)").asFloat64();
double canDriveStateTimeout = config.check("canDriveStateTimeout", yarp::os::Value(2.0), "CAN drive state timeout (s)").asFloat64();
double canDriveStateTimeout = config.check("canDriveStateTimeout", yarp::os::Value(3.0), "CAN drive state timeout (s)").asFloat64();
double monitorPeriod = config.check("monitorPeriod", yarp::os::Value(0.5), "monitor thread period (s)").asFloat64();

can = new CanOpen(canId, canSdoTimeoutMs * 0.001, canDriveStateTimeout);
Expand Down

0 comments on commit 988ed20

Please sign in to comment.