-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kinematics features #169
Kinematics features #169
Conversation
3d314fb
to
b71e7c5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor changes
bullet/src/KinematicsFeatures.cc
Outdated
const auto modelIdentity = linkInfo->model; | ||
// auto linkIndex = linkInfo->linkIndex; | ||
const auto &modelInfo = this->models.at(modelIdentity); | ||
const auto &model = modelInfo->model; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
modelInfo->model
does not exist anymore, probably you meant linkInfo->model
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed on 25225aa
bullet/src/KinematicsFeatures.cc
Outdated
data.pose.linear() = eigenMat; | ||
data.pose.translation() = eigenVec; | ||
|
||
// Get frame velocities |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Those comments can be removed, as those are already in the previous implementation in the case we ever need them.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed on 25225aa
} | ||
|
||
const auto linkID = _id.ID(); | ||
const auto &linkInfo = this->links.at(linkID); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we will the _id, which is a FrameID as a replacement to query the linkIDs I think we should something to exit the function cleanly in the case this function receives a not valid linkID.
I won't block this PR on that, but you can add a comment about it here so we remember later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added on 25225aa
Codecov Report
@@ Coverage Diff @@
## bullet_classic_dev #169 +/- ##
======================================================
+ Coverage 80.68% 80.98% +0.29%
======================================================
Files 111 111
Lines 4090 4075 -15
======================================================
Hits 3300 3300
+ Misses 790 775 -15
Continue to review full report at Codecov.
|
Signed-off-by: Lobotuerk <jtlorente@ekumenlabs.com>
b71e7c5
to
c90b9c0
Compare
Merging |
* Kinematic Features Signed-off-by: Lobotuerk <jtlorente@ekumenlabs.com>
* Kinematic Features Signed-off-by: Lobotuerk <jtlorente@ekumenlabs.com>
* Kinematic Features Signed-off-by: Lobotuerk <jtlorente@ekumenlabs.com> Signed-off-by: Jorge Perez <jjperez@ekumenlabs.com>
* Kinematic Features Signed-off-by: Lobotuerk <jtlorente@ekumenlabs.com> Signed-off-by: Jorge Perez <jjperez@ekumenlabs.com>
* Kinematic Features Signed-off-by: Lobotuerk <jtlorente@ekumenlabs.com> Signed-off-by: Jorge Perez <jjperez@ekumenlabs.com> Signed-off-by: Tomas Lorente <jtlorente@ekumenlabs.com>
* base and entity features * Add base Cmake and plugin dummy feature * Replace dummy features with base ones * Added Simulation Features (#168) * added features * [Bullet] Bullet classic, Add sdf entities (#167) * Add SDF features to build models * Fix class inheritance problem * Comment unused variables in this commit * Add vector with ids of links added in a model * Kinematics features (#169) * Kinematic Features * Free Group Features (#171) * [bullet] Basic Features (#172) * Fixed gravity, pose, and corrected some auto variables * [Bullet] Collision Features (#173) * Collision working * [bullet] Add find or construct link (#175) * Add Find or Construct Link function * Change function to return entity instead of identity * Remove loop creating links inside model * [Bullet] Mesh features (#178) * Collision working * [bullet] Joints implementation (#190) * Add placeholders joint features * Iteration to add joints after links * sdfConstructJoint math fixed * added missing dummys * added constraint to the world * Change dummy functions print to debug * fixed position * friction * fixed sdfLinkSearch * Joint velocity command * working version tunnels * added joint position methods * Add basic tests * Add missing override keyword * Updated CMake and replaced using with structs for feature lists * Save base when adding a mesh * deleted worlds Signed-off-by: Jorge Perez <jjperez@ekumenlabs.com> Signed-off-by: Tomas Lorente <jtlorente@ekumenlabs.com>
Signed-off-by: Lobotuerk jtlorente@ekumenlabs.com