You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
1.7 KiB
35 lines
1.7 KiB
// 初始 6_2 的右姿态,转到 6_2 的左姿态
|
|
await RCS.cancelTasks('3');
|
|
await RCS.agvMove('3', '4_2', '', { priority: 1, forceStartWayPointId: '6_2', forceStartDirection: 'RIGHT' })
|
|
|
|
/* 立刻载货 */
|
|
await RCS.cancelTasks('3');
|
|
await RCS.agvLoad('3', '105_105', { priority: 1, forceStartWayPointId: '4_2', forceStartDirection: 'LEFT' })
|
|
|
|
/* 立刻卸货 */
|
|
await RCS.cancelTasks('3');
|
|
await RCS.agvUnload('3', '105_105', { priority: 1, forceStartWayPointId: '4_2', forceStartDirection: 'LEFT' })
|
|
|
|
/* 3_2 -> 2_2 -> 1_2 */
|
|
await RCS.cancelTasks('3');
|
|
await RCS.agvMove('3', '1_2', '', { priority: 1, forceStartWayPointId: '4_2', forceStartDirection: 'LEFT' })
|
|
|
|
/* 5_2 -> 4_2 -> 3_2 -> 2_2 -> 1_2 -> load -> 2_2 -> unload */
|
|
await RCS.cancelTasks('3');
|
|
await RCS.agvCarry('3', 'rack1/0/0/0', 'rack1/1/0/0', { priority: 1, forceStartWayPointId: '6_2', forceStartDirection: 'RIGHT' })
|
|
|
|
/* 5_2 -> 4_2 -> 3_2 -> 2_2 -> 1_2 -> load -> 2_2 -> 3_2 -> 4_2 -> 5_2 -> 6_2 -> Rotation180 -> 5_2 -> 4_2 -> unload */
|
|
await RCS.cancelTasks('3');
|
|
await RCS.agvCarry('3', 'rack1/0/0/0', '105_105', { priority: 1, forceStartWayPointId: '6_2', forceStartDirection: 'RIGHT' })
|
|
|
|
/* 5_2 -> 4_2 -> 3_2 -> 2_2 -> 1_2 -> load */
|
|
await RCS.cancelTasks('3');
|
|
await RCS.agvLoad('3', 'rack1/0/0/0', { priority: 1, forceStartWayPointId: '6_2', forceStartDirection: 'RIGHT' })
|
|
|
|
/* 4_2 -> 5_2 -> 6_2 -> Rotation180 -> 5_2 -> 4_2 -> load */
|
|
await RCS.cancelTasks('3');
|
|
await RCS.agvLoad('3', '105_105', { priority: 1, forceStartWayPointId: '3_2', forceStartDirection: 'RIGHT' })
|
|
|
|
/* Rotation180 -> 5_2 -> 4_2 -> unload */
|
|
await RCS.cancelTasks('3');
|
|
await RCS.agvUnload('3', '105_105', { priority: 1, forceStartWayPointId: '6_2', forceStartDirection: 'RIGHT' })
|