Comments (7)
Could you provide a short Python example to understand what you did exactly?
from pinocchio.
Could you provide a short Python example to understand what you did exactly?
Yes.Here's a pseudocode snippet in C++ to illustrate the issue. First, I construct a floating base model as follows:
pinocchio::JointModelComposite rootJoint(2); rootJoint.addJoint(pinocchio::JointModelTranslation()); rootJoint.addJoint(pinocchio::JointModelSphericalZYX()); pinocchio::urdf::buildModel(my_model_urdf_path, rootJoint, my_model);
then I get the Jacobian Jac
pinocchio::getFrameJacobian(my_model, data, ee_link_number, pinocchio::LOCAL_WORLD_ALIGNED, Jac); Eigen::Matrix3d Jac_v = Jac.topLeftCorner<3, 3>();
I find Jac_v was always an identity matrix. It's corresponding to linear velocity part of the floating base. If the velocity is represented in the LOCAL frame, Jac_v should vary with the floating base pose but it' didn't. So I think the floating base velocity is instead represented in the WORLD frame.
from pinocchio.
Could you give us the value of the configuration vector associated with the FF?
from pinocchio.
Could you give us the value of the configuration vector associated with the FF?
Actually I have tried many configurations randomly, results are the same. And other parts of the jacobian are correct. I just want to know whether the generalized velocity of the floating base is represented in WORLD frame when the root joints are JointModelTranslation() and JointModelSphericalZYX(). Could you clarify this for me?
from pinocchio.
hi @thuuzi, after several discussions we have recently merged a python script in #2143 that could help you. You can easily extend it to have a combination of JointModelTranslation
and JointModelSphericalZYX
as root joint and visualize it.
from pinocchio.
really appreciate it
from pinocchio.
After test, the floating base velocity is represented in the WORLD frame with JointModelTranslation
and JointModelSphericalZYX
as root joint
from pinocchio.
Related Issues (20)
- Add arm64 macOS wheels to releases HOT 4
- Possible unnecessary computation in computeMinverse HOT 5
- Linux ROS CI issue HOT 3
- Seek for COM Matrix HOT 1
- Activate ROS CI
- AttributeError: module 'pinocchio' has no attribute 'buildModelFromUrdf' HOT 1
- pin.getJointJacobian HOT 10
- How to model robot with float-base HOT 1
- Fix cmake export files to allow cross-compilation with sysroot HOT 3
- Wrong inertia properties extracted from data class using python interface. HOT 1
- How to get the axis of a revolute joint? HOT 1
- How to change the order of joints in pinocchio
- Is the branch pinocchio3-preview compilent with hpp-fcl 2.4.4? HOT 1
- Release of Pinocchio 2.7.0 into ROS 2 Rolling (and possibly Jazzy) HOT 3
- Make pinocchio python binding documentation online HOT 4
- Ros related compatibility issues HOT 1
- Build error when installing with pip HOT 19
- Memory alignment issue when instantiating Data with AVX2 HOT 14
- undefined reference to `boost::filesystem::detail::path_algorithms::find_root_directory` HOT 3
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 pinocchio.