Skip to content
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

Merged
merged 2 commits into from
Nov 25, 2020

Conversation

Lobotuerk
Copy link

Signed-off-by: Lobotuerk jtlorente@ekumenlabs.com

@Lobotuerk Lobotuerk force-pushed the bulletDev/lobotuerk/KinematicsFeatures branch from 3d314fb to b71e7c5 Compare November 24, 2020 20:54
Copy link
Contributor

@Blast545 Blast545 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor changes

const auto modelIdentity = linkInfo->model;
// auto linkIndex = linkInfo->linkIndex;
const auto &modelInfo = this->models.at(modelIdentity);
const auto &model = modelInfo->model;
Copy link
Contributor

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.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed on 25225aa

data.pose.linear() = eigenMat;
data.pose.translation() = eigenVec;

// Get frame velocities
Copy link
Contributor

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.

Copy link
Author

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);
Copy link
Contributor

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.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added on 25225aa

@codecov
Copy link

codecov bot commented Nov 24, 2020

Codecov Report

Merging #169 (b71e7c5) into bullet_classic_dev (5a5f1a4) will increase coverage by 0.29%.
The diff coverage is 0.00%.

Impacted file tree graph

@@                  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     
Impacted Files Coverage Δ
bullet/src/KinematicsFeatures.cc 0.00% <0.00%> (ø)
bullet/src/plugin.cc 100.00% <ø> (ø)
bullet/src/Base.hh 0.00% <0.00%> (ø)
bullet/src/EntityManagementFeatures.cc 0.00% <0.00%> (ø)
bullet/src/SDFFeatures.cc

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5a5f1a4...25225aa. Read the comment docs.

Signed-off-by: Lobotuerk <jtlorente@ekumenlabs.com>
@Lobotuerk Lobotuerk force-pushed the bulletDev/lobotuerk/KinematicsFeatures branch from b71e7c5 to c90b9c0 Compare November 25, 2020 13:10
Signed-off-by: Lobotuerk <jtlorente@ekumenlabs.com>
@Lobotuerk
Copy link
Author

Merging

@Lobotuerk Lobotuerk merged commit 1d1e110 into bullet_classic_dev Nov 25, 2020
@Lobotuerk Lobotuerk deleted the bulletDev/lobotuerk/KinematicsFeatures branch November 25, 2020 19:29
Blast545 pushed a commit that referenced this pull request Feb 3, 2021
* Kinematic Features
Signed-off-by: Lobotuerk <jtlorente@ekumenlabs.com>
Blast545 pushed a commit that referenced this pull request Feb 12, 2021
* Kinematic Features
Signed-off-by: Lobotuerk <jtlorente@ekumenlabs.com>
Blast545 pushed a commit that referenced this pull request Feb 12, 2021
* Kinematic Features
Signed-off-by: Lobotuerk <jtlorente@ekumenlabs.com>
Signed-off-by: Jorge Perez <jjperez@ekumenlabs.com>
Blast545 pushed a commit that referenced this pull request Feb 18, 2021
* Kinematic Features
Signed-off-by: Lobotuerk <jtlorente@ekumenlabs.com>
Signed-off-by: Jorge Perez <jjperez@ekumenlabs.com>
Lobotuerk added a commit that referenced this pull request May 19, 2021
* 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>
Blast545 added a commit that referenced this pull request May 20, 2021
* 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants