File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -945,8 +945,8 @@ void RCSotController::readControl(
945
945
946
946
} else {
947
947
ROS_INFO_STREAM (" no control." );
948
- localStandbyEffortControlMode (ros::Duration (dt_/ subSampling_));
949
- localStandbyVelocityControlMode (ros::Duration (dt_/ subSampling_));
948
+ localStandbyEffortControlMode (ros::Duration (dt_ / subSampling_));
949
+ localStandbyVelocityControlMode (ros::Duration (dt_ / subSampling_));
950
950
localStandbyPositionControlMode ();
951
951
}
952
952
}
@@ -982,7 +982,7 @@ void RCSotController::one_iteration() {
982
982
983
983
// Wait until last subsampling step to write result in controlValues_
984
984
while (step_ != subSampling_ - 1 ) {
985
- ros::Duration (.01 * dt_/ subSampling_).sleep ();
985
+ ros::Duration (.01 * dt_ / subSampling_).sleep ();
986
986
}
987
987
// mutex
988
988
mutex_.lock ();
@@ -1087,7 +1087,7 @@ void RCSotController::localStandbyPositionControlMode() {
1087
1087
}
1088
1088
1089
1089
void RCSotController::computeSubSampling () {
1090
- if ((subSampling_ != 1 ) && !thread_created_){
1090
+ if ((subSampling_ != 1 ) && !thread_created_) {
1091
1091
step_ = subSampling_ - 1 ;
1092
1092
ROS_INFO_STREAM (" Subsampling SoT graph computation by ratio "
1093
1093
<< subSampling_);
You can’t perform that action at this time.
0 commit comments