Comments (4)
Not exactly sure why this is happening. I just did a fresh-clone of the repo on Python 3.8.10 + Ubuntu 20.04 and the code runs fine.
It seems that there is some issue with the base angular velocity, which is interpreted as list[int] but should be list[float]. The angular velocity should always be a list[float] though. Maybe try casting it as float
and give another try?
from fast_and_efficient.
I've tried to cast it but it seems that no matter what I provide to the function (even a constant float list : [0., 0., 0.]) I got the same error. Could it be the version of any library I'm using ? Because when I'm installing the libraries I got an error about the version of numpy which is not compatible with that of tensorflow (I don't need tensorflow since I only want to use your mpc controller).
ERROR: tensorflow 2.12.0 has requirement numpy<1.24,>=1.22, but you'll have numpy 1.24.2 which is incompatible.
Thanks a lot,
Stephen
from fast_and_efficient.
Doesn't look like a numpy issue to me --- I tested the MPC with numpy 1.24.2 and it works fine as well.
It is a really weird error that I have not seen before... Can you double check that you have not modified the code in any unintended ways, and re-compile the C++ binaries?
If it still doesn't work, you can try the following python implementation of the same MPC algorithm. I recently wrote it, but have not tested it thoroughly yet. It should follow a similar interface compared to the current repo.
from fast_and_efficient.
Hello,
I've simply recompiled the binaries and for some reasons now it works ! Thanks a lot for your help!
Best,
Stephen
from fast_and_efficient.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fast_and_efficient.