Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
cit-ctnlab
ctn_scripts
Commits
b8e26ada
Commit
b8e26ada
authored
Nov 01, 2019
by
Anchal Gupta
Browse files
Bug fix
parent
abd15605
Changes
1
Hide whitespace changes
Inline
Side-by-side
autolocker.py
View file @
b8e26ada
...
...
@@ -127,7 +127,9 @@ def main():
caput
(
sweepRangeUpperChan
,
caget
(
actuator
)
+
0.03
)
caput
(
sweepRangeLowerChan
,
caget
(
actuator
)
-
0.03
)
time
.
sleep
(
pollRate
)
# wait for pollRate seconds rechecking
finalGain
=
caget
(
loopStateEnable
)
else
:
# case threshold is not met and channels are engauged
finalGain
=
caget
(
loopStateEnable
)
if
caget
(
autolockEnable
):
if
args
.
debug
==
1
:
# debug mode: print message
print
(
"Thresh reached or one required states False"
)
...
...
Anchal Gupta
@anchal.gupta
mentioned in commit
cd51c308
·
Nov 02, 2019
mentioned in commit
cd51c308
mentioned in commit cd51c308427e8c1dd8f5fcbeeb47257fef41d3be
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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