question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Data are accumulated on the source frame instead of the display frame when decay time > 0

See original GitHub issue

Description In the 3D panel, the accumulation of laser scan (not sure about other types) seems to be problematic when setting a positive value of decay time. I expect its points to be accumulated on the display frame, like in RViz. But it seems to be accumulating on the data source frame or other way.

  • Version: 1.32.0-dev
  • OS: Windows 11
  • Data source (e.g. bag file, mcap file, rosbridge, ROS 1/2 native):
  • ROS distro (if applicable):

Steps To Reproduce

Open a bag that has a laser scan topic, where the scan data are associated on a sensor frame (e.g. “laser”), and the sensor frame is moving w.r.t. a world frame (e.g. “world”), with correct transformations on /tf. Open a 3D panel, in its settings, set the Display frame to be the world frame and the Follow mode to be Fixed. Then turn on the scan topic, and set its decay time to a positive number such as 100.

Expected Behavior The scan points are accumulated on the world frame, so that they form the shape of the environment when the robot is moving.

Actual Behavior The accumulated points move with the robot.

See an example below: (on the right hand side there is the accumulation of the same data in RViz, for comparison)

foxglove3

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
jtbandescommented, Dec 15, 2022

Thanks for the report. I’ve fixed some issues in #4986 and I believe it’s now behaving correctly! Here’s what your sample data looks like now:

https://user-images.githubusercontent.com/14237/207955675-0ffb7406-3bff-4a8e-8db9-2ffaca5133f8.mov

1reaction
cedrusxcommented, Dec 13, 2022

Hi @jtbandes , this is the bag used in the exmple: foxglove-issue4892.zip

Read more comments on GitHub >

github_iconTop Results From Across the Web

MIRI Reset Switch Charge Decay: FRAMERESETS Study
Rejecting frames in the FR=0 data have minimal impact on the RSCD slope difference effect. The proposed RCSD correction (see section 4.2).
Read more >
epiDisplay: Epidemiological Data Display Package
Description. This dataset contains data on age at first marriage of attendants at a workshop in 1997. Usage data(Marryage). Format. A data frame...
Read more >
Measurement Classes — Time Tagger User Manual 2.13.2.0 ...
Discards accumulated measurement data, initializes the data buffer with zero values, and resets the state to the initial state. start() . Starts...
Read more >
pmndrs/drei: useful helpers for react-three-fiber - GitHub
A planar, Y-up oriented shadow-catcher that can accumulate into soft shadows and has zero performance impact after all frames have accumulated. It can...
Read more >
Chapter 6 ACIS: Advanced CCD Imaging Spectrometer
Frame Times - Full Frames​​ Frame times are selectable within a range of values spanning the time interval from 0.2 to 10.0 sec....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found