Improving a graphical interaction modelfor pedestrian and driver multi user simulations
2021 (English)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE credits
Student thesisAlternative title
Förbättra en grafisk interaktionsmodell i en fotgängar- bilförar fleranvändaresimulation (Swedish)
Abstract [sv]
Den här studien har haft som avsikt att se ifall vi kan simulera naturliga beteende för en fotgängare för att kunna använda det att kommunicera med en förare. Mjukvaran som används för simuleringen i projektet är Unreal Engine 4 och hårdvaran är HTC Vive headset, två HTC motion controller and en HTC tracker.Modellen togs från mixamo.com och modifierades i 3DsMax och Unreal Engine 4.
Modellen och dess animationer skall kunna stå stilla, gå, göra en stopp gest och en gest för att vinka någon till sig. För att göra arbetet togs signaler från olika sensorer som översattes till deras platser och rotationer. Efter detta används olika förändringar på dessa värden för att se vilken animation som skulle kunnas göra. De olika möjliga animationerna går genom en hierarkisk logik som till slut bestämmer vilken animation som kommer att köras.
Arbetet har även innefattat att skriva en test design för att kunna testa logiken. Designenarbetades fram med hjälp av intressenter.
Systemets arkitektur arbetades på som en “Pipe and Filter” arkitektur där författarna hade lite insikt i hela systemet utan jobbade med vad systemet kunde ge för utmatning för att arbeta fram en inmatning att ge till systemet. Efter detta gav systemet en utmatning.
Arbetet i sig var centrerat kring vad naturliga beteenden kan vara och hur rörelser kan översättas till beteenden i en simulator.
Arbetet kunde uppfylla alla hårda krav som utvecklare och intressenter kom överens om med varandra. Projektet är att simulera en fotgängare från grunden och det skulle klaras av på 15 veckor. Det kan utvecklas i framtiden genom att använda acceleration för fotgängaren så att man kan justera hastigheten på animationen. Detta var inte i projektets scope men kan fixas i framtida projekt om intressenter är intresserade.
Framtida arbete kan ha flera animationer eller blanda olika animationer med varandra, vilket inte var målet med detta projekt.
Abstract [en]
This study has been done with the intention of looking closer at simulations of natural behaviours of a pedestrian to be able to communicate with a driver.The software used for the simulation of this project is Unreal Engine 4 and the hardware used was HTC Vive headset, two HTC motion controllers and a HTC Vive tracker.The model used was downloaded from mixamo.com and modified in 3Ds Max and Unreal Engine 4.
The model and its animation should be able to stand idly, be able to walk, make a stop gesture and make a gesture to beckon someone to itself. Signals were taken from different sensors that were translated to their positions and rotations. After signals were taken a constant monitoring of the signals was done to interpret which animation could be triggered. The different possible animations go through a hierarchical logic which finally decides which animation should be triggered.The work has also included a test design to be able to test the logic. The design was worked outwith the help of stakeholders.
The systems architecture was worked on as a “Pipe and Filter” architecture where the authors had little insight of the whole system and instead worked around what the system could give as output to work out an input to give to the system. After this the system gave an output. The work itself was centered around what natural behaviours could be and how motion can be translated to behaviors in a simulator.
The work could fulfill all the hard requirements that the developers and stakeholders agreed on.The project was to simulate a pedestrian from scratch and that it should be done in 15 weeks. It could be expanded upon in the future by using acceleration for the pedestrian to adjust the speed of the animation. This was outside of the scope but could be fixed in future projects if stakeholders had any interest in doing so.
Future work could be to have more animations or blend animation with each other, this was also outside of our scope.
Place, publisher, year, edition, pages
2021. , p. 27
Keywords [en]
Visual programming, Unreal Engine 4, HTC Vive-equipment, Co-Simulation, Mixamo.com
National Category
Computer Systems
Identifiers
URN: urn:nbn:se:hv:diva-17691Local ID: EHD500OAI: oai:DiVA.org:hv-17691DiVA, id: diva2:1609003
Subject / course
Computer engineering
Educational program
Datateknisk systemutveckling
Supervisors
Examiners
2021-11-052021-11-052021-11-05Bibliographically approved