- 
                Notifications
    You must be signed in to change notification settings 
- Fork 30
Add planner_dart component for DART planners #567
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
          
     Open
      
      
            gilwoolee
  wants to merge
  6
  commits into
  master
  
    
      
        
          
  
    
      Choose a base branch
      
     
    
      
        
      
      
        
          
          
        
        
          
            
              
              
              
  
           
        
        
          
            
              
              
           
        
       
     
  
        
          
            
          
            
          
        
       
    
      
from
gilwoo/planner_dart
  
      
      
   
  
    
  
  
  
 
  
      
    base: master
Could not load branches
            
              
  
    Branch not found: {{ refName }}
  
            
                
      Loading
              
            Could not load tags
            
            
              Nothing to show
            
              
  
            
                
      Loading
              
            Are you sure you want to change the base?
            Some commits from the old base branch may be removed from the timeline,
            and old review comments may become outdated.
          
          
  
     Open
                    Changes from all commits
      Commits
    
    
            Show all changes
          
          
            6 commits
          
        
        Select commit
          Hold shift + click to select a range
      
      928e428
              
                Create planner_dart component
              
              
                gilwoolee 9915a80
              
                Merge branch 'master' of github.com:personalrobotics/aikido into gilw…
              
              
                gilwoolee 1919374
              
                Update CHANGELOG.md
              
              
                gilwoolee 76b90d0
              
                Merge branch 'master' of https://github.com/personalrobotics/aikido i…
              
              
                evil-sherdil 6ea0741
              
                Think I added CMake gaurds if dart_planners not built.
              
              
                evil-sherdil a3654af
              
                Merge branch 'master' into gilwoo/planner_dart
              
              
                egordon 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 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
    
  
  
    
              | Original file line number | Diff line number | Diff line change | 
|---|---|---|
| @@ -0,0 +1,62 @@ | ||
| if(CMAKE_COMPILER_IS_GNUCXX) | ||
| if(OMPL_VERSION VERSION_GREATER 1.2.0 OR OMPL_VERSION VERSION_EQUAL 1.2.0) | ||
| if(Boost_VERSION VERSION_LESS 106501) | ||
| message(STATUS "OMPL planners are disabled for OMPL (>=1.2.0) + GCC + " | ||
| "Boost (< 1.65.1). For details, please see: " | ||
| " https://github.com/personalrobotics/aikido/issues/363" | ||
| ) | ||
| return() | ||
| endif() | ||
| endif() | ||
| endif() | ||
|  | ||
| #============================================================================== | ||
| # Libraries | ||
| # | ||
| set(sources | ||
| ConfigurationToConfiguration.cpp | ||
| ConfigurationToConfigurationPlanner.cpp | ||
| ConfigurationToConfiguration_to_ConfigurationToConfiguration.cpp | ||
| ConfigurationToConfiguration_to_ConfigurationToTSR.cpp | ||
| ConfigurationToEndEffectorOffset.cpp | ||
| ConfigurationToEndEffectorPose.cpp | ||
| ConfigurationToEndEffectorOffsetPlanner.cpp | ||
| ConfigurationToTSR.cpp | ||
| ConfigurationToTSRPlanner.cpp | ||
| util.cpp | ||
| ) | ||
|  | ||
| add_library("${PROJECT_NAME}_planner_dart" SHARED ${sources}) | ||
| target_include_directories("${PROJECT_NAME}_planner_dart" SYSTEM | ||
| PUBLIC | ||
| ${DART_INCLUDE_DIRS} | ||
| ${OMPL_INCLUDE_DIRS} | ||
| ) | ||
| target_link_libraries("${PROJECT_NAME}_planner_dart" | ||
| PUBLIC | ||
| "${PROJECT_NAME}_common" | ||
| "${PROJECT_NAME}_constraint" | ||
| "${PROJECT_NAME}_distance" | ||
| "${PROJECT_NAME}_trajectory" | ||
| "${PROJECT_NAME}_statespace" | ||
| "${PROJECT_NAME}_planner" | ||
| "${PROJECT_NAME}_planner_ompl" | ||
| There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. do we need ompl here? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. See previous comment! 😸 | ||
| ${DART_LIBRARIES} | ||
| ${OMPL_LIBRARIES} | ||
| ) | ||
| target_compile_options("${PROJECT_NAME}_planner_dart" | ||
| PUBLIC ${AIKIDO_CXX_STANDARD_FLAGS} | ||
| ) | ||
|  | ||
| add_component(${PROJECT_NAME} planner_dart) | ||
| add_component_targets(${PROJECT_NAME} planner_dart "${PROJECT_NAME}_planner_dart") | ||
| add_component_dependencies(${PROJECT_NAME} planner_dart | ||
| constraint | ||
| distance | ||
| planner | ||
| planner_ompl | ||
| statespace | ||
| trajectory | ||
| ) | ||
|  | ||
| clang_format_add_sources(${sources}) | ||
  
    
      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
    
  
  
    
              
  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.
  
    
  
    
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.
We do not need to check boost version here since this subdirectory does not have ompl code.
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.
This is related to the below comment as well: this PR is set up for #566. Sorry, I totally should have made that more clear: because the ultimate goal here is deprecating a lot of the old
robot/utilstuff, we need to move some of theplanTomethods that use ompl into this newdart_plannermodule. That's what #566 starts to do, but we set up the ompl dependency here 😄