🗊Презентация Physics-based Racing AI

Категория: Спорт
Нажмите для полного просмотра!
Physics-based Racing AI, слайд №1Physics-based Racing AI, слайд №2Physics-based Racing AI, слайд №3Physics-based Racing AI, слайд №4Physics-based Racing AI, слайд №5Physics-based Racing AI, слайд №6Physics-based Racing AI, слайд №7Physics-based Racing AI, слайд №8Physics-based Racing AI, слайд №9Physics-based Racing AI, слайд №10Physics-based Racing AI, слайд №11Physics-based Racing AI, слайд №12Physics-based Racing AI, слайд №13Physics-based Racing AI, слайд №14Physics-based Racing AI, слайд №15Physics-based Racing AI, слайд №16Physics-based Racing AI, слайд №17Physics-based Racing AI, слайд №18Physics-based Racing AI, слайд №19Physics-based Racing AI, слайд №20Physics-based Racing AI, слайд №21Physics-based Racing AI, слайд №22Physics-based Racing AI, слайд №23Physics-based Racing AI, слайд №24Physics-based Racing AI, слайд №25Physics-based Racing AI, слайд №26Physics-based Racing AI, слайд №27Physics-based Racing AI, слайд №28Physics-based Racing AI, слайд №29Physics-based Racing AI, слайд №30Physics-based Racing AI, слайд №31Physics-based Racing AI, слайд №32Physics-based Racing AI, слайд №33Physics-based Racing AI, слайд №34Physics-based Racing AI, слайд №35Physics-based Racing AI, слайд №36Physics-based Racing AI, слайд №37Physics-based Racing AI, слайд №38Physics-based Racing AI, слайд №39Physics-based Racing AI, слайд №40Physics-based Racing AI, слайд №41Physics-based Racing AI, слайд №42Physics-based Racing AI, слайд №43Physics-based Racing AI, слайд №44

Содержание

Вы можете ознакомиться и скачать презентацию на тему Physics-based Racing AI. Доклад-сообщение содержит 44 слайдов. Презентации для любого класса можно скачать бесплатно. Если материал и наш сайт презентаций Mypresentation Вам понравились – поделитесь им с друзьями с помощью социальных кнопок и добавьте в закладки в своем браузере.

Слайды и текст этой презентации


Слайд 1





Physics-based Racing AI
Paolo Maninetti (Milestone s.r.l)
Описание слайда:
Physics-based Racing AI Paolo Maninetti (Milestone s.r.l)

Слайд 2


Physics-based Racing AI, слайд №2
Описание слайда:

Слайд 3





Overview
Part 1 – Racing AI Tutorial
Basics in Steering, Throttle & Brake managment
Group behaviours (avoiding, overtakes)
Part 2 – A method for optimizing AI performances
Fairness in racing games
Main alghoritm for an AI optimizator
Описание слайда:
Overview Part 1 – Racing AI Tutorial Basics in Steering, Throttle & Brake managment Group behaviours (avoiding, overtakes) Part 2 – A method for optimizing AI performances Fairness in racing games Main alghoritm for an AI optimizator

Слайд 4





RACING AI TUTORIAL
Part 1
Описание слайда:
RACING AI TUTORIAL Part 1

Слайд 5





AI - Physics interface
Описание слайда:
AI - Physics interface

Слайд 6





AI - Physics interface
Physics as a black box (too much complexity to forecast exactly the results of an action)
Physics changes during the project
Описание слайда:
AI - Physics interface Physics as a black box (too much complexity to forecast exactly the results of an action) Physics changes during the project

Слайд 7





Racing Line
Описание слайда:
Racing Line

Слайд 8





Representation
Описание слайда:
Representation

Слайд 9





Representation
Описание слайда:
Representation

Слайд 10





Sampling the racing line
Описание слайда:
Sampling the racing line

Слайд 11





Following the racing line
Описание слайда:
Following the racing line

Слайд 12





Following the racing line
Описание слайда:
Following the racing line

Слайд 13





Throttle and Brake managment
Описание слайда:
Throttle and Brake managment

Слайд 14





Throttle and Brake managment
Basic implementation:
Speed < Speed Target ? Throttle = MAX
Speed > Speed Target ? Brake = MAX
Better implementation uses Throttle and Brake modulation (could model also driver characteristics, like aggressiveness or smoothness in driving)
Описание слайда:
Throttle and Brake managment Basic implementation: Speed < Speed Target ? Throttle = MAX Speed > Speed Target ? Brake = MAX Better implementation uses Throttle and Brake modulation (could model also driver characteristics, like aggressiveness or smoothness in driving)

