Skip to content
Snippets Groups Projects
Commit d20defa8 authored by Reeves, David E's avatar Reeves, David E
Browse files

* filter out dismount log info

parent 1d00b32a
No related branches found
No related tags found
No related merge requests found
...@@ -79,14 +79,17 @@ heading = state.getCurrentHeading().getHeadingInDegrees() ...@@ -79,14 +79,17 @@ heading = state.getCurrentHeading().getHeadingInDegrees()
isTransmitting = IsTransmitting(state.getCurrentUnitName(), state.isCommander()) isTransmitting = IsTransmitting(state.getCurrentUnitName(), state.isCommander())
LogGenericMsg.logMsg( systemName = info.getMyProfile().getSystem()
"EntityActivityLogger",
"ID\tProfile\tLat\tLon\tEle\tSpeed\tHeading\tActivity\tTransmitting", if "1MAN" not in systemName:
info.getMySelf(), LogGenericMsg.logMsg(
[str(info.getMySelf().getID()), str(info.getMyProfile().getName()), str(loc.getLatitude()), str(loc.getLongitude()), str(loc.getElevation()), str(state.getCurrentSpeed()), str(heading), str(currentActivity), str(isTransmitting)]) "EntityActivityLogger",
#printMessage("TEST LOG", True) "ID\tProfile\tLat\tLon\tEle\tSpeed\tHeading\tActivity\tTransmitting",
info.getMySelf(),
[str(info.getMySelf().getID()), str(info.getMyProfile().getName()), str(loc.getLatitude()), str(loc.getLongitude()), str(loc.getElevation()), str(state.getCurrentSpeed()), str(heading), str(currentActivity), str(isTransmitting)])
#printMessage("TEST LOG", True)
SendEntityEventDelay(info.getMyAssignedName(), "GoalTracker_LogInfo", [], borg.redLoggerInterval) SendEntityEventDelay(info.getMyAssignedName(), "GoalTracker_LogInfo", [], borg.redLoggerInterval)
</Code> </Code>
<Import /> <Import />
</HTNNode> </HTNNode>
......
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