Hi,
How can I use the currentCP command to reassign the cp the AGV is connected to? Using the old agvreassigncp works fine, but when I try to do this with the new dot syntax ( I assume I should use the currentCp function) it does not work. What goes wrong here?
Object newCP = Model.find("ControlPoint3"); Object taskEx = Model.find("TaskExecuter1"); AGV agv = AGV( taskEx ); agv.currentCP = newCP; //Gives exception: Invalid control point at /0 c: /testlink_instance i: /testlink_associated agvreassigncp( taskEx, newCP ); //Works fine