Added postActivate() to the target interface, for outputting any target specific info after activation.

Removed the logging of the generic target ID from the TargetController
This commit is contained in:
Nav
2024-07-23 21:35:12 +01:00
parent 6cdbfbe950
commit dd80c254a2
6 changed files with 21 additions and 1 deletions

View File

@@ -518,8 +518,9 @@ namespace TargetController
this->target->activate();
Logger::info("Target activated");
this->target->postActivate();
Logger::info("Target name: " + this->targetDescriptor->name);
Logger::info("Target ID: " + this->targetDescriptor->marketId);
this->targetState = std::make_unique<TargetState>(
TargetExecutionState::UNKNOWN,