the 3D multiplatform called Blender, with the creation of a virtual reality ... INTRODUCTION. Technological ... You will learn about animation, sound, physics, how to handle user interaction ... most complete 3D packages on the market and is free and open source. ... will be discovered, creating a foreign character. [11][10].
International Journal of Applied Engineering Research ISSN 0973-4562 Volume 13, Number 11 (2018) pp. 9382-9386 © Research India Publications. http://www.ripublication.com
Virtual Object of Learning for Driving Through Virtual Reality with Development of Peripherals and Glasses for Virtual Reality Manuel García1, Javier Vargas2 and Lauren Isaza3 Electronic Engineering Student, University of Los Llanos, Research Assistant, Macrypt Research Group and Member of the EYSI Study Group
1
Research Professor of the Macrypt Research Group at the University of Los LLanos. Leader of the Eysi Group. Advisor of the chapter of Applications IEEE Unillanos.
2
Professor, Department of Basic Sciences and Engineering, Corporación Universitaria Minuto de Dios – Uniminuto, Research group Trabajo de Llano Villavicencio, Colombia
3
ABSTRACT
It is then that virtual reality can intervene in these processes, making them simpler to teach and less risky which helps mitigate fear for when the person must face real traffic with a real vehicle [3], where a bad decision can be risky Health and legal for both the driver and the people around. The immersion of virtual reality allows the user to enter into a reality created especially for the learning of traffic regulations, their signage and the various traffic regulators such as traffic lights, speed regulators, zebras and so on.[4]
The article presents the development of an OVA processed in the 3D multiplatform called Blender, with the creation of a virtual reality hardware with peripherals for driving in a small part of a virtual city. This city consists of a streets with signs and traffic lights where you can drive freely through the use of hardware consisting of a steering wheel whose sensor is a potentiometer, able to measure the angle of the cabilla, plus two foot pedals, Which act as a brake and an accelerator, whose instrumentation consists of the flywheel of two potentiometers that measure the angle of the pedal with respect to the horizontal as it is pressed with the feet. Each potentiometer graduates the voltage due to the voltage divider that is generated when feeding it with TTL at the ends of its pins; The intermediate pin generates a voltage that varies with respect to the angle of the potentiometer, this information is recorded in a microcontroller by means of an analog to digital conversion, where the information of each potentiometer is concatenated in a specific order and separated by comma; Of the microcontroller is sent through a COM port to the computer. Once there the information is received in a script created in Python in the 3d multiplatform Blender, where it is converted into motion actions for a vehicle located in the virtual city. The display of the movement and the movement indicators such as speed and vehicle rotation angle are displayed on a 7-inch screen which is connected to the computer by HDMI port. This screen is located in RV goggles created for this purpose with their respective lenses and focal distances for a correct visualization of the image.
A 3D scenario allows us to create from scratch all the possible cases that can be presented in a real driving scenario, starting with vehicle crashes, pedestrian crashes, mechanical faults, human faults, road infrastructure, and a number of other contingencies which no actual driving course could guarantee that can occur.[5] One of them is the Unity program. Programming with UnityScript is a step-by-step guide to learning how to make Unity games using UnityScript. You do not need any prior programming knowledge or experience with other design tools like PhotoShop or Illustrator. Through practical examples of common game patterns, you learn and apply the fundamentals of logic and game design.[6] Many beginner programming books refer to documentation that is too technical abstract for a beginner to use. Learning Unity Programming with UnityScript will teach you how to read and use those resources to hone your skills, and quickly increase your knowledge in developing Unity games. You will learn about animation, sound, physics, how to handle user interaction and more. [7] has won awards for her game development and is ready to show you how to start your journey as a game developer. The Unity3D game engine is flexible, cross-platform and is a great place to start your game development adventure, and UnityScript was created for it. [8]
Keywords: Virtual Reality, microcontroller, potentiometer, Blender, Python, RV Glasses, VLO INTRODUCTION
Blender is a powerful, stable tool with a comprehensive workflow that allows you to understand your learning of 3D creation with serenity. Today, it is considered to be one of the most complete 3D packages on the market and is free and open source. It is very efficient for many types of productions, such as animated or live 3D movies, architecture, research or even game creation with its integrated game engine and its use of the Python language.[9][10]
Technological development arises from the growing demand for the development of new systems for driving education that promote learning, reduce risk and evaluate the performance of those who want to learn to drive a car. When a person is first confronted with driving exercise they tend to be nervous and unsure of themselves, not to mention when faced with a city traffic full of their becoming.[1][2]
9382
International Journal of Applied Engineering Research ISSN 0973-4562 Volume 13, Number 11 (2018) pp. 9382-9386 © Research India Publications. http://www.ripublication.com Phase 2, 3D platform types and programming languages for hardware and software. Phase 3, system architecture and application development. Figure 1 shows the block diagram of the proposed methodology.
Through Blender, you can create many types of projects using a step-by-step approach. You begin by knowing the modeling tools available in Blender as you create a 3D robot toy. Then, more advanced techniques such as sculpture and re-topology will be discovered, creating a foreign character. [11][10] The applications of electronics, currently present in innumerable aspects of everyday life, would not be possible without the sensors, without the ability of these to measure physical magnitudes for their knowledge or control. The use of sensors is indispensable in the automation of manufacturing process industries, including robotics and experimental engineering. [12][13][14] Unity Technologies has taken a bold step. Not only have they delivered on some great promises of a new and improved user interface system for Unity projects, but they have also made the source of the new user interface completely open source, giving developers every day the internal access to the new user interface.[15][16] Blender 3D Incredible Machines helps you develop a complete set of skills covering the key aspects of mechanical modeling. Through this module, you will create many types of projects, including a pistol, a spaceship, a robot and a runner. At the end of this module, you will have mastered a workflow that you can apply to your own creations. [11]
Figure 1. Block diagram of the methodology RESULTS The development of the hardware is done using a Leonardo Arduino since this microprocessor does not restart when the python script is restarted every time the process begins, as do other microprocessors in the same family that when declaring the protocol of communication with the port COM and its due speed, constantly restarts what does not allow a stable communication, this is also partly because, being a sequential structured programming, the game engine of Blender executes it in an infinite cycle without allowing the use of cyclic structures As is or while.
Upon researching, they discovered that some Blender users try to learn Blender three times and give up twice before they are comfortable with the actual interface of this, if it is unusual. The editors of Packet and the author decided that this was a problem that could be solved. The answer is to explain the fundamentals in depth, give it practice so your hands can learn Blender as your mind does and then build on what you have learned. This is not just a reference book theme by topic. Today we are witnessing the blossoming of virtual reality (VR), a new and exciting technology that promises to fundamentally transform how we interact with our information, with friends and with the world in general.[17][18]
The hardware consists of three potentiometers located: one on the steering wheel, one on the accelerator and one on the brake. The arduino is placed on the steering wheel to avoid problems in the wiring when turning, as shown in figure 2.
When using a head-mounted display (such as glasses), you can view stereoscopic 3D scenes. You can look around by moving your head and walking around using manual controls or motion sensors. You can participate in a totally immersive experience. It's like you're in another virtual world. This book has a practical, project-based approach to teaching you the details of virtual reality development with the Unity 3D game engine. We walk through a series of hands-on projects, stepby-step tutorials and in-depth discussions using Unity 5 and other free or open source software. While VR technology is advancing rapidly, we will try to capture the basic principles and techniques you can use to make your VR games and applications immersive and comfortable. [19][20][21] METHODOLOGY The methodology used was interactive, with a quantitative approach and experimental method. For the experimentation methodology was used based on prototypes. Phase 1 was called Virtual Reality Software and Hardware Consulting.
Figure 2. Steering wheel with Arduino Leonardo
9383
International Journal of Applied Engineering Research ISSN 0973-4562 Volume 13, Number 11 (2018) pp. 9382-9386 © Research India Publications. http://www.ripublication.com The development of the software was in Blender, where we chose the use of the multiparadigma Python language, which is the reception of the data from the 3d engine, which will be responsible for separating the variables obtained from the hardware to be converted into actions Movement as vehicle speed, as can be seen in the script shown in figure 5.
The potentiometers located on the throttle and the brake, vary their speed with respect to the angle of inclination with respect to the horizontal that is generated when stepping the levers, these two variables once entered to the microprocessor make a logical difference of speed between the accelerator and the Brake since both represent the acceleration.
Figure 3. Accelerator to the right, brake to the left. In the code an analog-to-digital conversion is done, where the values are converted to values necessary for the game, these values in whole units are concatenated and separated by commas. It must be ensured that each value is three digits, as shown in figure 4; then they are sent by the serial port to the computer.
Figure 5. Serial port data reception script and vehicle motion control.
Since the character string is always constant, it is easy to determine the position in which the information arrives, so the first three positions of the received string are the accelerator information assigned to the variable veil, and the following three positions To the direction of the steering wheel that are assigned respectively to the direction variable in turn are converted to radians by multiplying them by the variable ra. Also used is a text to show the speed at which the vehicle is walking at all times, this text is assigned to a variable, which keeps updating its value with the speed coming from the hardware Another important part in this development was the modeling of the scenario in which the car is mobilized; each building is modeled in Blender along with its textures, as well as the streets and other parts of the scene as shown in Figure 8. Traffic lights Are located in the main corners of the small city, each traffic light works like the real ones, letting you see the light in which it is for short periods of time, it is made by animations of small covers located in front of the colored lights, these animations Are cyclical which allows continuity in its operation.
Figure 6. Stage with traffic light in green, speed of the car 80 Km / h.
Figure 4. Arduino Leonardo microcontroller code
9384
International Journal of Applied Engineering Research ISSN 0973-4562 Volume 13, Number 11 (2018) pp. 9382-9386 © Research India Publications. http://www.ripublication.com It is expected that RV goggles will not use second-rate materials, so a modeling of glasses that support the size of the screen in addition to the wiring is done. As shown in figure 11.
Figure 7. A more general view of the scenario created.
For the development of virtual reality the main camera associated with the vehicle is taken and the conversion is applied to stereo view, so that it adapts to the built hardware that can be observed in figure 8, apart from the stereo view it is applied A barrel filter, which reduces the size of each division and rounds them for better viewing through the convex lenses of RV goggles, a size-fit script is also created, which can be seen in Figure 8 and 9 respectively, in order to finally achieve the expected result, which can also be seen in figure 10. Figure 11. Modeling of RV goggles for 3D printing
The virtual reality system was tested with several people who felt comfortable using it; the children showed great interest in the operation and the stage. It is expected to add scripts that simulate basic traffic rules, such as crossing traffic lights in red light, stepping on the zebra, colliding with vehicles, among others. CONCLUSIONS The implementation of the hardware for the virtual reality system presented technological robustness. The devices' response was optimal to support the computational architecture. The processing times allowed the connection with the software in such a way that the user perceives the control in real time.
Figure 8. Virtual reality visualization hardware.
The use of Blender platform and Phyton programming language allowed the design and implementation of a virtual reality system to represent a virtual driving learning object in a real city. The programming made it possible to interact with the user in an efficient way. The software allowed interactivity and usability The graphic design of the city allowed the user to interact in a real context of the city where his residence is located. The vehicle's graphics gave the user the perception of driving a real vehicle. This allowed the training and qualification of users in driving vehicles and in the respect of traffic signs. Figure 10. Stereo display result
9385
International Journal of Applied Engineering Research ISSN 0973-4562 Volume 13, Number 11 (2018) pp. 9382-9386 © Research India Publications. http://www.ripublication.com REFERENCIAS [1] [2]
[3]
and Control System for Storage Tanks of potable Water,” Ingeniare, vol. 17, pp. 69–85, 2014.
E. Keskinen, “Education for older drivers in the future,” IATSS Res., vol. 38, no. 1, pp. 14–21, 2014. J. C. Monsalve, A. Uribe, J. A. Cardona-Gil, M. Osorio, C. A. Hincapie, and C. A. Isaza, “Development of an automatic control system employing CDIO standards and competence-based learning,” 2016 15th Int. Conf. Inf. Technol. Based High. Educ. Training, ITHET 2016, 2016. P. Antoniac, Augmented reality based user interface for mobile applications and services. 2005.
[4]
S. Kaji, H. Kolivand, R. Madani, and M. Salehinia, “Utilizing ‘ Augmented Reality ’ Technology to Illustrate Residential Open Space Greenery,” Int. J. Appl. Eng. Res., vol. 12, no. 16, pp. 6022–6028, 2017.
[5]
R. Jiang, R. Kleer, and F. T. Piller, “Predicting the future of additive manufacturing: A Delphi study on economic and societal implications of 3D printing for 2030,” Technol. Forecast. Soc. Change, vol. 117, pp. 84–97, 2017.
[6]
L. Jayaraj, J. Wood, and M. Gibson, “Improving the Immersion in Virtual Reality with Real-Time Avatar and Haptic Feedback in a Cricket Simulation,” Adjun. Proc. 2017 IEEE Int. Symp. Mix. Augment. Reality, ISMAR-Adjunct 2017, pp. 310–314, 2017.
[7]
J. Suvak, Learn Unity3D UnityScript. Springer, 2014.
Programming
with
[8]
J. Bae and A. Kim, “Design and Development of Unity3D Game Engine-Based Smart SNG (Social Network Game),” Int. J. Multimed. Ubiquitous Eng., vol. 9, no. 8, pp. 261–266, 2014.
[9]
T. Peach, An Investigation into High-level Behaviour Specification for Autonomous Avatars, no. 1. Bachelor of Science in Computer Science with Honours, 2007.
[10]
U. Lucke and R. Zender, “3D interactions between virtual worlds and real life in an E-learning community,” Adv. Human-Computer Interact., vol. 2011, 2011.
[11]
R. CAUDRON and P.-A. NICQ, Blender 3D By Example - Romain Caudron, Pierre-Armand Nicq Google Libros. Packt Publishing Ltd, 2015.
[12]
J. Guapacho, J. Vargas, and L. Isaza, “Robótica móvil : una estrategia innovadora en el proceso de enseñanza y aprendizaje,” Rev. Virtual Univ. Católica del Norte, vol. 52, pp. 100–118, 2017.
[13]
L. Isaza, J. Vargas, and F. Velásquez, “Diseño de una interfaz gráfica de usuario para el control de un prototipo de banda seleccionadora de piezas industriales,” Ingenium, vol. 17, no. 34, 2015.
[14]
J. Vargas Guativa, L. Conde, and J. Lopez, “Sistema de Instrumentación y Control para Tanques de Almacenamiento de Agua Potable Instrumentation
9386
[15]
A. Geyer and A. Davies, “Managing project–system interfaces: case studies of railway projects in restructured UK and German markets,” Res. Policy, vol. 29, no. 7–8, pp. 991–1013, 2000.
[16]
D. M. Chess, A. Segal, I. Whalley, and S. R. White, “Unity: Experiences with a prototype autonomic computing system,” Proc. - Int. Conf. Auton. Comput., pp. 140–147, 2004.
[17]
L. B. Kiat, M. B. Ali, N. D. A. Halim, and H. B. Ibrahim, “Augmented Reality, Virtual Learning Environment and Mobile Learning in education: A comparison,” 2016 IEEE Conf. e-Learning, eManagement e-Services, pp. 23–28, 2016.
[18]
D. Pantile, R. Frasca, A. Mazzeo, M. Ventrella, and G. Verreschi, “New Technologies and Tools for Immersive and Engaging Visitor Experiences in Museums: The Evolution of the Visit-Actor in NextGeneration Storytelling, through Augmented and Virtual Reality, and Immersive 3D Projections,” Proc. - 12th Int. Conf. Signal Image Technol. Internet-Based Syst. SITIS 2016, pp. 463–467, 2017.
[19]
M. Zyda, “From visual simulation to virtual reality to games,” Computer (Long. Beach. Calif)., vol. 38, no. 9, pp. 25–32, 2005.
[20]
J. Steuer, “Defining Virtual Reality - Dimensions Determining Telepresence,” J. Commun., vol. 42, no. 4, pp. 73–93, 1992.
[21]
D. Lee, K. Baek, J. Lee, and H. Lim, “A development of virtual reality game utilizing Kinect, Oculus Rift and smartphone,” Int. J. Appl. Eng. Res., vol. 11, no. 2, pp. 829–833, 2016.