-
Notifications
You must be signed in to change notification settings - Fork 40
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
[Bullet] Collision Features #173
[Bullet] Collision Features #173
Conversation
Signed-off-by: Tomas Lorente <[email protected]>
Codecov Report
@@ Coverage Diff @@
## bullet_classic_dev #173 +/- ##
======================================================
- Coverage 79.44% 78.29% -1.15%
======================================================
Files 113 114 +1
Lines 4154 4215 +61
======================================================
Hits 3300 3300
- Misses 854 915 +61
Continue to review full report at Codecov.
|
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 comments, otherwise LGTM
bullet/src/SimulationFeatures.hh
Outdated
|
||
public: std::vector<ContactInternal> GetContactsFromLastStep( | ||
const Identity &/* _worldID */) const override | ||
{ // TODO(lobotuerk): Implement contacts getter, could be like https://pybullet.org/Bullet/phpBB3/viewtopic.php?t=2855 |
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 this is a Dummy implementation, I suggest printing to ignwrn something to be aware when it's used JIC
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.
Updated on 30ae58a
const auto &link = linkInfo->link; | ||
const auto &world = this->worlds.at(modelInfo->world)->world; | ||
// btTransform transform; | ||
delete link->getCollisionShape(); |
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.
Please leave a comment here stating why it's solved this way here. Maybe that can change in the future
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.
Updated on 30ae58a, hopefully, this does not spam the console
Co-authored-by: Jorge Perez <[email protected]>
Signed-off-by: Tomas Lorente <[email protected]>
Merging after addresing everything |
* Collision working Signed-off-by: Tomas Lorente <[email protected]> Co-authored-by: Jorge Perez <[email protected]>
* Collision working Signed-off-by: Tomas Lorente <[email protected]> Co-authored-by: Jorge Perez <[email protected]>
* Collision working Signed-off-by: Tomas Lorente <[email protected]> Co-authored-by: Jorge Perez <[email protected]> Signed-off-by: Jorge Perez <[email protected]>
* Collision working Signed-off-by: Tomas Lorente <[email protected]> Co-authored-by: Jorge Perez <[email protected]> Signed-off-by: Jorge Perez <[email protected]>
* Collision working Signed-off-by: Tomas Lorente <[email protected]> Co-authored-by: Jorge Perez <[email protected]> Signed-off-by: Jorge Perez <[email protected]> Signed-off-by: Tomas Lorente <[email protected]>
* 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 <[email protected]> Signed-off-by: Tomas Lorente <[email protected]>
Collision seems to be working, deleting and creating does not segfault, bodies seem to move properly