Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stack Of Tasks
roscontrol_sot
Commits
5d4e2c66
Commit
5d4e2c66
authored
Apr 08, 2020
by
NoelieRamuzat
Browse files
[Effort Mode] Add default PD controller when no control
parent
89297b15
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/roscontrol-sot-controller.cpp
View file @
5d4e2c66
...
...
@@ -1089,6 +1089,12 @@ void RCSotController::update(const ros::Time &, const ros::Duration &period) {
ROS_ERROR_STREAM
(
"RCSotController::update: "
<<
e
.
what
());
throw
;
}
// But in effort mode it means that we are sending 0
// Therefore implements a default PD controller on the system.
// Applying both to handle mixed system.
localStandbyEffortControlMode
(
period
);
localStandbyVelocityControlMode
(
period
);
localStandbyPositionControlMode
();
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment