[[TOC(Other/Summer/2024/5GEdge/*, depth=1, heading=5G Edge Cloud Application)]] = 5G Edge Cloud Application = **WINLAB Summer Internship 2024** **Advisors:** Anthony Magnan, Ivan Seskar, Jennifer Shane **Group Members:** Vineal Sunkara, Matt Arigo, Steven Nguyen, Ji Wu, Damon Lin == Project Objective == Our project aims to create a navigation system that utilizes 5G edge cloud computing to reduce the likelihood of vehicular accidents. We will build this by utilizing synthetic data we generated off of SUMO and Carla. We will also utilize real data sets given to us to integrate the two sets while inspecting the sets for differences. == Week 1 == **[https://docs.google.com/presentation/d/15Ww6A1MdPl3O4AA7zrwhYlFJ2rbpNesRQ3DQ-uWHvsU/edit?usp=sharing, Week 1 Presentation]** **Summary** * Looked into key terms such as **MQTT**, **Multi-Access Edge Computing (MEC)**, **Enhanced Vehicle-to-Everything Communication (eV2X Communication)**, and **Virtual Roadside Units (vRSU)** * Installed and tested Mosquitto, an MQTT broker on Linux, through these commands: {{{ sudo apt-add-repository ppa:mosquitto-dev/mosquitto-ppa sudo apt-get update sudo apt-get install mosquitto sudo apt-get install mosquitto-clients sudo apt clean }}} [[Image(mosquittoTesting.png, 1000px)]] == Week 2 == **[https://docs.google.com/presentation/d/1jixEaGhsFo6AXTQK4D_YPEnO-hgmRWeaA9RoBzyiELY/edit?usp=sharing, Week 2 Presentation]** **Summary** * Met with our advisors to discuss and define the project's direction * To be written * Took a look at simulation software CARLA (Car Learning to Act) and SUMO (Simulation for Urban Mobility) * Installed and tested Paho, another MQTT broker on Linux, as a substitute for Mosquitto * Paho is a Python-based MQTT broker, which is much more compatible with CARLA and SUMO [[Image(pahoTesting.png, 1000px)]] == Week 3 == **[https://docs.google.com/presentation/d/1pvST-ipW4akl2v0oD-4ip9RQeZa4xH3lv1iczzOhltI/edit#slide=id.g2e4bb4e9da4_0_23, Week 3 Presentation]** **Summary** * Began simulating scenarios on both CARLA and SUMO * Figured out first person interface in CARLA * Set up Gitlab repository for message encoding to transcribe data received from CARLA and SUMO * Start receiving telemetry data from SUMO [[Image(carla-demo.gif, 1000px)]] == Week 4 == **[https://docs.google.com/presentation/d/1QLeaB7AsmIhOSbUrB5N2H-2wwlDM_vF05yV4TOrG8QU/edit?usp=sharing, Week 4 Presentation]** **Summary** * Began working on our base scenario * Worked on an algorithm that calculates when braking is necessary * Started integration of our scenario in CARLA with our database and algorithm * Started learning about Docker for later project utilization [[Image(Base.png, 1000px)]] == Week 5== **[https://docs.google.com/presentation/d/1IzM20FStlde7reserIhtJ-7WkYA_oPbIzLDyFz57Mkw/edit#slide=id.p, Week 5 Presentation]** **Summary** * Made base scenario for SUMO and CARLA * Refined algorithm by adding a filter system before running the crash detector. * Finished Postgres database setup. [[Image(RealDiagram.png, 1000px)]] == Week 6 == **[https://docs.google.com/presentation/d/1PwaMeDn7gbjb_c04Jx3FVzr4ulVs0ElH2B__kC8Wz-E/edit#slide=id.p, Week 6 Presentation]** **Summary** * Began research on traffic control. * Set up test cases for encoding and decoding. * Shifted away from Docker for CARLA and moved to node images. [[Image(NewDiagram.png, 800px)]] == Week 7== **[https://docs.google.com/presentation/d/1XaT7zVu1qdu8ojOaSWDtkmf6PeLmjGmtA-e-5ufYZUY/edit#slide=id.p, Week 7 Presentation]** **Summary** * Finished algorithm and conducting unit tests. * Set up Raspberry Pi and OBDII Emulator in order to simulate real-time vehicular diagnostics. * Prepared for server to move from intersection to outdoor nodes. * Prepared for project demo that is taking place in week 8. [[Image(OBDII.png, 800px)]] == Week 8== [https://docs.google.com/presentation/d/18f5nBNXbe0MQfA97TORcuFc1jNqcbjDyGGsIpj87_nI/edit#slide=id.p, Week 8 Presentation(Short)]\\ [https://docs.google.com/presentation/d/1TfjrjhB6iuvsrCigSv7q_Dei3khRN-A4jv6sqhNcC4o/edit#slide=id.p, Week 8 Presentation(Long)] **Summary** * Presented demo to Verizon. * Simulated data from OBDII to get real vehicle data. * Did a lot of debugging and integration. [[Image(OBDII.png, 800px)]] == Week 9 == [https://docs.google.com/presentation/d/11dE8eF3QL5DuvyjeQ-xqH3Dya4vWNOtbGpp5sY4ZvKg/edit?usp=sharing, Week 9 Presentation]\\ **Summary** * Utilized Manim to visualize and troubleshoot algorithm and MQTT pipeline * Discovered (through the GIF below) that the current implementation of the algorithm does not detect collisions in a particular scenario * Determined that vehicle boxes (like those in games) are more accurate than rays * Bonus Work: OBDII module * Successfully sent telemetry data from the OBDII through the broker to a subscriber * Attempting to configure latency to synchronize the publisher and the subscriber [[Image(WorldPlotScene.gif, 600px)]] **Resources** * **[https://github.com/carla-simulator/carla, CARLA Github Link]**\\ * **[https://github.com/eclipse-sumo/sumo/, SUMO Github Link]**