::hwat::core::PositionRearBarrier - Positions the rear barrier.
::hwat::core::PositionRearBarrier vehicleAssem barrierName ground gap groundToBarrierDistance value [flag]
vehicleAssem |
The name of the vehicle assembly. |
barrierName |
The name of the barrier assembly. |
ground |
The true ground position (z coordinate). |
gap |
The gap in mm. |
groundToBarrierDistance |
The distance from the ground to the base of the barrier. |
value |
The value for the overlap or offset option. |
flag |
Either "offset" or "overlap" (default = offset). Overlap: 0 has no useful meaning since the barrier and vehicle would not impact each other. -10 means that the barrier will overlap the left side of the vehicle by 10% of the vehicle's width. 20 means that the barrier will overlap the right side of the vehicle by 20% of the vehicle's width. Offset: 0% means that the barrier and vehicle center lines line up. -10% means that the barrier is offset to the left by 10% of the vehicle's width. 20% means that the barrier is offset to the right by 20% of the vehicle's width. |
1 if successful, {} if unsuccessful.
::hwat::core::PositionRearBarrier "VEHICLE" "BARRIER" 120 10 200.0 –40 Overlap.
COMMENT
This function assumes that the barrier has been imported.