Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,5 @@
*.txt.user*
*kdev4*
*.autosave

build
202 changes: 0 additions & 202 deletions LICENSE

This file was deleted.

2 changes: 1 addition & 1 deletion OpenMORE.rosinstall
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
version: master
- git:
local-name: motion_planners
uri: https://github.com/JRL-CARI-CNR-UNIBS/graph_core.git
uri: https://github.com/JRL-CARI-CNR-UNIBS/cari_motion_planning.git
version: replanning_strategies_devel
- git:
local-name: utils/binary_logger
Expand Down
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,17 @@ BibTex:
doi={10.1109/ETFA54631.2023.10275365}}
```

## Disclaimer
Copyright (c) 2023, Cesare Tonola CNR-STIIMA [email protected].
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. 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.
3. Neither the name of the <organization> 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 <COPYRIGHT HOLDER> 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.

## Developer Contact
### **Authors**
- Cesare Tonola (<mailto::[email protected]>)
Expand Down
73 changes: 73 additions & 0 deletions replanners_benchmark/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
{
"files.associations": {
"iostream": "cpp",
"vector": "cpp",
"cctype": "cpp",
"clocale": "cpp",
"cmath": "cpp",
"csignal": "cpp",
"cstdarg": "cpp",
"cstddef": "cpp",
"cstdio": "cpp",
"cstdlib": "cpp",
"cstring": "cpp",
"ctime": "cpp",
"cwchar": "cpp",
"cwctype": "cpp",
"array": "cpp",
"atomic": "cpp",
"strstream": "cpp",
"*.tcc": "cpp",
"bitset": "cpp",
"chrono": "cpp",
"complex": "cpp",
"condition_variable": "cpp",
"cstdint": "cpp",
"deque": "cpp",
"forward_list": "cpp",
"list": "cpp",
"unordered_map": "cpp",
"unordered_set": "cpp",
"exception": "cpp",
"algorithm": "cpp",
"functional": "cpp",
"iterator": "cpp",
"map": "cpp",
"memory": "cpp",
"memory_resource": "cpp",
"numeric": "cpp",
"optional": "cpp",
"random": "cpp",
"ratio": "cpp",
"set": "cpp",
"string": "cpp",
"string_view": "cpp",
"system_error": "cpp",
"tuple": "cpp",
"type_traits": "cpp",
"utility": "cpp",
"hash_map": "cpp",
"hash_set": "cpp",
"fstream": "cpp",
"future": "cpp",
"initializer_list": "cpp",
"iomanip": "cpp",
"iosfwd": "cpp",
"istream": "cpp",
"limits": "cpp",
"mutex": "cpp",
"new": "cpp",
"ostream": "cpp",
"shared_mutex": "cpp",
"sstream": "cpp",
"stdexcept": "cpp",
"streambuf": "cpp",
"thread": "cpp",
"cfenv": "cpp",
"cinttypes": "cpp",
"typeindex": "cpp",
"typeinfo": "cpp",
"variant": "cpp",
"bit": "cpp"
}
}
9 changes: 6 additions & 3 deletions replanners_benchmark/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ add_compile_options(-std=c++17 -funroll-loops -Wall -Ofast)
set(CMAKE_BUILD_TYPE Release)
#set(CMAKE_BUILD_TYPE Debug)

find_package(yaml-cpp REQUIRED)
find_package(catkin REQUIRED COMPONENTS
replanners_lib
)
Expand All @@ -19,6 +20,8 @@ include_directories(

add_executable(replanners_benchmark src/replanners_benchmark.cpp)
add_dependencies(replanners_benchmark ${catkin_EXPORTED_TARGETS})
target_link_libraries(replanners_benchmark
${catkin_LIBRARIES}
)
target_link_libraries(replanners_benchmark ${catkin_LIBRARIES} yaml-cpp)

add_executable(replanners_benchmark_random src/replanners_benchmark_random.cpp)
add_dependencies(replanners_benchmark_random ${catkin_EXPORTED_TARGETS})
target_link_libraries(replanners_benchmark_random ${catkin_LIBRARIES} yaml-cpp)
59 changes: 59 additions & 0 deletions replanners_benchmark/config/planar_10dof.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
#TEST CONFIGURATIONS:
n_query_start: 0
n_query: 1000
n_iter_per_query: 1
bench_name: "10d"

#PLANNING CONFIGURATIONS:
group_name: "planar_10dof"
utopia_tolerance: 0.01
extend: false
max_distance: 0.1
checker_resolution: 0.01
parallel_checker_n_threads: 20
max_solver_time: 30

#REPLANNER CONFIGURATIONS:

# Available replanners:
# - MPRRT
# - DRRTStar
# - DRRT
# - anytimeDRRT
# - MARS

replanner_type_vector: ["MARS"]
dt_replan: 0.200
trj_execution_thread_frequency: 500
collision_checker_thread_frequency: 30
benchmark: true
scaling: 0.6
read_safe_scaling: false
joint_target_topic: "/joint_target"
unscaled_joint_target_topic: "/unscaled_joint_target"
virtual_obj:
spawn_objs: true
obj_type: ["long_box"]
max_ws_dist: 10
dt_move: 0.005
obs_pose_topic: "/poses"

MPRRT:
n_threads_replan: 5

MARS:
n_other_paths: 2
reverse_start_nodes: true
full_net_search: false
dt_replan_relaxed: 0.200
verbosity_level: 2
display_other_paths: false

#VERBOSITY:
replanner_verbosity: false
display_timing_warning: false
display_replanning_success: true
display_replan_trj_point: false
display_replan_config: true
display_current_trj_point: false
display_current_config: true
Loading