Skip to content

Visualize brake and indicator lights - Follow Up#118

Merged
jdsika merged 1 commit into
lichtblick-suite:mainfrom
buraktiryaki:feat/visualize-brake-and-indicator-lights-3
Aug 6, 2025
Merged

Visualize brake and indicator lights - Follow Up#118
jdsika merged 1 commit into
lichtblick-suite:mainfrom
buraktiryaki:feat/visualize-brake-and-indicator-lights-3

Conversation

@buraktiryaki

Copy link
Copy Markdown
Contributor

The lights are now correctly positioned within the bounding box.

Also mounting position of the lights correct for the vehicle with different size:
wider

narrower

@jdsika jdsika added the enhancement New feature or request label Aug 6, 2025
@jdsika jdsika added this to the v0.0.7 milestone Aug 6, 2025
@jdsika jdsika merged commit 6873cfb into lichtblick-suite:main Aug 6, 2025
1 check passed
@thomassedlmayer

thomassedlmayer commented Aug 6, 2025

Copy link
Copy Markdown
Collaborator

@buraktiryaki @jdsika Are you aware that this change breaks the rendering of frames that contain moving objects that do not have (brake) lights? Nothing is being rendered in that case, since the extension just exits on a type error.

image

This should be checked again. Pedestrians or animals usually don't have lights at all and in my opinion it should also be allowed to have incomplete OSI data (vehicles without light definitions) and still be able to render the rest of the object.

@jdsika

jdsika commented Aug 6, 2025

Copy link
Copy Markdown
Collaborator

@buraktiryaki @jdsika Are you aware that this change breaks the rendering of frames that contain moving objects that do not have (brake) lights? Nothing is being rendered in that case, since the extension just exits on a type error.
image

This should be checked again. Pedestrians or animals usually don't have lights at all and in my opinion it should also be allowed to have incomplete OSI data (vehicles without light definitions) and still be able to render the rest of the object.

I did explicitly ask to check this and I guess it will be fixed in the next PR

@jdsika

jdsika commented Aug 7, 2025

Copy link
Copy Markdown
Collaborator

@thomassedlmayer would you mind providing your .mcap file that produces the crash? (you could add it to the data folder)

@thomassedlmayer

thomassedlmayer commented Aug 7, 2025

Copy link
Copy Markdown
Collaborator

@jdsika I added an example file with very minimal OSI content (no lights etc.) which IMO should be able to be visualized by the viewer. The file can also be used to check that moving objects actually disappear in the viewer once they are omitted in an OSI message.

Btw it does not crash the whole application, the error just gets caught by the "try" statement and the rest of the rendering process is skipped for each frame.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants