Comments (6)
Hi @TaeilJin
first of all I'd need some more information. Which branch of TSID are you using? master or devel? Or did you install it with robotpkg?
Which version of python are you using? 2 or 3? On which OS are you? Which version of pinocchio are you using?
from tsid.
Thank you for your quick response!
I use python 2.7 in Linux (ubuntu 18.04).
I build TSID from source of master branch.
There was no src folder in /opt/openrobots, so I cloned git(master branch) on my /home/myOwn folder and then modified the line " -DCMAKE_INSTALL_PREFIX=$"opt"/openrobots "
I installed the pinocchio using robotpkg. Based on my knowledge, I can't find the version of the pinocchio.
from tsid.
To get pinocchio version could you tell us the result of:
dpkg -l | grep robotpkg-pinocchio
The third column will tell us the version of the package.
from tsid.
Thank you for instruction!
It tells version of pinocchio is 2.3.1
from tsid.
Hi @TaeilJin
sorry for the delay, hard period for me in Italy.
At a first glance the problem seems related to mixing numpy arrays and matrices. Probably you're using a version of pinocchio that by default uses arrays (which is the new standard), but that script is still using matrices. You may fix that quickly by asking pinocchio (or more precisely eigenpy) to use matrices. The command to do so is
import eigenpy
eigenpy.switchToNumpyMatrix()
Moreover, it seems you're using one of the few scripts that has not been converted yet from python 2 to python 3. You may wanna switch to using python 3, since python 2 won't be supported any more (eventually).
from tsid.
Hi @TaeilJin
I've just pushed on the devel branch of TSID an updated version of demo_romeo.py, which works with numpy.array, so it should be compatible with pinocchio and eigenpy now.
I've also upgraded it to Python 3, which now is the new standard, so I suggest you to switch to Python 3 as well. This should solve the issue, so I close it. Feel free to re-open it if you have some more questions.
from tsid.
Related Issues (20)
- contact-6D: unclear - could be pulling force ? HOT 6
- ForceTask with moving object HOT 11
- GitHub Action HOT 3
- Cannot surpress SolverHQuadProg output HOT 3
- TaskJointPosVelAccBounds not exposed to the python API HOT 3
- Adding equality constraints between joints HOT 9
- Test optional dependencies during CI HOT 1
- conda install broken ? HOT 4
- undefined symbol error in libtsid_pywrap.so HOT 2
- SE3 Inequality Task or Constraint HOT 1
- Large time steps HOT 4
- github action on OSX conda Release failing on osqp solver HOT 2
- TSID Performance Issue, slow HQP solves HOT 9
- Does it contain c++ examples? HOT 4
- auto formating precommit hook HOT 1
- display error
- Plans for Pinocchio3.x integration? HOT 3
- build issue with catkin build ROS1 HOT 6
- Python Binding for TaskActuationEquality HOT 4
- Compatibility Issue with Latest Pinocchio Version and TSID HOT 1
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 tsid.