Author Topic: Collision and Unreachable Position Detection  (Read 166 times)

GammaNYC

  • Robots in Architecture Members
  • Forum User
  • *
  • Posts: 5
    • View Profile
Collision and Unreachable Position Detection
« on: September 10, 2018, 09:17:52 PM »
Hello,

I am attempting to extract the collision/unreachability state of my simulation by looking at the analysis values under the "COLLISION" and "REACHABILITY" outputs, however, there seem to be moments where the path created is unreachable and those outputs still give me a value of 0 on all positions (when they are supposed to give me a value of 1 when a problem is detected).

The simulation still changes the axis to a red color during those moments, but the PRC engine stays gray (meaning everything is fine).

What am I missing?
Is there another output I can monitor to catch these exceptions?

Thanks

singline

  • Robots in Architecture Members
  • Forum User
  • *
  • Posts: 40
    • View Profile
Re: Collision and Unreachable Position Detection
« Reply #1 on: September 11, 2018, 09:55:19 AM »
Can you post the gh file?

Johannes @ Robots in Architecture

  • Lead Developer
  • Administrator
  • Forum User
  • *****
  • Posts: 762
    • View Profile
    • Robots in Architecture
Re: Collision and Unreachable Position Detection
« Reply #2 on: September 11, 2018, 04:27:58 PM »
Hello,

My guess would be that the unreachable collision occurs in-between two movements. If you disabled it, make sure to enable the Interpolate Toolpath option in the Advanced Settings, and if it's on, try changing it to a lower value like 1mm.

Also, you get the collision value for each joint, so consider using Mass Addition to sum them up!

Hope that helps!
Best,
Johannes

GammaNYC

  • Robots in Architecture Members
  • Forum User
  • *
  • Posts: 5
    • View Profile
Re: Collision and Unreachable Position Detection
« Reply #3 on: September 11, 2018, 06:31:00 PM »
I have interpolation enabled at 1mm resolution (which slows GH wayyyy down), but even then I can't get it to output the correct numbers.
Here's a screenshot of the unreachable path. Even though the simulation shows that one of the axis is unable to reach (hence it turns red) the analysis output does not reflect it.

@singline: cant post the gh file because it uses a lot of custom coded component for which i cant provide the DLLs for.

« Last Edit: September 11, 2018, 08:22:57 PM by GammaNYC »

Johannes @ Robots in Architecture

  • Lead Developer
  • Administrator
  • Forum User
  • *****
  • Posts: 762
    • View Profile
    • Robots in Architecture
Re: Collision and Unreachable Position Detection
« Reply #4 on: September 13, 2018, 12:00:55 PM »
Hello,

Can you maybe internalize the plane input? That way it's static geometry and we don't need the custom DLLs.

Best,
Johannes