tinympc-python icon indicating copy to clipboard operation
tinympc-python copied to clipboard

Python interactive interface for TinyMPC

Results 5 tinympc-python issues
Sort by recently updated
recently updated
newest added

你好,我在作者给的非线性动力学模型 线性化 案例中,按照给的代码,运行总是会出现类型不匹配的错误,运行了作者的代码也是同样的问题,请问是为什么呢 作者代码如下: mc = 0.2 # mass of the cart (kg) mp = 0.1 # mass of the pole (kg) ℓ = 0.5 # distance to the center...

When I use python to verify the generated library, I find that if my initial state X_0 is set to all 0s, the solution will fail and always output 0....

Hello, It is a very amazing project. I really love it. But in the first step I got the error when I was trying to test something. Could you check...

Hi, I'm trying to build a small C++ program that uses the generated tiny_data.cpp, by calling `set_x0` and `set_x_ref`, like [codegen/pywrapper/bindings.cpp](https://github.com/TinyMPC/tinympc-python/blob/main/src/tinympc/codegen/pywrapper/bindings.cpp). However, when calling `set_x0` (copied from [codegen/pywrapper/bindings.cpp](https://github.com/TinyMPC/tinympc-python/blob/main/src/tinympc/codegen/pywrapper/bindings.cpp)) I get...

Changed git tag to "main" instead of the existing commit hash Also I installed the python wrapper locally with these commands (because the PyPi method wasn't working for me): 1....