Turn_mask, Blockage_mask, and Obstacle_mask values chart

Description

This illustration and the attached document provide all possible mask values that can be used by the router in CAD.  You must add values up to apply them to a segment.  

Abstract

BLOCKAGE_MASK

Traversing Segment Toward From-Node

Traversing Segment Toward To-Node

Obstacle

Value

Obstacle

Value

Wrong Way (One Way)

1

Wrong Way (One Way)

256

 

 

TURN_MASK

Traversing Segment Toward From-Node

Traversing Segment Toward To-Node

Obstacle

Value

Obstacle

Value

No Straight Ahead

256

No Straight Ahead

1

No Bear Right

512

No Bear Right

2

No Right Turn

1024

No Right Turn

4

No Hard Right

2048

No Hard Right

8

No U-Turn

4096

No U-Turn

16

No Hard Left

8192

No Hard Left

32

No Left Turn

16384

No Left Turn

64

No Bear Left

32768

No Bear Left

128

 

 

OBSTACLE_MASK

Traversing Segment Toward From-Node

Traversing Segment Toward To-Node

Obstacle

Value

Obstacle

Value

Stop Sign

256

Stop Sign

1

Caution Light

512

Caution Light

2

Red Light

1024

Red Light

4

Flashing Red

2048

Flashing Red

8

No Right On Red

4096

No Right On Red

16

 

 

Turn Masks Explanation

The following explains the definition of the turn masks described in Figure 3:

No bear left (a left turn at an angle of 45 degrees +/- 22.5 degrees from the direction of travel).

No left turn (a left turn at an angle of 90 degrees +/- 22.5 degrees from the direction of travel).

No hard left (a left turn at an angle of 135 degrees +/- 22.5 degrees from the direction of travel.)

No U turn (a turn of 180 degrees +/- 22.5 degrees from the direction of travel).

No bear right (a right turn at an angle of 45 degrees +/- 22.5 degrees from the direction of travel).

No right turn (a right turn at an angle of 90 degrees +/- 22.5 degrees from the direction of travel).

No hard right (a right turn at an angle of 135 degrees +/- 22.5 degrees from the direction of travel.)

 

File

BLOCKAGE_fixed.docx
13K • < 1 minute @ 56k, < 1 minute @ broadband