From 4a7fe9071ef26ae1f8926e4ce83a01e2209e995a Mon Sep 17 00:00:00 2001 From: Martin Pecka Date: Mon, 22 Jan 2024 12:08:04 +0100 Subject: [PATCH] Added full_example. --- examples/README.md | 5 +- examples/box.dae | 101 +++++++++++++++++++++++++++++++++++ examples/full_example.launch | 20 +++++++ examples/full_example.urdf | 81 ++++++++++++++++++++++++++++ examples/full_example.yaml | 42 +++++++++++++++ rviz/debug.rviz | 1 - 6 files changed, 248 insertions(+), 2 deletions(-) create mode 100644 examples/box.dae create mode 100644 examples/full_example.launch create mode 100644 examples/full_example.urdf create mode 100644 examples/full_example.yaml diff --git a/examples/README.md b/examples/README.md index 9a6ba4d..043725d 100644 --- a/examples/README.md +++ b/examples/README.md @@ -1,4 +1,7 @@ # robot_body_filter example configurations This folder contains examples of configuration of the filter. -Have a look at them to get an idea what should a config look like. \ No newline at end of file +Have a look at them to get an idea what should a config look like. + +Running `full_example.launch`, you get a quick standalone test of the filter +that runs everything needed to get a filtered laser scan. diff --git a/examples/box.dae b/examples/box.dae new file mode 100644 index 0000000..e83b4ce --- /dev/null +++ b/examples/box.dae @@ -0,0 +1,101 @@ + + + + + Blender User + Blender 2.83.2 + + 2020-03-09T10:49:51 + 2020-03-09T10:49:51 + + Z_UP + + + + + + + + 0 0 0 1 + + + 0.8 0.8 0.8 1 + + + 1.45 + + + + + + + + + + + + + + + + + 1 1 1 1 1 -1 1 -1 1 1 -1 -1 -1 1 1 -1 1 -1 -1 -1 1 -1 -1 -1 + + + + + + + + + + 0 0 1 0 -1 0 -1 0 0 0 0 -1 1 0 0 0 1 0 + + + + + + + + + + 0.875 0.5 0.625 0.75 0.625 0.5 0.625 0.75 0.375 1 0.375 0.75 0.625 0 0.375 0.25 0.375 0 0.375 0.5 0.125 0.75 0.125 0.5 0.625 0.5 0.375 0.75 0.375 0.5 0.625 0.25 0.375 0.5 0.375 0.25 0.875 0.5 0.875 0.75 0.625 0.75 0.625 0.75 0.625 1 0.375 1 0.625 0 0.625 0.25 0.375 0.25 0.375 0.5 0.375 0.75 0.125 0.75 0.625 0.5 0.625 0.75 0.375 0.75 0.625 0.25 0.625 0.5 0.375 0.5 + + + + + + + + + + + + + + +

4 0 0 2 0 1 0 0 2 2 1 3 7 1 4 3 1 5 6 2 6 5 2 7 7 2 8 1 3 9 7 3 10 5 3 11 0 4 12 3 4 13 1 4 14 4 5 15 1 5 16 5 5 17 4 0 18 6 0 19 2 0 20 2 1 21 6 1 22 7 1 23 6 2 24 4 2 25 5 2 26 1 3 27 3 3 28 7 3 29 0 4 30 2 4 31 3 4 32 4 5 33 0 5 34 1 5 35

+
+
+
+
+ + + + 0.5 0 0 0 0 1 0 0 0 0 1.5 0 0 0 0 1 + + + + + + + + + + + + + + + +
\ No newline at end of file diff --git a/examples/full_example.launch b/examples/full_example.launch new file mode 100644 index 0000000..41b94c2 --- /dev/null +++ b/examples/full_example.launch @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/examples/full_example.urdf b/examples/full_example.urdf new file mode 100644 index 0000000..bfcaf73 --- /dev/null +++ b/examples/full_example.urdf @@ -0,0 +1,81 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/examples/full_example.yaml b/examples/full_example.yaml new file mode 100644 index 0000000..e1673e3 --- /dev/null +++ b/examples/full_example.yaml @@ -0,0 +1,42 @@ +# This is an example filter config for tracked vehicle Absolem from Czech Technical University's +# VRAS team. The robot is equipped with a 2D lidar attached to a rotating pivot point. +scan_filter_chain: + - name: RobotBodyFilter + type: robot_body_filter/RobotBodyFilterLaserScan + params: + frames/fixed: 'odom' + frames/sensor: 'laser' + filter/model_pose_update_interval: 0.002 # do not get lower, the processing is then too slow + sensor/point_by_point: True + sensor/min_distance: 0.03 + sensor/max_distance: 50.0 + ignored_links/bounding_sphere: ["antenna", "base_link::big_collision_box"] + ignored_links/shadow_test: ["laser", "base_link::big_collision_box"] + body_model/inflation/scale: 1.07 + body_model/inflation/padding: 0.01 + body_model/robot_description_param: 'robot_description' + transforms/buffer_length: 60.0 + transforms/timeout/reachable: 0.2 + transforms/timeout/unreachable: 0.2 + bounding_sphere/compute: True + bounding_sphere/debug: True + bounding_sphere/marker: True + bounding_sphere/publish_cut_out_pointcloud: True + bounding_box/compute: True + bounding_box/debug: True + bounding_box/marker: True + bounding_box/publish_cut_out_pointcloud: True + oriented_bounding_box/compute: True + oriented_bounding_box/debug: True + oriented_bounding_box/marker: True + oriented_bounding_box/publish_cut_out_pointcloud: True + local_bounding_box/frame_id: "base_link" + local_bounding_box/compute: True + local_bounding_box/debug: True + local_bounding_box/marker: True + local_bounding_box/publish_cut_out_pointcloud: True + debug/pcl/inside: True + debug/pcl/clip: True + debug/pcl/shadow: True + debug/marker/contains: True + debug/marker/shadow: True diff --git a/rviz/debug.rviz b/rviz/debug.rviz index 2a5f20f..7541eba 100644 --- a/rviz/debug.rviz +++ b/rviz/debug.rviz @@ -535,7 +535,6 @@ Visualization Manager: - Class: rviz/PublishPoint Single click: true Topic: /clicked_point - - Class: path_planner_rviz_wp_plugin/WaypointsTool Value: true Views: Current: