I wanna execute a subprogram that I created in a process node, but when I try to I get this message:
Run Robot Routine error: Unable to evaluate routine name expression to a string-type result
Can you help me with this?
Thank you!
I wanna execute a subprogram that I created in a process node, but when I try to I get this message:
Run Robot Routine error: Unable to evaluate routine name expression to a string-type result
Can you help me with this?
Thank you!
Pass the routine name in quotes so it becomes a string. Note that RoutineName is an expression, so anything without quotes needs to be a variable or a function (Yes, for example expression SimTime() < 30.0 ? “MyRoutine” : “MyRoutine2” works for RunRobotRoutine)
Thank you so much, that worked!