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
Instrument Control
NomadSpecialModules
Commits
dfb570b4
Commit
dfb570b4
authored
Sep 07, 2017
by
legoc
Browse files
Minor improvements in VEXPController.
parent
67cd4122
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/controllers/vexp/VEXPController.cpp
View file @
dfb570b4
...
...
@@ -112,9 +112,12 @@ void VEXPController::updateBMatrix() {
void
VEXPController
::
refreshKi
(
float64
value
)
{
//
calca1, calca2, calcStatus ar
e
c
al
culated by refresh
.
//
Set th
e
v
al
ue
.
incidentBeam
->
calcki
=
value
;
// calca1, calca2, calcStatus are calculated.
incidentBeam
->
calculate
(
tas
::
Beam
::
K_MODE
);
a1
=
incidentBeam
->
calca1
();
a2
=
incidentBeam
->
calca2
();
...
...
@@ -124,9 +127,12 @@ void VEXPController::refreshKi(float64 value) {
void
VEXPController
::
refreshKf
(
float64
value
)
{
//
calca1, calca2, calcStatus ar
e
c
al
culated by refresh
.
//
Set th
e
v
al
ue
.
scatteredBeam
->
calckf
=
value
;
// calca1, calca2, calcStatus are calculated.
scatteredBeam
->
calculate
(
tas
::
Beam
::
K_MODE
);
a5
=
scatteredBeam
->
calca5
();
a6
=
scatteredBeam
->
calca6
();
...
...
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