-
Notifications
You must be signed in to change notification settings - Fork 285
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
Reorganizing DART library composition #652
Conversation
…nt libraries depending on dependency 3rd party library requirements
Conflicts: CMakeLists.txt appveyor.yml ci/script_linux.sh ci/script_osx.sh dart/gui/osg/examples/CMakeLists.txt tutorials/CMakeLists.txt
…g/components # Conflicts: # .travis.yml # ci/script_linux.sh # ci/script_osx.sh
…g/components Conflicts: CMakeLists.txt dart/collision/CMakeLists.txt
How far are you from merging this branch? Also, you should remove the opengl dependency since as far as I have seen you removed the draw functions from dynamics.. Thanks for all the work.. |
Removing OpenGL dep from main lib
Probably this PR will be merged today. |
set(dart_gui_hdrs ${dart_gui_hdrs} ${hdrs}) | ||
set(dart_gui_srcs ${dart_gui_srcs} ${srcs}) | ||
set(dart_gui_hdrs ${dart_gui_hdrs} ${hdrs} ${dart_renderer_hdrs}) | ||
set(dart_gui_srcs ${dart_gui_srcs} ${srcs} ${dart_renderer_srcs}) | ||
|
||
# Library | ||
dart_add_library(dart-gui ${srcs} ${hdrs}) |
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.
The errors come from the fact that we need to add the dart_renderer_hdrs
and dart_renderer_srcs
in the dart_add_library
command too..
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.
You're correct. This was resolved as renderer
was merged into gui
as planned.
Here is a quick summary of the dependencies. - mandatories for core library: eigen, ccd, fcl, assimp, boost - optional for component libraries: - dart-optimizer: nlopt, ipopt - dart-collision: bullet - dart-planning: flann - dart-utils: tinyxml, tinyxml2, urdfdom - dart-gui: opengl, glut, openscenegraph
…n 0.4) still returns incorrect contact points for primitive shapes
In the recent commits:
|
Fixes collision problem
@mxgrey Could you take a look at this and merge if it looks good to you? I merged @costashatz's pull request and added more changes for setting PointMass's collision status. |
After looking more closely, it seems that this is already the case. I was thrown off by this line which seems to imply that |
Adding collision sets to CollisionResult
It's used for generating |
@@ -1035,7 +1035,7 @@ class BodyNode : | |||
UniqueProperties mBodyP; | |||
|
|||
/// Whether the node is currently in collision with another node. | |||
DEPRECATED(6.0) | |||
/// \deprecated DEPRECATED(6.0) See #670 for more detail. |
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 the used of DEPRECATED(6.0)
for member variable because there is no way to suppress warnings for this. Instead, I put DEPRECATED(6.0)
into comment so that we can't miss this when searching deprecated API using this keyword.
I'm no build system expert, but everything here looks reasonable to me. If @jslee02 is finished with this, I see no problem with merging. 👍 |
Similarly to #587, this RP changes the library composition of DART from {dart-core, dart} to {dart, optional components depending on the 3rd party library dependencies).
This pull request includes #651. See this to see only the changes made after #651.
Componentizing
collision
is saved for later until we figure out how to handle dynamic library linking ofdart
to the components. For example,dart
should be compiled withoutdart-collision-bullet
, but alsodart
should be able to loaddart-collision-bullet
in runtime to use the bullet collision detection in the constraint solver.