61 lines
4.7 KiB
XML
61 lines
4.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!-- 物流路径规划数据交换文件 -->
|
|
<PathPlanningData xmlns="http://example.com/navisworks/delmia/pathplanning"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://example.com/navisworks/delmia/pathplanning pathplanning.xsd" exportTimestamp="2023-10-27T10:30:00Z" sourceApplication="NavisworksTransportPlugin"
|
|
version="1.0"> <ProjectInfo>
|
|
<ProjectId>PRJ-12345</ProjectId>
|
|
<ProjectName>Main Hospital Construction</ProjectName> <Description>Path for Delivery Truck #1 and Crane #2</Description> </ProjectInfo>
|
|
<!-- 定义场景中的静态元素,用于碰撞检测 --> <StaticElements>
|
|
<Obstacle id="obs-1" name="Building A"> <BoundingBox>
|
|
<Min x="-50.0" y="0.0" z="-30.0"/> <Max x="50.0" y="20.0" z="30.0"/>
|
|
</BoundingBox>
|
|
</Obstacle>
|
|
<Obstacle id="obs-2" name="Storage Area"> <BoundingBox> <Min x="60.0" y="0.0" z="-20.0"/> <Max x="100.0" y="10.0" z="20.0"/> </BoundingBox> </Obstacle>
|
|
</StaticElements> <!-- 定义需要规划路径的移动对象 -->
|
|
<MovingObjects> <Object id="obj-1" name="Delivery Truck #1" type="Vehicle"> <Geometry>
|
|
<!-- 可以是简单的包围盒或更复杂的引用 --> <BoundingBox> <Min x="-2.5" y="0.0" z="-1.0"/> <Max x="2.5" y="3.0" z="1.0"/> </BoundingBox> </Geometry>
|
|
<Trajectory id="traj-1" name="Route to Loading Bay">
|
|
<Waypoints>
|
|
<Waypoint id="wp-1" type="Start"> <Position x="0.0" y="0.0" z="0.0"/> <Orientation qw="1.0" qx="0.0" qy="0.0" qz="0.0"/> <!-- 四元数表示旋转 -->
|
|
<Speed unit="m/s">0.0</Speed>
|
|
<Time unit="s">0.0</Time>
|
|
</Waypoint>
|
|
<Waypoint id="wp-2" type="Via"> <Position x="20.0" y="0.0" z="5.0"/> <Orientation qw="0.92" qx="0.0" qy="0.38" qz="0.0"/>
|
|
<Speed unit="m/s">2.0</Speed>
|
|
<Time unit="s">15.0</Time>
|
|
</Waypoint>
|
|
<Waypoint id="wp-3" type="Via"> <Position x="45.0" y="0.0" z="10.0"/> <Orientation qw="0.71" qx="0.0" qy="0.71" qz="0.0"/>
|
|
<Speed unit="m/s">1.5</Speed> <Time unit="s">35.0</Time>
|
|
</Waypoint> <Waypoint id="wp-4" type="Goal">
|
|
<Position x="80.0" y="0.0" z="0.0"/> <Orientation qw="0.0" qx="0.0" qy="1.0" qz="0.0"/>
|
|
<Speed unit="m/s">0.0</Speed> <Time unit="s">60.0</Time>
|
|
</Waypoint>
|
|
</Waypoints>
|
|
<Metadata>
|
|
<PlannedBy>Navisworks Auto-Planner</PlannedBy> <PlannedDate>2023-10-26</PlannedDate> <TotalLength unit="m">100.5</TotalLength>
|
|
<EstimatedDuration unit="s">60.0</EstimatedDuration> </Metadata>
|
|
</Trajectory>
|
|
</Object> <Object id="obj-2" name="Crane #2" type="Crane">
|
|
<Geometry>
|
|
<BoundingBox>
|
|
<Min x="-5.0" y="0.0" z="-5.0"/> <Max x="5.0" y="15.0" z="5.0"/> </BoundingBox> </Geometry>
|
|
<Trajectory id="traj-2" name="Lifting Path"> <Waypoints>
|
|
<Waypoint id="wp-10" type="Start">
|
|
<Position x="10.0" y="0.0" z="10.0"/>
|
|
<Orientation qw="1.0" qx="0.0" qy="0.0" qz="0.0"/>
|
|
<Speed unit="m/s">0.0</Speed>
|
|
<Time unit="s">0.0</Time>
|
|
</Waypoint>
|
|
<Waypoint id="wp-11" type="Via"> <Position x="10.0" y="5.0" z="10.0"/> <Orientation qw="1.0" qx="0.0" qy="0.0" qz="0.0"/>
|
|
<Speed unit="m/s">0.5</Speed>
|
|
<Time unit="s">10.0</Time>
|
|
</Waypoint>
|
|
<Waypoint id="wp-12" type="Goal">
|
|
<Position x="10.0" y="10.0" z="10.0"/> <Orientation qw="1.0" qx="0.0" qy="0.0" qz="0.0"/>
|
|
<Speed unit="m/s">0.0</Speed>
|
|
<Time unit="s">20.0</Time>
|
|
</Waypoint> </Waypoints> <Metadata> <PlannedBy>Manual Navisworks</PlannedBy> <PlannedDate>2023-10-26</PlannedDate>
|
|
<TotalLength unit="m">10.0</TotalLength> <EstimatedDuration unit="s">20.0</EstimatedDuration> </Metadata> </Trajectory>
|
|
</Object>
|
|
</MovingObjects>
|
|
</PathPlanningData> |