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
db0d8641
Commit
db0d8641
authored
Sep 05, 2017
by
legoc
Browse files
re-added property updaters for ax, ... in VEXPController.
parent
e1436d9c
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/controllers/vexp/VEXPController.cpp
View file @
db0d8641
...
...
@@ -182,20 +182,20 @@ void VEXPController::postConfiguration() {
// a4.update(a4Controller->position.setpoint());
// a5.update(a5Controller->position.setpoint());
// a6.update(a6Controller->position.setpoint());
//
//
// Register the property updaters.
//
registerPropertyCopierByUpdate(tasSettings->as, as);
//
registerPropertyCopierByUpdate(tasSettings->bs, bs);
//
registerPropertyCopierByUpdate(tasSettings->cs, cs);
//
registerPropertyCopierByUpdate(tasSettings->aa, aa);
//
registerPropertyCopierByUpdate(tasSettings->bb, bb);
//
registerPropertyCopierByUpdate(tasSettings->cc, cc);
//
registerPropertyCopierByUpdate(tasSettings->ax, ax);
//
registerPropertyCopierByUpdate(tasSettings->ay, ay);
//
registerPropertyCopierByUpdate(tasSettings->az, az);
//
registerPropertyCopierByUpdate(tasSettings->bx, bx);
//
registerPropertyCopierByUpdate(tasSettings->by, by);
//
registerPropertyCopierByUpdate(tasSettings->bz, bz);
// Register the property updaters.
registerPropertyCopierByUpdate
(
tasSettings
->
as
,
as
);
registerPropertyCopierByUpdate
(
tasSettings
->
bs
,
bs
);
registerPropertyCopierByUpdate
(
tasSettings
->
cs
,
cs
);
registerPropertyCopierByUpdate
(
tasSettings
->
aa
,
aa
);
registerPropertyCopierByUpdate
(
tasSettings
->
bb
,
bb
);
registerPropertyCopierByUpdate
(
tasSettings
->
cc
,
cc
);
registerPropertyCopierByUpdate
(
tasSettings
->
ax
,
ax
);
registerPropertyCopierByUpdate
(
tasSettings
->
ay
,
ay
);
registerPropertyCopierByUpdate
(
tasSettings
->
az
,
az
);
registerPropertyCopierByUpdate
(
tasSettings
->
bx
,
bx
);
registerPropertyCopierByUpdate
(
tasSettings
->
by
,
by
);
registerPropertyCopierByUpdate
(
tasSettings
->
bz
,
bz
);
registerUpdater
(
sample
->
uRef
,
&
VEXPController
::
updateUMatrix
,
this
);
registerUpdater
(
sample
->
b
,
&
VEXPController
::
updateBMatrix
,
this
);
...
...
src/controllers/vexp/VEXPController.h
View file @
db0d8641
...
...
@@ -47,7 +47,6 @@ public:
void
refreshKi
(
float64
value
);
void
refreshKf
(
float64
value
);
// Not used anymore.
void
refreshFloat64Property
(
SimpleProperty
<
float64
>&
property
,
float64
value
);
...
...
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