Fridge Profile:
- Added profile action for basic fridge motion.
Change-Id: I170959e349b1048ce975b5348d8f8c474464e1e2
diff --git a/aos/common/actions/action_test.cc b/aos/common/actions/action_test.cc
index df204bc..0db4b29 100644
--- a/aos/common/actions/action_test.cc
+++ b/aos/common/actions/action_test.cc
@@ -23,7 +23,7 @@
explicit TestActorNOP(actions::TestActionQueueGroup* s)
: actions::ActorBase<actions::TestActionQueueGroup>(s) {}
- void RunAction() { return; }
+ bool RunAction() { return true; }
};
::std::unique_ptr<
@@ -41,11 +41,11 @@
explicit TestActorShouldCancel(actions::TestActionQueueGroup* s)
: aos::common::actions::ActorBase<actions::TestActionQueueGroup>(s) {}
- void RunAction() {
+ bool RunAction() {
while (!ShouldCancel()) {
LOG(FATAL, "NOT CANCELED!!\n");
}
- return;
+ return true;
}
};