Skip to content
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

Cannot make flat arrows #140

Open
jhurliman opened this issue Feb 20, 2024 · 6 comments
Open

Cannot make flat arrows #140

jhurliman opened this issue Feb 20, 2024 · 6 comments
Labels
feature New feature or request

Comments

@jhurliman
Copy link
Contributor

Description

With ROS arrow markers, you can set size to {1, 1, 0.01} to get a flat arrow. There doesn't seem to be any way to replicate this with SceneEntity arrows.

  • Version: latest
  • Platform: all

Steps To Reproduce

  • Fail to make a flat SceneEntity arrow

Expected Behavior

  • Succeed in making a flat SceneEntity arrow
@jhurliman jhurliman added the bug Something isn't working label Feb 20, 2024
@foxhubber
Copy link

foxhubber bot commented Feb 20, 2024

Internal tracking ticket: FG-6662

@defunctzombie
Copy link
Contributor

defunctzombie commented Feb 20, 2024

Are you not able to set head_length to 0? https://docs.foxglove.dev/docs/visualization/message-schemas/arrow-primitive/

What is a "flat arrow"? Like only the head?

@jhurliman
Copy link
Contributor Author

jhurliman commented Feb 20, 2024

Unfortunately, no combination of those two values will produce an arrow that looks like this (ignore the bevels):

archicad_arrow_object

@defunctzombie
Copy link
Contributor

Is that a screenshot of the arrow you get from the ROS arrow marker or the ArrowPrimitive?

@jhurliman
Copy link
Contributor Author

It's a random image I found online that shows a flat arrow, in the same style that the ROS arrow marker can produce. This type of style cannot be replicated with an ArrowPrimitive because you can only control head/shaft length and diameter, you can't resize per 3d axis.

@defunctzombie
Copy link
Contributor

defunctzombie commented Feb 20, 2024

It's a random image I found online that shows a flat arrow, in the same style that the ROS arrow marker can produce. This type of style cannot be replicated with an ArrowPrimitive because you can only control head/shaft length and diameter, you can't resize per 3d axis.

Gotcha. Thanks for the additional context. I'm gonna move this to feature cause our current arrow primitive is designed for making (volumetric?) arrows rather than trying to be a 1:1 copy of the ROS Marker message.

@defunctzombie defunctzombie added feature New feature or request and removed bug Something isn't working labels Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Development

No branches or pull requests

2 participants