<< NARVAL_IP_PotentialPathP NARVAL NARVAL_IP_RectMObstacles >>

NARVAL >> NARVAL > NARVAL_IP_PotentialRot

NARVAL_IP_PotentialRot

Perform the potential matrix of obstacles defined by rectangles.

Calling Sequence

[P] = NARVAL_IP_PotentialRot(X,Y,H,W,A,L)

Parameters

X :

x-coordinate of the main corner of each obstacle.

Y :

y-coordinate of the main corner of each obstacle.

H :

height of each obstacle.

W :

width of each obstacle.

A :

angle of each obstacle.

L :

square area side.

P :

obstacle matrix.

Description

NARVAL_IP_PotentialRot performs the potential matrix P of obstacles (rectangles) defined by their heigh H, their width W and their angle A. Obstacles are placed inside a square area of side L. P(i,j) rates 0 if an obstacle is found in (i,j), else it rates 0.

Examples

no=4;//quantity of obstacles (rectangle)
L=1000;//squared area side
hm=100;//minimal height
hM=250;//maximal height
wm=100;//minimal width
wM=250;//maximal width
Al=[0 %pi/2 %pi -%pi/2];//available angles for obstacles
[Xs,Ys,X,Y,H,W,A]=NARVAL_IP_RectMObstacles(no,L,hm,hM,wm,wM,Al);//generation of obstacles
[P]=NARVAL_IP_PotentialRot(X,Y,H,W,A,L);//application of NARVAL_IP_PotentialRot

Authors

Foued Melakessou

Contact

Dr. Foued Melakessou

Research Associate

Interdisciplinary Centre for Security, Reliability and Trust

Room F106

University of Luxembourg

6, rue Coudenhove Kalergi

L-1359 Luxembourg-Kirchberg

E-mail: foued.melakessou@uni.lu

Tel: (+352) 46 66 44 5346

Home Page


<< NARVAL_IP_PotentialPathP NARVAL NARVAL_IP_RectMObstacles >>