Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expression was too complex #18

Open
rohit-aq opened this issue Jul 3, 2018 · 1 comment
Open

Expression was too complex #18

rohit-aq opened this issue Jul 3, 2018 · 1 comment

Comments

@rohit-aq
Copy link

rohit-aq commented Jul 3, 2018

Hey Guys,

HCKalmanFilter iOS is not compiling and giving the error. Please see the screenshot.

too complex equation

@jdleung
Copy link

jdleung commented Apr 11, 2019

timeInterval is original Double, it's no need to format it to Double again, I can remove the warnings with the following:

Qt.setMatrix(matrix: [
            [sigma*(pow(timeInterval, 4.0)/4.0),
             sigma*(pow(timeInterval, 3.0)/2.0),0,0],
            
            [sigma*(pow(timeInterval, 3.0)/2.0),
             sigma*(pow(timeInterval, 2.0)),0,0],
            
            [0,0,sigma*(pow(timeInterval, 4.0)/4.0),
             sigma*(pow(timeInterval, 3.0)/2.0)],
            
            [0,0,sigma*(pow(timeInterval, 3.0)/2.0),
             sigma*(pow(timeInterval, 2.0))]
            ])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants