-
Notifications
You must be signed in to change notification settings - Fork 463
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
Feature/add arrow strip marker #1786
Feature/add arrow strip marker #1786
Conversation
@rhaschke Should I be concerned about the build failing? It's not super clear to me what the cause is 😅 |
To enable your msg changes, just add your fork+branch of |
Don't be concerned about the ROS build farm failure, which just reports on warnings. However, the GHA jobs should pass. |
Only the length is changed, all of the arrows have the same head and shaft thickness, controlled through
Thanks, I'll do that now. How exactly does it work? Does |
|
…ranch dependent lines
Thanks. I've made those changes now 👍 |
@rhaschke The ABI build seems to be failing due to missing the |
Ah, I think I forgot to add it somewhere |
Okay, I've added that dependency to |
Please merge rivelinrobotics#1 |
Minor adaptions for arrow strip marker
Thanks for the changes. Done 👍 |
Hey @rhaschke, I noticed the ABI workflow failed here: https://github.com/ros-visualization/rviz/actions/runs/4510995093/jobs/7945031975 Is that something your changes should've fixed, or shall I investigate that? |
The ABI failure is unrelated and stems from a previous PR. Don't care about that one. The major hurdle for this PR is now to get the message changes merged. |
@tfoote Has recommended merging the |
Description
Fixes #1785
Depends on: ros/common_msgs#190
This PR adds a new
ARROW_STRIP
Marker
type for more efficient / reliable rendering of large batches of arrows.When using
ARROW_STRIP
, Thepoints
field of theMarker
message should be populated with N points, where each pair of consecutive points defines the start and end of an arrow, connected tip to tail. Every other property has the same semantics asARROW
, and is applied to all arrows in the strip.This PR also adds a new test script,
arrow_strip_marker_test.py
, which renders anARROW_STRIP
around the circumference of a circle, and modifies the orientation over time to test that thepose
field applies to all arrows in the strip.Since ros/common_msgs#190 is unmerged, I hijacked the
LINE_STRIP
Marker
type inmarker_utils.cpp
createMarker()
to return anArrowStripMarker
in order to get the script working for the video. These changes have not been comitted, and the lines of code using the newARROW_STRIP
msg constant are left commented out for until that PR is merged.Video
The following video shows
test_arrow_strip_marker.py
in action:arrow_strip_marker.webm
Documentation
ROS Wiki Marker page to update after merging: Wiki access granted
Let me know if there are any other docs that need updating.