Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Corryvreckan
Corryvreckan
Commits
06ef895a
Commit
06ef895a
authored
Mar 18, 2020
by
Katharina Dort
Committed by
Jens Kroeger
Apr 02, 2020
Browse files
Added log output for detector position
(cherry picked from commit
3e59bce0
)
parent
b3ce4f2c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/modules/Prealignment/Prealignment.cpp
View file @
06ef895a
...
...
@@ -166,6 +166,10 @@ void Prealignment::finalise() {
<<
" , y = "
<<
Units
::
display
(
shift_Y
,
{
"mm"
,
"um"
});
LOG
(
INFO
)
<<
"Move in x by = "
<<
Units
::
display
(
shift_X
*
damping_factor
,
{
"mm"
,
"um"
})
<<
" , and in y by = "
<<
Units
::
display
(
shift_Y
*
damping_factor
,
{
"mm"
,
"um"
});
LOG
(
INFO
)
<<
"Detector position after shift in x = "
<<
Units
::
display
(
m_detector
->
displacement
().
X
()
+
damping_factor
*
shift_X
,
{
"mm"
,
"um"
})
<<
" , and in y = "
<<
Units
::
display
(
m_detector
->
displacement
().
Y
()
+
damping_factor
*
shift_Y
,
{
"mm"
,
"um"
});
m_detector
->
displacement
(
XYZPoint
(
m_detector
->
displacement
().
X
()
+
damping_factor
*
shift_X
,
m_detector
->
displacement
().
Y
()
+
damping_factor
*
shift_Y
,
m_detector
->
displacement
().
Z
()));
...
...
Write
Preview
Markdown
is supported
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