AGV
Description
Provides access to data and methods related to AGVs.
Properties
accumAheadAGV | Gets the next AGV on an accumulating path. |
ampHours | Gets the number of amp hours remaining in the AGV's battery. |
batteryLevel | Gets or sets the ratio of (amp hours remaining)/(total amp hours) as a percentage. |
currentCP | Gets or sets the current control point for this AGV. |
destination | Gets the current destination of the AGV. |
destinationCP | Gets the current desination control point of the AGV. |
finalDestinationCP | Gets the final destination control point of the AGV. |
originCP | Gets the origin control point of the AGV. |
proximityState | Gets the current proximity state of the AGV. |
speed | Gets the current speed of the AGV. |
te | Provides access to Object methods and properties for this AGV. |
Methods
attachTrailer | Attaches the given object as a trailer on the AGV. |
detachTrailer | Detaches the given trailer from the AGV. |
redirect | Redirects the AGV to a new destination, based on the given mode. |
startRecharge | Begins recharging the AGV's battery. |
Static Methods
AGV | Creates an AGV object based on the given TaskExecuter. |
Details
Do no remove, this fixes the anchor on doc.flexsim.com
Do no remove, this fixes the anchor on doc.flexsim.com
Do no remove, this fixes the anchor on doc.flexsim.com
Do no remove, this fixes the anchor on doc.flexsim.com
Do no remove, this fixes the anchor on doc.flexsim.com
Do no remove, this fixes the anchor on doc.flexsim.com
Do no remove, this fixes the anchor on doc.flexsim.com
Do no remove, this fixes the anchor on doc.flexsim.com
Do no remove, this fixes the anchor on doc.flexsim.com
Do no remove, this fixes the anchor on doc.flexsim.com
Do no remove, this fixes the anchor on doc.flexsim.com
Do no remove, this fixes the anchor on doc.flexsim.com
AGV.attachTrailer()
attachTrailer( treenode trailer , double gap , int behind , int detachRule ) |
Parameters
trailer | The object that will trail the AGV |
gap | The trailer's distance from the next trailer or AGV |
behind | Sets the position of the trailer. Can be 0 or 1: 0 is ahead, 1 is behind |
detachRule | Sets the detach mode of the AGV. Can be 0 or 1: 0 is manual, 1 is automatic |
Description
Attaches the given object as a trailer on the AGV.
If you attach the trailer using the manual detach mode, you must call detachTrailer() to detach the trailer.agv.attachTrailer(trailerObj, 0.1, 1, 0);
Do no remove, this fixes the anchor on doc.flexsim.com
Do no remove, this fixes the anchor on doc.flexsim.com
AGV.redirect()
redirect( Object newDest , int mode ) |
Parameters
newDest | The new desination for the AGV to travel to |
mode | Determines what happens on redirect. Can have one of 4 values: REDIRECT_AND_WAIT - if not redirected before arrival, the agv will wait at the destination until redirected REDIRECT_AS_FINAL - the destination becomes the new final destination for the agv REDIRECT_AND_CONTINUE_ON_ARRIVAL - the agv will continue to the final destination after arriving at the intermediate destination REDIRECT_AND_CONTINUE_ON_PRE_ARRIVAL - the agv will continue to the final destination after pre-arriving at the intermediate destination (it will not decelerate to a stop) |
Description
Redirects the AGV to a new destination, based on the given mode.
agv.redirect(newDest, REDIRECT_AS_FINAL);
Do no remove, this fixes the anchor on doc.flexsim.com
Do no remove, this fixes the anchor on doc.flexsim.com
AGV.AGV()
static AGV AGV( treenode te ) |
Parameters
te | A TaskExecuter that is connected to the AGV network as an AGV Traveler. |
Returns
AGV | An AGV object |
Description
Creates an AGV object based on the given TaskExecuter.
An AGV object can only be accessed by calling this method. Casting from a treenode is not correct.AGV agv = AGV(te); // correct
AGV agv = te; // incorrect