Skip to content
Snippets Groups Projects
Commit 1cd43a53 authored by Martin Christoph Hierholzer's avatar Martin Christoph Hierholzer
Browse files

reading back the variable from the device currently does not work, so instead...

reading back the variable from the device currently does not work, so instead directly pass it to the simulator module.
parent 0149312d
No related branches found
No related tags found
No related merge requests found
......@@ -107,9 +107,10 @@ class MyApp : public ctk::Application {
controlLoop.actuator >> dev("Variable") >> cs("actuatorLoop");
dev("Variable") [ controlLoop.actuator ] >> simulator.actuator >> cs("actuatorSimulator");
dev("Variable", typeid(double)) [ controlLoop.actuator ] >> cs("actuatorSimulator_direct");
// TODO Reading back from the device register is not working. Should it work, or should it throw an error? FIXME
//dev("Variable") [ controlLoop.actuator ] >> simulator.actuator >> cs("actuatorSimulator");
//dev("Variable", typeid(double)) [ controlLoop.actuator ] >> cs("actuatorSimulator_direct");
controlLoop.actuator >> simulator.actuator >> cs("actuatorSimulator");
simulator.readback >> controlLoop.readback >> cs("readback") >> cs("readback_another_time");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment