-
Notifications
You must be signed in to change notification settings - Fork 749
Fixes for Windows #530
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
Merged
Merged
Fixes for Windows #530
Changes from 48 commits
Commits
Show all changes
63 commits
Select commit
Hold shift + click to select a range
f7bcbf4
Attempt to find FCL using find_package as well
Ace314159 b052b20
Add visibility control to collision detection fcl
Ace314159 1f7364f
Add visibility control to kinematics base
Ace314159 76fd181
Fix linking boost for core
Ace314159 9697043
Add visibility control to planning scene
Ace314159 8b3fab6
Add visibility control to perception mesh filter
Ace314159 bf9b4f8
Undefine near and far for mesh filter
Ace314159 c2b6ff5
Add visibility control to planning scene monitor
Ace314159 a58a8f4
Use _popen in rdf loader on windows
Ace314159 456510d
Include boost.bind where missing
Ace314159 aab2311
Include deque in trajectory execution manager
Ace314159 db222ea
Build build error for moveit ros warehouse connector
Ace314159 854b59c
Add visibility control to moveit ros warehouse
Ace314159 f45b55b
Fix includes for BenchmarkExecutor
Ace314159 dacbc6b
Link to ws2_32.lib on windows in moveit ros benchmarks
Ace314159 cec69c6
Add visibility control to moveit ros planning pipeline
Ace314159 da953f5
Add visibility control to trajectory execution manager
Ace314159 44fb70a
Attempt to find FCL using find_package first
Ace314159 373ebec
Add visibility control to moveit move group interface
Ace314159 bc47f0d
Add visibility control to moveit ros robot interaction
Ace314159 bc6ca7a
Add visibility control to moveit planning scene rviz plugin
Ace314159 12bc306
Replace uint with unsigned int
Ace314159 317e3b8
Add visibility control to collision detection
Ace314159 f8f6c07
Fix errors in p2_arm_kinematics_plugin
Ace314159 68219a9
Fix MSVC build in collision detection fcl tests
Ace314159 7cc99c4
Remove extra args for boost linking
Ace314159 b3c4485
Sync with MoveIt's master branch up-to https://github.com/ros-plannin…
JafarAbdi 4a210bc
Compilation fixes for MoveIt on macOS (#498)
nkalupahana b1d1de4
Enable Bullet and fix plugin configuration (#489)
jrgnicho e660ec9
Add prerelease tests (#502)
53d0a3e
Clean warehouse_ros OpenSSL depend (#514)
91f2a24
Merge with upstream
Ace314159 604c974
Fix finding bullet on windows
Ace314159 6ee637e
Fix MSVC build in collision detection bullet tests
Ace314159 7c2953e
Add visibility control to collision detection bullet
Ace314159 1ac25de
Fix include deprecation warning
Ace314159 571885b
Fix building moveit_servo
Ace314159 cb33e46
Merge with upstream
Ace314159 6bfb830
Merge remote-tracking branch 'upstream/main' into main
Ace314159 6e52f8e
Merge remote-tracking branch 'upstream/main' into main
Ace314159 285a214
Run pre-commit
Ace314159 de9bd9c
Fix CI
Ace314159 3936e8a
Merge branch 'main' into main
Ace314159 112c926
Fix visibility control includes
Ace314159 6407d14
Add license to visibility control
Ace314159 6d14df0
Use same naming convention for visibility control
Ace314159 2eeb5e0
Fix merge issues
Ace314159 6c14a3d
Run pre-commit
Ace314159 fb40705
Always use find_package for bullet and FCL
Ace314159 e7d402a
Use Bullet instead of BULLET
Ace314159 d084113
Use fcl instead of FCL
Ace314159 e16ab21
Use pkg-config for FCL
Ace314159 a3885d9
Fix
Ace314159 e53a6ae
Fix linking fcl deps and only use pkg-config
Ace314159 f31f387
Replace ${GLEW_LIBRARIES} with GLEW::glew for Windows
Ace314159 84140cf
Switch to generated visibility headers
Ace314159 e14af58
Run pre-commit
Ace314159 dab2a7d
Merge remote-tracking branch 'upstream/main' into main
Ace314159 df9ae8d
exported whole classes to fix linker errors
lilustga 81d2ca3
Export the other classes too
Ace314159 62526de
Run pre-commit
Ace314159 b6ddc79
Fix merge conflicts
Ace314159 4b83cfd
Merge remote-tracking branch 'upstream/main' into main
Ace314159 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
70 changes: 70 additions & 0 deletions
70
moveit_core/collision_detection/include/moveit/collision_detection/visibility_control.h
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,70 @@ | ||
| // Copyright (c) 2021, Open Source Robotics Foundation, Inc. | ||
| // All rights reserved. | ||
| // | ||
| // Software License Agreement (BSD License 2.0) | ||
| // | ||
| // Redistribution and use in source and binary forms, with or without | ||
| // modification, are permitted provided that the following conditions | ||
| // are met: | ||
| // | ||
| // * Redistributions of source code must retain the above copyright | ||
| // notice, this list of conditions and the following disclaimer. | ||
| // * Redistributions in binary form must reproduce the above | ||
| // copyright notice, this list of conditions and the following | ||
| // disclaimer in the documentation and/or other materials provided | ||
| // with the distribution. | ||
| // * Neither the name of Open Source Robotics Foundation, Inc. nor the names of its | ||
| // contributors may be used to endorse or promote products derived | ||
| // from this software without specific prior written permission. | ||
| // | ||
| // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
| // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
| // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS | ||
| // FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE | ||
| // COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
| // INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, | ||
| // BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
| // LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | ||
| // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||
| // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN | ||
| // ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | ||
| // POSSIBILITY OF SUCH DAMAGE. | ||
| // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| // See the License for the specific language governing permissions and | ||
| // limitations under the License. | ||
|
|
||
| #ifndef COLLISION_DETECTION__VISIBILITY_CONTROL_H_ | ||
| #define COLLISION_DETECTION__VISIBILITY_CONTROL_H_ | ||
|
|
||
| // This logic was borrowed (then namespaced) from the examples on the gcc wiki: | ||
| // https://gcc.gnu.org/wiki/Visibility | ||
|
|
||
| #if defined _WIN32 || defined __CYGWIN__ | ||
| #ifdef __GNUC__ | ||
| #define COLLISION_DETECTION_EXPORT __attribute__((dllexport)) | ||
| #define COLLISION_DETECTION_IMPORT __attribute__((dllimport)) | ||
| #else | ||
| #define COLLISION_DETECTION_EXPORT __declspec(dllexport) | ||
| #define COLLISION_DETECTION_IMPORT __declspec(dllimport) | ||
| #endif | ||
| #ifdef COLLISION_DETECTION_BUILDING_DLL | ||
| #define COLLISION_DETECTION_PUBLIC COLLISION_DETECTION_EXPORT | ||
| #else | ||
| #define COLLISION_DETECTION_PUBLIC COLLISION_DETECTION_IMPORT | ||
| #endif | ||
| #define COLLISION_DETECTION_PUBLIC_TYPE COLLISION_DETECTION_PUBLIC | ||
| #define COLLISION_DETECTION_LOCAL | ||
| #else | ||
| #define COLLISION_DETECTION_EXPORT __attribute__((visibility("default"))) | ||
| #define COLLISION_DETECTION_IMPORT | ||
| #if __GNUC__ >= 4 | ||
| #define COLLISION_DETECTION_PUBLIC __attribute__((visibility("default"))) | ||
| #define COLLISION_DETECTION_LOCAL __attribute__((visibility("hidden"))) | ||
| #else | ||
| #define COLLISION_DETECTION_PUBLIC | ||
| #define COLLISION_DETECTION_LOCAL | ||
| #endif | ||
| #define COLLISION_DETECTION_PUBLIC_TYPE | ||
| #endif | ||
|
|
||
| #endif // COLLISION_DETECTION__VISIBILITY_CONTROL_H_ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
70 changes: 70 additions & 0 deletions
70
...collision_detection_bullet/include/moveit/collision_detection_bullet/visibility_control.h
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,70 @@ | ||
| // Copyright (c) 2021, Open Source Robotics Foundation, Inc. | ||
| // All rights reserved. | ||
| // | ||
| // Software License Agreement (BSD License 2.0) | ||
| // | ||
| // Redistribution and use in source and binary forms, with or without | ||
| // modification, are permitted provided that the following conditions | ||
| // are met: | ||
| // | ||
| // * Redistributions of source code must retain the above copyright | ||
| // notice, this list of conditions and the following disclaimer. | ||
| // * Redistributions in binary form must reproduce the above | ||
| // copyright notice, this list of conditions and the following | ||
| // disclaimer in the documentation and/or other materials provided | ||
| // with the distribution. | ||
| // * Neither the name of Open Source Robotics Foundation, Inc. nor the names of its | ||
| // contributors may be used to endorse or promote products derived | ||
| // from this software without specific prior written permission. | ||
| // | ||
| // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
| // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
| // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS | ||
| // FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE | ||
| // COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
| // INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, | ||
| // BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
| // LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | ||
| // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||
| // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN | ||
| // ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | ||
| // POSSIBILITY OF SUCH DAMAGE. | ||
| // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| // See the License for the specific language governing permissions and | ||
| // limitations under the License. | ||
|
|
||
| #ifndef COLLISION_DETECTION_BULLET__VISIBILITY_CONTROL_H_ | ||
| #define COLLISION_DETECTION_BULLET__VISIBILITY_CONTROL_H_ | ||
|
|
||
| // This logic was borrowed (then namespaced) from the examples on the gcc wiki: | ||
| // https://gcc.gnu.org/wiki/Visibility | ||
|
|
||
| #if defined _WIN32 || defined __CYGWIN__ | ||
| #ifdef __GNUC__ | ||
| #define COLLISION_DETECTION_BULLET_EXPORT __attribute__((dllexport)) | ||
| #define COLLISION_DETECTION_BULLET_IMPORT __attribute__((dllimport)) | ||
| #else | ||
| #define COLLISION_DETECTION_BULLET_EXPORT __declspec(dllexport) | ||
| #define COLLISION_DETECTION_BULLET_IMPORT __declspec(dllimport) | ||
| #endif | ||
| #ifdef COLLISION_DETECTION_BULLET_BUILDING_DLL | ||
| #define COLLISION_DETECTION_BULLET_PUBLIC COLLISION_DETECTION_BULLET_EXPORT | ||
| #else | ||
| #define COLLISION_DETECTION_BULLET_PUBLIC COLLISION_DETECTION_BULLET_IMPORT | ||
| #endif | ||
| #define COLLISION_DETECTION_BULLET_PUBLIC_TYPE COLLISION_DETECTION_BULLET_PUBLIC | ||
| #define COLLISION_DETECTION_BULLET_LOCAL | ||
| #else | ||
| #define COLLISION_DETECTION_BULLET_EXPORT __attribute__((visibility("default"))) | ||
| #define COLLISION_DETECTION_BULLET_IMPORT | ||
| #if __GNUC__ >= 4 | ||
| #define COLLISION_DETECTION_BULLET_PUBLIC __attribute__((visibility("default"))) | ||
| #define COLLISION_DETECTION_BULLET_LOCAL __attribute__((visibility("hidden"))) | ||
| #else | ||
| #define COLLISION_DETECTION_BULLET_PUBLIC | ||
| #define COLLISION_DETECTION_BULLET_LOCAL | ||
| #endif | ||
| #define COLLISION_DETECTION_BULLET_PUBLIC_TYPE | ||
| #endif | ||
|
|
||
| #endif // COLLISION_DETECTION_BULLET__VISIBILITY_CONTROL_H_ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.