Page 1 of 1

kalman reset estimation question

Posted: Wed Dec 13, 2017 2:58 pm
by giandoman
hello everybody,
i have one (maybe trivial) question.
In cf python codes i always see the reset kalman estimation done by these to command
cf.param.set_value('kalman.resetEstimation', '1')
time.sleep(0.1)
cf.param.set_value('kalman.resetEstimation', '0')
my question is...why one needs to switch the value of kalman.resetEstiation variable to 1 then to 0?
The default "working value" is 0 and in order to reset one has to switch to 1 and then bring it back to the working value. Am i right?
Thanks
Gianni

Re: kalman reset estimation question

Posted: Thu Dec 14, 2017 10:11 am
by arnaud
The reset command is active on rising edge, so setting from 0 to 1 resets the kalman filter. We set it back to 0 so that next time you run the script it is reset again.