[BUG?] Vector creates "NaN" in linear repeater
Hi, I think i have found a bug in the smartcomponent system. I have a linear repeater called "stackspawn", which i use to make a stack of my parts. However, I have found that when setting all the values in the vector to zero (see image). The offset of the linear repeater becomes NaN.
Is this a feature or a bug?
Tagged:
0
Comments
-
Hi kkNielsen,
Why would it be meaningful with an offset of [0,0,0]mm?
Do you have any use cases where this feature would be useful?
Thanks!—Maxim RiabichevPC Software Support Engineer0 -
Maxim Riabichev said:Hi kkNielsen,
Why would it be meaningful with an offset of [0,0,0]mm?
Do you have any use cases where this feature would be useful?
Thanks!
Systemintegrator - Web / C# / Rapid / Robotstudio
If I helped, please press Vote Up
☑️2024 - RobotStudio® User Group0 -
Hello Tompan,
Please consider that the SmartComponent in question is a LinearRepeater. The reason 0 isn't an acceptable number, in this case, is because that would make the LinearRepeater into a Source SC.
That's why I asked if there perhaps was some case where a 0 on a LinearRepeater would be useful.
—Maxim RiabichevPC Software Support Engineer0 -
@Maxim Riabichev Thanks for answering.
I would not consider 0 to be NaN. It took quite a few hours of debugging to figure out that the LinearRepeater was the cause of my problems.
In my case there were use cases where I only had 1 object in my stack and then I would not specify the offset, If I have more than 1 object in my stack i would add an offset based on the amount of objects.
0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 316 IRC5
- 61 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 798 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings