[roseus_tutorials] add tf bbox sample #703
Open
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.
Add sample scripts which subscribe BoundingBoxArray and convert it to world coordinates.
You can quickly try this by launching
sample_hsi_color_filter.launch
.sample_hsi_color_filter.launch
: launchhsi_color_filter.launch
+pr2-setting.l
+display-tf-bounding-box-array.l
display-tf-bounding-box-array.l
: main file (This is an extention of https://github.com/jsk-ros-pkg/jsk_roseus/blob/b8a4ba68aecfdcad8eacb836c2f6efe93c858d88/roseus_tutorials/src/display-bounding-box-array.l.)pr2-setting.l
: read pr2 robot fordisplay-tf-bounding-box-array.l
, requiringpr2eus
.Note that when getting the
base->cam-coords
, we uselookup-transform
.This is because we expect
base->cam-coords
is dynamic.If your
base->cam-coords
is static, use(setq base->cam-coords (send (send *YOUR_EUS_MODEL* :YOUR_CAMERA_FRAME) :copy-worldcoords))))
instead.TODO: make a sample for display-bounding-box-array.l with another PR.