codeflight1
codeflight1
That script is for linux only, to install dependencies on mac you will have to figure out some other way. Try looking through that script to see what is needed...
This already exists in the form of the GPS tutorial: https://nasa.github.io/fprime/Tutorials/GpsTutorial/Tutorial.html
I believe Enhancement 5 is no longer necessary since that header has been removed.
It looks like somebody has already done option B: https://github.com/sonofeft/RocketCEA
Can we close this???
Maybe this could work: https://pypi.org/project/units/
Can you post your full code? You have to integrate it twice: v += v0 * dt, p += p0 * dt.
You need to move fusion.GetLinearAcceleration(&x, &y, &z) into the loop, and you should be using a dynamic dt instead of a constant if you want better accuracy.
Can you post the entire source code?
Can you just copy that part into a test script that gives the same results, and then post the test script?