add goal logging to actions
Change-Id: Ie64d37ef8859e81c1aa3c87f67ca927a5b136dc7
diff --git a/aos/common/actions/actor.h b/aos/common/actions/actor.h
index 958927b..63cdb08 100644
--- a/aos/common/actions/actor.h
+++ b/aos/common/actions/actor.h
@@ -152,9 +152,13 @@
// Wait for a request to come in before starting.
WaitForActionRequest();
+ LOG_STRUCT(INFO, "running with goal", *action_q_->goal);
+
// Perform the action once.
uint32_t running_id = RunIteration();
+ LOG(INFO, "done running\n");
+
// Don't start again until asked.
WaitForStop(running_id);
LOG(DEBUG, "action %" PRIx32 " was stopped\n", running_id);