Skip to main content

Wagon for truck

This element is a wagon to transport truck by rail.

Is an equipment
Can have equipment

This element must be used with 2D scene context.

Wagon for truck dimensions

Icon

Wagon for truck

2D Representation

Wagon for truck Wagon for truck

3D Representation

Wagon for truck

External parameters

Show/Hide all parameters
parametereditable via "Parameter" tabupdatable via a mappingdescriptionunittype
Color✔️✔️Color of the element. This parameter can be edited.-Hexadecimal
X-axis position✔️✔️Position of the element on the X-axis of the scene in which it is located.meterDecimal number
Y-axis position✔️✔️Position of the element on the Y-axis of the scene in which it is located.meterDecimal number
Z-axis angle✔️✔️Angle of the element on the Z-axis of the scene in which it is located.degreeDecimal number
Speed✔️✔️Speed on the X-axis of the element. This parameter can be profile.kilometers per hourDecimal number
Accel. coeff.✔️✔️Acceration on the X-axis of the element.kilometers per hour squaredDecimal number
Trajectory✔️Trajectory of the scene that the element will follow.-Enumeration
Curvilinear position✔️✔️Position on the trajectory.meterDecimal number
Front distanceDistance with the front wagon or locomotive when detected.meterDecimal number
Wagon is hookedThis parameter shows if the wagon is hooked.-Enumeration (✔️, )
Visibility✔️✔️This parameter allows you to choose if you want the element to be visible or not on the scene during the execution of the scenario. If the item is part of a group, it can inherit the value of that group.-Enumeration (visible, hidden, inherit)
Threshold zoom out✔️Zoom level from which its representation on the scene is no longer modified.%Decimal number
LengthLength of the element.meterDecimal number
WidthWidth of the element.meterDecimal number
Z-axis positionPosition of the element on the Z-axis of the scene in which it is located.meterDecimal number
HeightHeight of the wagon.meterDecimal number
longitude coordinateAutomatically calculated longitude value, based on the origin defined for the context and the position of the element.degreeDecimal number
latitude coordinateAutomatically calculated latitude value, based on the origin defined for the context and the position of the element.degreeDecimal number

Triggered behaviours

See Triggered behaviours and events page for more explanation: Triggered behaviours and events.

Show/Hide all triggered behaviours

Destroy

At the reception of the flow, the element is destroy.

No parameters for this triggered behaviour.

Stuck truck

At the reception of the flow, the wagon stucks the truck.

Release truck

At the reception of the flow, the wagon releases the truck.

Hook wagon

At the reception of the flow, the wagon will hook to the front locomotive or wagon. The hook working if the distance is between 0 and 0.2 meters.

Unhook wagon

At the reception of the flow, the wagon will unhook to the front locomotive or wagon.

Update Trajectory

parametereditable via "Parameter" tabupdatable via a mappingdescriptionunittype
Reset Curvilinear Position✔️Update position on the trajectory.meterDecimal number
Trajectory Name✔️Name of the trajectory that the car will follow.-TextType

Events

See Triggered behaviours and events page for more explanation: Triggered behaviours and events.

Show/Hide all events
eventdescription
On Parameter Value ChangedThe element can send information to the model when the value of the selected parameter has changed
At initializationThe wagon for truck can send information to the model once at initialization
ContinuallyThis event is triggered at each cycle of the Virtual Bench
Presence of truckThis event is constantly triggered when a truck is detected on the wagon
Absence of truckThis event is constantly triggered when no trucks are detected on the wagon
Front presenceThis event is constantly triggered when a locomotive or wagon is detected within 10 meters
Start front detectionThis event is triggered once when a locomotive or wagon starts being detected within 10 meters
Stop front detectionThis event is triggered once when a locomotive or wagon stops being detected within 10 meters
Stuck successThis event is triggered when the stuck of truck is successful
Stuck failureThis event is triggered when the stuck of truck failed
Hook successThis event is triggered when the hook of wagon is successful
Hook failureThis event is triggered when the hook of wagon failed