Functions | |
| stred | robota (osy kol) vzhledem k levemu zadnimu rohu robot.cx |
Variables | |
| move_sample_time = 1/20 | |
| robot | w = 0.3 |
| robot | l = 0.4 |
| robot | cy = robot.l*1/3 |
| stred otaceni laseru vzhledem ke stredu robota robot | laserx = 0 |
| robot | lasery = 0 |
| robot | wheelr = 0.05 |
| area | h = 2.1 |
| area | beacon = [0 area.h |
| same as in MCL shape | outline |
| shape | arrow |
| initpos = [1 1 0]' | |
| path | |
| wayconstraints | |
| desc | robot = robot |
| desc | area = area |
| desc | shape = shape |
| stred robota | ( | osy | kol | ) |
[
1/5*robot.l 1/2*robot.w
4/5*robot.l 1/2*robot.w
3/5*robot.l 2/5*robot.w
4/5*robot.l 1/2*robot.w
3/5*robot.l 3/5*robot.w]
| desc initpos = [1 1 0]' |
| move_sample_time = 1/20 |
| desc path |
[
1 1
2 1.5
2.5 0.5
2.9 1.9
1.5 0.3
0.1 0.1
0.5 1
0.5 1.5
]'
| desc wayconstraints |
[
1 %maxv
2.5 %maxomega
1 %maxangacc
1 %maxacc
1 %maxcenacc
robot.w/2 %maxe
]
1.7.1