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

Question on scene animation and rotating scanners #44

Open
han16nah opened this issue Aug 22, 2024 · 1 comment
Open

Question on scene animation and rotating scanners #44

han16nah opened this issue Aug 22, 2024 · 1 comment

Comments

@han16nah
Copy link

I would like to implement a simulation of an animated scene using a rotating scanner, where the scene is updated as the scanner head rotates. How can I do this with BLAINDER?
In my first attempts, each frame contained my entire scene.
What I want is for the first frame to scan the leftmost part of the scene, the next frame to scan the next section to the right, and so on.

@ln-12
Copy link
Owner

ln-12 commented Dec 29, 2024

It sounds like you did not configure your scanner correctly. The angle which is scanned in each frame is determined by the Frame rate parameter (frames per second) and the Rotations per second parameter (only visible when selecting the scanner type rotating) which can both be configured within the BlAInder interface.

You can calculate it yourself using: 360° * rotations per second / frames per second = angle per frame

For example:

  • when your frame rate is 2 and your rotations per second is 1 then in each frame should scan 360° * 1 / 2 = 180°.
  • when your frame rate is 24 and your rotations per second is 6 then in each frame should scan 360° * 6 / 24 = 90°.

You can have a look at the velodyne.blend file inside the examples directory which shows the use case of a rotating sensor. If that does not help you, could you provide me with a minimal reproducer example please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants