{"id":12,"date":"2022-04-22T04:48:29","date_gmt":"2022-04-22T04:48:29","guid":{"rendered":"https:\/\/blogs.oregonstate.edu\/plmblog\/?p=12"},"modified":"2022-04-22T04:48:29","modified_gmt":"2022-04-22T04:48:29","slug":"have-you-tried-turning-it-off-and-on-again","status":"publish","type":"post","link":"https:\/\/blogs.oregonstate.edu\/plmblog\/2022\/04\/22\/have-you-tried-turning-it-off-and-on-again\/","title":{"rendered":"Have you tried turning it off and on again?"},"content":{"rendered":"\n<p>I&#8217;ve been trying recently to get into the habit of taking notes while I learn about new concepts\/technologies\/languages, and thought that it might be interesting to share some of my journey and thoughts along the way.<\/p>\n\n\n\n<p>Before I begin, I must warn the reader that my mistakes are sometimes very dumb but that is the cost of learning! I hope that one day (soon?) I will be able to look back on this and smile over how green I was. Since my capstone project of using ML\/RL to make a self-driving car is the first large software undertaking, I knew there would be a lot of growing pains. If I had to sum it up in one sentence, it would be &#8220;How did you do that?&#8221;. I have begun to learn how visual studio projects interact with Unreal Engine, and executing different python files as well as C++ files, and building, and compiling, and plugins, and so on and so forth. It almost feels like being in a dark place with a flashlight. There are so many things to see, but so little that I can look at at once.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How did I get here?<\/h2>\n\n\n\n<p>I am responsible with integrating infrared sensor data in our self-driving car. To begin my work, I started with the short guide on AirSim&#8217;s homepage on using IR data in an environment called &#8220;Africa&#8221;. The guide instructed to run two python files in a specific order. After fumbling a bit with downloading the environment and installing the required dependencies in my python environment &#8212; which happened to be a journey in and of itself &#8212; I ran into my first head scratcher. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"161\" src=\"https:\/\/osu-wams-blogs-uploads.s3.amazonaws.com\/blogs.dir\/5638\/files\/2022\/04\/image.png\" alt=\"\" class=\"wp-image-13\" srcset=\"https:\/\/osu-wams-blogs-uploads.s3.amazonaws.com\/blogs.dir\/5638\/files\/2022\/04\/image.png 624w, https:\/\/osu-wams-blogs-uploads.s3.amazonaws.com\/blogs.dir\/5638\/files\/2022\/04\/image-300x77.png 300w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/figure>\n\n\n\n<p>OK, so it looks like something is not being found. What is the method &#8216;simListSceneObjects&#8217; doing? It&#8217;s a method for &#8216;client&#8217; and &#8216;client&#8217; is a quad-rotor drone. This file references that file, which uses something from another file, and.. what was it I was doing again?<\/p>\n\n\n\n<p>While working on my capstone, I remembered two things this week. <\/p>\n\n\n\n<ol class=\"wp-block-list\"><li><strong>Be present enough to know that you&#8217;re going down a rabbit hole.<\/strong><\/li><li><strong>Occam&#8217;s razor <\/strong><\/li><\/ol>\n\n\n\n<p>I will go backwards and address #2 first. For those unfamiliar, Occam&#8217;s razor is the idea that usually, the most simplest or obvious answer is the correct answer. When I was trying to get the environment to run, I got an error that a dependency could not be found. I knew that I had installed it earlier, and I verified that it was indeed installed. I thought of all the possible reasons that the program could not find it. Was it somehow installed in the wrong place? Was it the wrong version of correct software? Did I accidentally install a different software? etc. To make a long story short, it was because I installed the software to my computer but not to the environment that I was running the software in. A short &#8216;npm install&#8217; later, I was up and running. <\/p>\n\n\n\n<p>Doing this project has reminded me how much I love learning and problem solving. I frequently found myself voraciously looking through anything that I thought was interesting while working on getting my program to work, however; I quickly realized that this was not sustainable. This might be controversial, but I am trying to adopt a mindset of &#8220;learn only as much as you need to know&#8221;. I don&#8217;t mean this in a classroom setting, as much as applying it to solving a problem. Sometimes I need to take a step back and ponder, &#8220;Is this information applicable to me? Will it help me overcome my obstacle?&#8221;. If there is more to be learned, I will learn it when I need it. Time is a resource that I must keep in mind. Even though the article I am reading teaches me things, it may not be wise to be spending time reading it. <\/p>\n\n\n\n<p>So these are the things that I will try to keep in mind going forward. I&#8217;m excited to see what I learn next!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been trying recently to get into the habit of taking notes while I learn about new concepts\/technologies\/languages, and thought that it might be interesting to share some of my journey and thoughts along the way. Before I begin, I must warn the reader that my mistakes are sometimes very dumb but that is the [&hellip;]<\/p>\n","protected":false},"author":12450,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-12","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blogs.oregonstate.edu\/plmblog\/wp-json\/wp\/v2\/posts\/12","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.oregonstate.edu\/plmblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.oregonstate.edu\/plmblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/plmblog\/wp-json\/wp\/v2\/users\/12450"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/plmblog\/wp-json\/wp\/v2\/comments?post=12"}],"version-history":[{"count":1,"href":"https:\/\/blogs.oregonstate.edu\/plmblog\/wp-json\/wp\/v2\/posts\/12\/revisions"}],"predecessor-version":[{"id":14,"href":"https:\/\/blogs.oregonstate.edu\/plmblog\/wp-json\/wp\/v2\/posts\/12\/revisions\/14"}],"wp:attachment":[{"href":"https:\/\/blogs.oregonstate.edu\/plmblog\/wp-json\/wp\/v2\/media?parent=12"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/plmblog\/wp-json\/wp\/v2\/categories?post=12"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/plmblog\/wp-json\/wp\/v2\/tags?post=12"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}