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
d3168e6e
Commit
d3168e6e
authored
Jul 16, 2019
by
Joseph Mirabel
Committed by
olivier stasse
Jul 19, 2019
Browse files
Set sensor values when dynamic graph isn't started.
parent
e79573ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/roscontrol-sot-controller.cpp
View file @
d3168e6e
...
...
@@ -1202,6 +1202,16 @@ namespace sot_controller
}
else
{
/// Update the sensors.
fillSensors
();
/// Generate a control law.
try
{
sotController_
->
nominalSetSensors
(
sensorsIn_
);
}
catch
(
std
::
exception
&
e
)
{
throw
e
;}
// 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.
...
...
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