https://github.com/mapiv/tracked_objects_crop_box_filter
https://github.com/mapiv/tracked_objects_crop_box_filter
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mapiv/tracked_objects_crop_box_filter
- Owner: MapIV
- License: apache-2.0
- Created: 2024-07-22T06:55:14.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-26T06:52:05.000Z (almost 2 years ago)
- Last Synced: 2024-07-26T08:07:38.123Z (almost 2 years ago)
- Language: C++
- Size: 8.79 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Tracked Objects Crop Box Filter
Tested in Ubuntu 22.04 / Humble
## Purpose
Filter TrackedObjects by area, optionally removing Unknown objects.
### tracked_objects_crop_box_filter
Splits a tracked objects topic into `inside` objects and `outside` objects
### Core Parameters
| Name | Type | Default Value | Description |
| ------- | ------ | ------------- | ----------------------------------------- |
| `~/input/objects` | `TrackedObjects` | - | `input object` launch file arg |
| `~/output/inside_objects` | `TrackedObjects` | - | `inside_output_topic` launch file arg |
| `~/output/outside_objects` | `TrackedObjects` | - | `outside_output_topic` |
| `filter_unknown` | bool | false | completely filter UNKNOWN class objects |
| `min_x` | double | -300.0 | x-coordinate minimum value for crop range |
| `max_x` | double | 300.0 | x-coordinate maximum value for crop range |
| `min_y` | double | -300.0 | y-coordinate minimum value for crop range |
| `max_y` | double | 300.0 | y-coordinate maximum value for crop range |
| `min_z` | double | -300.0 | z-coordinate minimum value for crop range |
| `max_z` | double | 300.0 | z-coordinate maximum value for crop range |
### Usage
```
ros2 launch crop_box_filter tracked_object_crop_box_filter.launch.xml input_topic:=/input/tracked_objects inside_output_topic:=/output/inside outside_output_topic:=/output/outside
```