Robots in Architecture Forum

KUKA|prc - parametric robot control for Grasshopper => Support => Topic started by: z5113452 on August 31, 2020, 06:48:23 AM

Title: PRC / Sunrise error
Post by: z5113452 on August 31, 2020, 06:48:23 AM
Hey everyone,

Has anyone had this error before ? It can't seem to read the xml file correctly. I don't think it is the tool name or the base as normally the error shows that.

Any help would be greatly appreciated.
Title: Re: PRC / Sunrise error
Post by: Johannes @ Robots in Architecture on August 31, 2020, 07:26:53 AM
Good Morning,

Take a look at line 369 of Core_Run and see what is going on there, maybe set a breakpoint shortly before and then step through the code. It's hard to troubleshoot from afar as I don't know your code and how the library may have been modified (i.e. if your line 369 is the same as my line 369). In any case, some element that shouldn't be null is null.

Best,
Johannes
Title: Re: PRC / Sunrise error
Post by: z5113452 on September 01, 2020, 02:07:30 AM
Hi Johannas,

Thanks for you response, the section of code is about motionBatch - would this be something to do with missing information coming out of PRC?  The line is highlighted in image attached.

Title: Re: PRC / Sunrise error
Post by: Johannes @ Robots in Architecture on September 01, 2020, 07:11:03 AM
Can you set a breakpoint and check which item is null? It might be the robot, tool list of commands or the individual command.

Thanks!
Johannes