Replies: 2 comments
-
Hi @frettini Aha, that's definitely something we hadn't thought about. Does it work if you define |
Beta Was this translation helpful? Give feedback.
-
Hi @njroussel , |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am having issues using the batch sensor with the stokes integrator. A problem arise when aligning the stokes vector to the x-axis of the sensor. Instead of aligning to the nested sensor's x-axis, it aligns instead to the parent batch sensor frame. This is probably due to how the sensor is retrieved directly from the scene:
From what I gathered, this returns the batch sensor's world transform and not the nested sensors' transform. I have tried making world_transform() virtual and make use of m_last_index in the batch sensor to get the nested sensors' transform as such:
However, this seems to be prone to error in a threaded environment (I have only tested in scalar mode so far). Am I missing something? Do you have any pointers on how I could fix this? Many thanks.
Beta Was this translation helpful? Give feedback.
All reactions