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.

/clock from outside sources breaks rendering

See original GitHub issue

Description I am publishing a custom time on the /clock topic, and setting my nodes to use_sim_time:=true. When I use this clock topic, the point cloud in the 3D panel “flickers” it displays the latest message, the stops displaying it (almost immediately) then displays the next message when it arrives.

I am generating the topic data in ROS2, then bridging it across, however I am able to reproduce the bug via ros1 bag file.

When I run my nodes in real-time, or run the bag file with the /clock topic muted, the issue vanishes.

When I drag and drop either bag file (one with /clock and one without), Foxglove plays both back perfectly.

  • Version: 0.12.0
  • OS: Ubuntu 20.04

Steps To Reproduce

example.zip

  1. Play bag file simclock_2021-06-23-11-15-43.bag via rosbag
  2. open a 3d panel in Foxglove, showing the topic /points
  3. you will see the points “flickering”
  4. play either realtime_2021-06-23-11-11-39.bag or the simclock bag file excluding /clock
  5. the issue no longer exists

Expected Behavior Pointcloud should render correctly regardless of /clock source

Actual Behavior Pointcloud rendering breaks

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
defunctzombiecommented, Jun 23, 2021

Can confirm I am able to rosbag play the simclock bag (with and without the --clock flag to rosbag) and see flickering in the 3d panel when connected using the ROS connection in Studio.

0reactions
jhurlimancommented, Dec 8, 2021
Read more comments on GitHub >

github_iconTop Results From Across the Web

How far away from a Redstone Clock can you be before it ...
Normally it depends on your render distance. If the chunks aren't rendered, then anything within won't function. The special case is known as ......
Read more >
Overriding browser time at video render · Issue #399 - GitHub
I'm using framer-motion for animations. I'd like to use remotion to be able to render some of the components as documentation. For timing...
Read more >
How the browser renders a web page? — DOM, CSSOM, and ...
The browser blocks some rendering of a webpage until certain resources are loaded first while other resources are loaded asynchronously. (source: pexels.com).
Read more >
From a Rendering to a Clock... - Electric Time Company
See how we create a Window Clock with RGB LED's. View the YouTube Video, filmed by a drone, to see the 10' clock...
Read more >
Rendering a person's time clock record in HTML, with many ...
There are a few good practices that will help this code out. Close the HTML tags that you open - generate valid HTML....
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