Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
argo
nrm
Commits
d019a890
Commit
d019a890
authored
Sep 06, 2017
by
Srinivasan Ramesh
Committed by
Swann Perarnau
Dec 08, 2017
Browse files
Fix hang issue
parent
7a953c62
Changes
1
Hide whitespace changes
Inline
Side-by-side
nrm/daemon.py
View file @
d019a890
...
...
@@ -106,7 +106,7 @@ class Daemon(object):
# Publish the power values so that GRM can pick it up
nrm_topic
=
"23.45"
self
.
nrm_publish_sock
.
send
(
"%s %s"
%
(
nrm_topic
,
str
(
total_power
)))
self
.
logger
.
info
(
"Sending power values: "
+
str
(
total_power
))
self
.
logger
.
info
(
"Sending power values: "
+
"%s %s"
%
(
nrm_topic
,
str
(
total_power
))
)
# Subcribe to the topic for new power allocations published by the GRM
# self.target = random.randrange(0, 34)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment