Behavior change on Lyrical: static transforms are cleared by BufferCore::clear() (RViz Reset)
I maintainer di solito rispondono entro 1 giorno
@tfoote ci sta già lavorando.
Dal 23/10/2026.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 72/100
Direzione di ricerca
Start with tf2::StaticCache::clearList() and BufferCore::clear(), comparing the Jazzy and Lyrical behavior described in the issue. Reproduce the problem with robot_state_publisher, RViz, and the TF display, then verify that static transforms remain available after pressing Reset and that the reported camera lookup crash no longer occurs.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Environment
- Operating System:
- Ubuntu 24.04
- Installation type:
- binaries (ROS 2 Lyrical packages in the NVIDIA Isaac ROS 5.0 container)
- Version or commit hash:
- ros-lyrical-tf2 0.45.9
- DDS implementation:
- Fast DDS (rmw_fastrtps_cpp)
- Client library (if applicable):
- rclcpp
Steps to reproduce issue
- Start robot_state_publisher (the robot has fixed joints) and RViz.
- Add the TF display in RViz.
- Press the Reset button in RViz.
Expected behavior
The TF display stays after Reset, as in Jazzy.
Actual behavior
- The TF display becomes empty after Reset. It does not come back until I restart RViz.
- With camera nodes also running, RViz crashes after Reset:
terminate called after throwing an instance of 'tf2::LookupException' what(): Static cache is empty, when looking up transform from frame [camera_1_left_camera_frame] to frame [world] - The same crash is reported in ros2/rviz#1875.
Additional information
With the same launch files on Jazzy, the TF display stays after Reset.
I compared tf2 in Jazzy and Lyrical. This change in #908 may be related:
// Jazzy
void tf2::StaticCache::clearList() {}
// Lyrical
void tf2::StaticCache::clearList() {populated_ = false;}
I think RViz Reset calls BufferCore::clear(), and now the static transforms are cleared too.
/tf_static is not sent again, so they do not come back.
As a workaround, I changed only this one line back to {}, and built geometry2 (0.45.10) from source.
After this, the TF display did not become empty, even when I pressed Reset many times.
I kept populated_, so I think the fix for #769 (empty cache returns false) still works.
- Lingua principale
- C++
- Stelle
- 157
- Fork
- 265
- Merge medio
- 13h 41m
- PR unite (30g)
- 7
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di ros2/geometry2
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
ros2/geometry2#1014 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
canTransform() returns true but lookupTransform() throws "Static cache is empty" after clear() (crashes Viz on Reset)Forse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
ros2/geometry2#995 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
ros2/geometry2#992 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Transform lookup with per-edge latest fallbackForse di nuovo libera @aarushjain355 l’ha presa 77 giorni fa e non c’è nessuna pull request aperta. Apertaenhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
ros2/geometry2#981 · 5 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di ros2/geometry2
Issue simili
-
arch-based bug niri
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
noctalia-dev/noctalia#5552 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 1/5 1-3 ore Idoneità per principianti 82/100
EchoTools/nevr-runtime#2912 ·
I maintainer di solito rispondono entro 1 giorno
-
area/docdb kind/failing-test priority/medium status/awaiting-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
yugabyte/yugabyte-db#39462 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
meshtastic/firmware#12519 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
I maintainer di solito rispondono entro 1 giorno