-
Notifications
You must be signed in to change notification settings - Fork 691
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
feat(autoware_scene_to_image_projector): init package #7951
base: main
Are you sure you want to change the base?
feat(autoware_scene_to_image_projector): init package #7951
Conversation
Thank you for contributing to the Autoware project! 🚧 If your pull request is in progress, switch it to draft mode. Please ensure:
|
3667345
to
99c909a
Compare
99c909a
to
1c0b7b9
Compare
…autoware_auto. Signed-off-by: palas21 <palas21@itu.edu.tr>
… are fixed. Signed-off-by: palas21 <palas21@itu.edu.tr>
Signed-off-by: palas21 <palas21@itu.edu.tr>
Signed-off-by: palas21 <palas21@itu.edu.tr>
…according to reviewer suggestions. Signed-off-by: palas21 <palas21@itu.edu.tr>
acc05f3
to
2c8c45d
Compare
…s fixed. Signed-off-by: palas21 <palas21@itu.edu.tr>
…-and-useful-informations-onto-the-2d-image
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #7951 +/- ##
==========================================
- Coverage 29.25% 29.18% -0.08%
==========================================
Files 1601 1607 +6
Lines 117738 118024 +286
Branches 50709 50766 +57
==========================================
+ Hits 34450 34451 +1
- Misses 74060 74345 +285
Partials 9228 9228
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@palas21 Hi, I am checking your package. Is it possible to combine the visualization of the plugin versions? In my opinion, the plugin version better shows the visualization which lines have transparency in their color and the line (polygons) get disappear in the distance. Additionally, the plugin version can indicate the path information based on the planning by changing the color of the path. |
image_pub_ = this->create_publisher<sensor_msgs::msg::Image>("~/output/image", 10); | ||
|
||
image_sub_ = this->create_subscription<sensor_msgs::msg::Image>( | ||
"~/input/image", 10, |
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.
I need to change the QoS to rclcpp::QoS{10}.best_effort()
for the ~/input/image
.
Can you check this?
std::vector<std::vector<cv::Point2f>> previous_polygons; | ||
|
||
for (const auto & object : objects) { | ||
if (should_skip_object(object.classification.front().label)) { |
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.
Sometimes object does not have classification, so I needed to check object.classification.empty()
.
This happens when I was checking a local rosbag with logging simulator.
Could you check this too?
latest_trajectory_->header.stamp); | ||
|
||
if (!self_transform) { | ||
RCLCPP_WARN(this->get_logger(), "Transform is not possible!"); |
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.
Thank you for your PR!
Can you use RCLCPP_WARN_THROTTLE
?
|
||
## Future extensions / Unimplemented parts | ||
|
||
- The algorithm works for syncronized data but if the data is unsyncronized another method should be obtained. |
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.
Please fix typos.
@Shin-kyoto @palas21 (shamelessly attempting to avoid compiling packages that we do not always use) |
Thank you for your comment!! @palas21 |
friendly ping |
@Shin-kyoto sorry for the late response. I will move this PR to autoware_tools. I will open the PR after i make the suggested changes. Thanks all for the reviews. |
This pull request has been automatically marked as stale because it has not had recent activity. |
Description
The
autoware_scene_to_image_projector
package facilitates visualizing 3D data such as bounding boxes of detected objects, ego vehicle trajectory, and road boundaries onto the 2D camera image plane. It uses transformations and projection algorithms to achieve this visualization, ensuring accurate placement of elements relative to the camera's perspective.Related links
Parent Issue:
How was this PR tested?
Notes for Reviewers
Interface changes
None.
Effects on system behavior
None.