Слайд 15





Recovery Mechanics
Mechanics that detect a dangerous situation and apply an action to restore a safer situation
AI that detect too much dritfing uses counter steer (car)
AI that detect a big angle with the target uses a rear brake (bike)
Drawback: loss of performances
Описание слайда:
Recovery Mechanics Mechanics that detect a dangerous situation and apply an action to restore a safer situation AI that detect too much dritfing uses counter steer (car) AI that detect a big angle with the target uses a rear brake (bike) Drawback: loss of performances

Слайд 16





Avoiding
Описание слайда:
Avoiding

Слайд 17





Avoiding
Описание слайда:
Avoiding

Слайд 18





Overtake
Описание слайда:
Overtake

Слайд 19





Overtake
Описание слайда:
Overtake

Слайд 20





Overtake
Adding component to steer (Steer = SteerToTarget + C)
Fast reaction
Can increase/decrease dynamically the component
Harder to control distances and deviating speed
Considering more vehicles
Calculating the overall occlusion
Finding the nearest free block
Описание слайда:
Overtake Adding component to steer (Steer = SteerToTarget + C) Fast reaction Can increase/decrease dynamically the component Harder to control distances and deviating speed Considering more vehicles Calculating the overall occlusion Finding the nearest free block

Слайд 21





Mistakes
“Natural” errors
Collisions
Losing control in overtake/group situations
Generated errors
Steering, Throttle, Brake
Falls (bike): low side, high side
Описание слайда:
Mistakes “Natural” errors Collisions Losing control in overtake/group situations Generated errors Steering, Throttle, Brake Falls (bike): low side, high side

Слайд 22





Car AI
Описание слайда:
Car AI

Слайд 23





Bike AI
Описание слайда:
Bike AI

Слайд 24





A METHOD FOR OPTIMIZING AI PERFORMANCES
Part 2
Описание слайда:
A METHOD FOR OPTIMIZING AI PERFORMANCES Part 2

Слайд 25





Fairness in racing games
Common trick is using simplified (or helped) physics for Ais
Easier to obtain good performances (and tune)
Easier managing group situations
Visual effect not too realistic
Difficult to maintain a fair situation with the player
Описание слайда:
Fairness in racing games Common trick is using simplified (or helped) physics for Ais Easier to obtain good performances (and tune) Easier managing group situations Visual effect not too realistic Difficult to maintain a fair situation with the player

Слайд 26





Fairness in racing games
Using (almost) the same player physics
Much better under a visual point of view (realism)
AI can’t do something that player can’t so fairness is guaranteed
Much more difficult to obtain good performances
More difficult also managing group situations
Need a better method than simple speed precalculation
Описание слайда:
Fairness in racing games Using (almost) the same player physics Much better under a visual point of view (realism) AI can’t do something that player can’t so fairness is guaranteed Much more difficult to obtain good performances More difficult also managing group situations Need a better method than simple speed precalculation

Слайд 27





Speed precalculation
Описание слайда:
Speed precalculation

Слайд 28





Speed precalculation
Описание слайда:
Speed precalculation

Слайд 29





Speed precalculation
You can tweak the precalculation affecting the grip and deceleration values the alghoritm consider (not the real grip and brakes)
Solution would never be optimal (improve in some points but exit from the track in others, or stay into the track but still too slow in some sectors)
Описание слайда:
Speed precalculation You can tweak the precalculation affecting the grip and deceleration values the alghoritm consider (not the real grip and brakes) Solution would never be optimal (improve in some points but exit from the track in others, or stay into the track but still too slow in some sectors)

Слайд 30





Dividing into sectors
Описание слайда:
Dividing into sectors

Слайд 31





Iterative method
Detect sectors in an automatic way
Start when inverse radius != 0, end when inverse radius returns 0
Make the AI drive (graphics disabled)
Act on grip and deceleration modifier
Define a step
Increase grip modifier for higher speeds
Increase deceleration modifier for more aggressive approach
Описание слайда:
Iterative method Detect sectors in an automatic way Start when inverse radius != 0, end when inverse radius returns 0 Make the AI drive (graphics disabled) Act on grip and deceleration modifier Define a step Increase grip modifier for higher speeds Increase deceleration modifier for more aggressive approach

Слайд 32





Iterative method
Increment modifiers as soon as lap time decrease
One lap could not be sufficient (starting conditions). Up to 5 laps for evaluation.
Pass to an other sector when lap time does not decrease any more
First pass on grip modifiers, second pass on decelerations
More iteractions could help (restart the process)
Описание слайда:
Iterative method Increment modifiers as soon as lap time decrease One lap could not be sufficient (starting conditions). Up to 5 laps for evaluation. Pass to an other sector when lap time does not decrease any more First pass on grip modifiers, second pass on decelerations More iteractions could help (restart the process)

Слайд 33





Extra conditions
Considering only lap time is often not sufficient
Need extra conditions to be satisfied
Out of track check
Distance from ideal line
Others (skid, wobble, wheelie, …)
Invalidate single lap or the entire trial when a condition is not satisfied
Описание слайда:
Extra conditions Considering only lap time is often not sufficient Need extra conditions to be satisfied Out of track check Distance from ideal line Others (skid, wobble, wheelie, …) Invalidate single lap or the entire trial when a condition is not satisfied

Слайд 34





Resulting Data
Stored as a track asset
For each sector: start sector info, end sector info, grip modifier, deceleration modifier
Speeds are calculated at initialization time taking in account generated modifiers
Flexibility in case of ideal line or grip changes
Описание слайда:
Resulting Data Stored as a track asset For each sector: start sector info, end sector info, grip modifier, deceleration modifier Speeds are calculated at initialization time taking in account generated modifiers Flexibility in case of ideal line or grip changes

Слайд 35





Not optimized lap
Описание слайда:
Not optimized lap

Слайд 36





Grip modifiers
BestTime = 128.11
Grip Modifier 0 = 1.00
BestTime = 127.76
BestTime = 127.45
BestTime = 127.21
BestTime = 127.10
Grip Modifier 1 = 1.40
BestTime = 126.93
BestTime = 126.80
BestTime = 126.70
BestTime = 126.63
Grip Modifier 2 = 1.40
...
Описание слайда:
Grip modifiers BestTime = 128.11 Grip Modifier 0 = 1.00 BestTime = 127.76 BestTime = 127.45 BestTime = 127.21 BestTime = 127.10 Grip Modifier 1 = 1.40 BestTime = 126.93 BestTime = 126.80 BestTime = 126.70 BestTime = 126.63 Grip Modifier 2 = 1.40 ...

Слайд 37





Deceleration modifiers
BestTime = 114.59
Dec Modifier 0 = 1.00
BestTime = 114.51
BestTime = 114.38
BestTime = 114.28
BestTime = 114.23
BestTime = 114.19
Dec Modifier 1 = 1.50
BestTime = 114.18
Dec Modifier 2 = 1.10
Dec Modifier 3 = 1.00
Dec Modifier 4 = 1.00
...
Описание слайда:
Deceleration modifiers BestTime = 114.59 Dec Modifier 0 = 1.00 BestTime = 114.51 BestTime = 114.38 BestTime = 114.28 BestTime = 114.23 BestTime = 114.19 Dec Modifier 1 = 1.50 BestTime = 114.18 Dec Modifier 2 = 1.10 Dec Modifier 3 = 1.00 Dec Modifier 4 = 1.00 ...

Слайд 38





Optimized lap (no extra conditions)
Описание слайда:
Optimized lap (no extra conditions)

Слайд 39





Adding extra conditions
Example
No out of track
Ideal line distance < 3 meters (CM of vehicle)
Описание слайда:
Adding extra conditions Example No out of track Ideal line distance < 3 meters (CM of vehicle)

Слайд 40





Optimized lap (with extra conditions)
Описание слайда:
Optimized lap (with extra conditions)

Слайд 41





Advantages
Simple implementation
Editable results
Speeds are still proportional to the radius
Can tweak by affecting the (real) grip (but not too much)
Описание слайда:
Advantages Simple implementation Editable results Speeds are still proportional to the radius Can tweak by affecting the (real) grip (but not too much)

Слайд 42





Possible improvements
Step managment
Order optimization
Extra conditions
Acting not only on speeds (driving parameters)
Описание слайда:
Possible improvements Step managment Order optimization Extra conditions Acting not only on speeds (driving parameters)

Слайд 43





Conclusions
Fairness is very important
Difficult to forecast physics (and track)
Trying and see what happen is a good solution
Описание слайда:
Conclusions Fairness is very important Difficult to forecast physics (and track) Trying and see what happen is a good solution

Слайд 44





Thanks!
				
www.milestone.it
Описание слайда:
Thanks! www.milestone.it



Похожие презентации
Mypresentation.ru
Загрузить презентацию