m241dan – Not an Internship, but a Fellowship http://192.168.0.27 Mindlessness vs. Mindfulness Sun, 13 Aug 2017 19:34:19 +0000 en-US hourly 1 https://wordpress.org/?v=4.8.1 Okay, so, what have I learned? http://192.168.0.27/index.php/2017/08/13/okay-so-what-have-i-learned/ http://192.168.0.27/index.php/2017/08/13/okay-so-what-have-i-learned/#respond Sun, 13 Aug 2017 19:33:09 +0000 http://192.168.0.27/?p=81 Continue reading Okay, so, what have I learned?]]> If you had asked me before I started this how I should approach a project, any project, or situation, or crisis, I may have done a little bit of research but after that, it would have been to just dive in. This method relies a lot on trial and error and can be okay in certain situations. However, a few steps I have learned this summer are universally applicable:

  1. Research
  2. Resources
  3. Math
  4. Execution
  5. Troll

Do your research: Always do your research first. If the field you are working in is unchanging and you are already an expert, you can skip this step. However, if you are an expert, you’ve already done your research and ultimately step one still applies. Doing research first can save so much time, headache, and can give good solid inspiration for your work.

Know your resources: Understand the system you are working with and what is available. For example, DTCC Swarmathon this year spent a long time worrying about stuff that was already done and available for them. If the leadership had spent more time examining what was provided to them and figuring out how it worked, they would have spent less time trying to write code that they didn’t need and inevitably never used.

Do the Math: There’s a part in the Martin and I’m not sure if it is from just the trailer, if it was in the movie or also in the book, but I know for sure its in the trailer. Anyway, in this part, it’s Mark Watney says, “let’s do the math.” This is a lesson that is so incredibly important. Not only because if there is math to be done, you should do it, but it is also a broader lesson. If there is a problem, or something, make sure you know exactly what the problem is before you go diving in with solutions. If you don’t, you can end up wasting a lot of time.

Do the thing(Execution): After you have done the first three steps to the point where you can defend every aspect of what you are trying to do… then and only then should you execute. Obviously there are fringe cases where the first three steps may need to be skipped, but if you only want to skip them… don’t. Whatever you do will end up being far worse than if you’ve seriously given the first three steps your all.

Troll: Small harmless pranks and teases are a good way for teams to bond and keep morale high…

 

]]>
http://192.168.0.27/index.php/2017/08/13/okay-so-what-have-i-learned/feed/ 0
Two Weeks to Go: Outdoor testing! http://192.168.0.27/index.php/2017/08/13/two-weeks-to-go-outdoor-testing/ http://192.168.0.27/index.php/2017/08/13/two-weeks-to-go-outdoor-testing/#respond Sun, 13 Aug 2017 19:30:58 +0000 http://192.168.0.27/?p=78 Continue reading Two Weeks to Go: Outdoor testing!]]> With only two more weeks to go, I have begun testing my work outside with my faithful steed (or dragon?) Rhaegal. And I’ve hit a snag, which is a huge drag.

My current implementation of the State Machine uses a Waypoint System to move from point to point within an arena. The problem is, due to fuzzy localization, the waypoints are usually shifting about a meter around their “actual” location. The shifting does not occur in the simulator, which I know, but I also didn’t realize it was going to be such an issue for precision driving in the real world. If I want the Rover to drive one meter exactly forward, it cannot. My current technique for managing this is just using some trig to generate a waypoint one meter straight in front of the Rover. However, it cannot drive straight, because to its perspective, the waypoint is always drifting. For example, if the waypoint is drifting to the left, it will cause the Rover to curve its path to the left to try and meet it. This is a major problem.

The reason this is a major problem is that for things like picking up a cube, or dropping off a cube, in the real world, the Rover needs to be able to take commands allowing it to drive as straight as possible! Since the cubes and the actual Rover aren’t drifting, if I set a point in front of the cube the Rover is trying to pick up, that waypoint drifts away and the Rover doesn’t end up in front of the cube.

So, does it seem like my current implementation won’t work at all. Luckily, it will work great for general motion. For example, he’s a picture of the Rover driving around sweeping out an expanding square spiral area.

IMG_20170720_165119719_HDR

While this is a virtual map of where the Rover thinks it went, the combination of Navsat, Odometry, and IMU has it echoing this pretty close in the real world. All is not lost! However, I am in the process of implementing a better way to deal with specific driving in the short term.

]]>
http://192.168.0.27/index.php/2017/08/13/two-weeks-to-go-outdoor-testing/feed/ 0
Planning Meals? Cooking for days… http://192.168.0.27/index.php/2017/08/13/planning-meals-cooking-for-days/ http://192.168.0.27/index.php/2017/08/13/planning-meals-cooking-for-days/#respond Sun, 13 Aug 2017 19:28:51 +0000 http://192.168.0.27/?p=75 Continue reading Planning Meals? Cooking for days…]]> Due to the nature of not having access to a care and having to pay a Lyft driver all the time, I started to plan my meals in advance. In addition, I usually make big meals so that days after cooking I am still eating left overs! Here’s a creation that I’ve particularly enjoyed making. It’s a “primal” Shepard’s Pie!

]]>
http://192.168.0.27/index.php/2017/08/13/planning-meals-cooking-for-days/feed/ 0
A Lab Tour? Check it out! http://192.168.0.27/index.php/2017/08/13/a-lab-tour-check-it-out/ http://192.168.0.27/index.php/2017/08/13/a-lab-tour-check-it-out/#respond Sun, 13 Aug 2017 19:23:00 +0000 http://192.168.0.27/?p=61 Continue reading A Lab Tour? Check it out!]]> For those of you who do not know, I don’t go to “work” every day… I go to the “lab.” I am quite happy with the lab. It’s a more comfortable working environment than I thought it was going to be. There is a ton of white board space (though never enough markers… or any sometimes, THANKS NICK!), plenty of seating, plenty of space for a desktop AND a laptop AND a notepad, power plugs everywhere, and table space for the Rovers as well! We are also conveniently located near the bathrooms and the water bottle filling station; although, my one gripe is the chairs. They are really weird. Picture a rollie chair, but when you sit on it, it disables the rollers! Sometimes this is a blessing, but when you want to slide across the room to talk to someone while still sitting in your seat, YOU CAN’T! Anyway, a picture is worth a thousand words…

]]>
http://192.168.0.27/index.php/2017/08/13/a-lab-tour-check-it-out/feed/ 0
Another Hike!? How manly… http://192.168.0.27/index.php/2017/08/13/another-hike-how-manly/ http://192.168.0.27/index.php/2017/08/13/another-hike-how-manly/#respond Sun, 13 Aug 2017 19:14:37 +0000 http://192.168.0.27/?p=42 Now that the roommates are  back from their vacation, I believe I’ll be doing a lot more of these hikes. This weekend, we met up with Chelsea’s (one of my roommates) dad and younger brother to go on a hike in Oxnard!

What a day! What a view! I slept well that night.

]]>
http://192.168.0.27/index.php/2017/08/13/another-hike-how-manly/feed/ 0
Week Three/Four: ROBOT EXPERIMENTS http://192.168.0.27/index.php/2017/08/13/week-threefour-robot-experiments/ http://192.168.0.27/index.php/2017/08/13/week-threefour-robot-experiments/#respond Sun, 13 Aug 2017 19:09:33 +0000 http://192.168.0.27/?p=38 Continue reading Week Three/Four: ROBOT EXPERIMENTS]]> For those of you keeping up, I’m pretty sure I have mentioned that the fellows and I were just going to be doing a lot of research for the first three weeks. Well, believe it or not, this can be a little boring. So, starting in week three, we began to do some experiments to break up the monotony. A lot of my fellow fellows are depending on information from sensors that they know very little about. So, we got some super scientific electric tape (almost as scientific as balloon tape, or even space tape) and started to figure some stuff out.

Ever wonder what a robot sees? This is what ours can see with its little camera. After mapping that out cone out, we also spent a bit of time outdoors (the weather has been perfect)!

We had to get a feel for what the base code could do without any modifications. Only two members (Lex and myself) on the team had any idea what that was like, as they had participated in NASA Swarmathon 2017. Also, we may have had to use “human walls.” It’s not the most ideal testing area…

All in all, needless to say, monotony broken! As I write this, we have moved past the research stage (though, does one ever move past the research phase? I mean… truly?) and are doing a lot more of these types of experiments now and writing a lot more code!

]]>
http://192.168.0.27/index.php/2017/08/13/week-threefour-robot-experiments/feed/ 0
Travel, Transportation, and Temporary Housing http://192.168.0.27/index.php/2017/08/13/travel-transportation-and-temporary-housing/ http://192.168.0.27/index.php/2017/08/13/travel-transportation-and-temporary-housing/#respond Sun, 13 Aug 2017 19:08:10 +0000 http://192.168.0.27/?p=36 Continue reading Travel, Transportation, and Temporary Housing]]> The biggest struggle with this entire process so far has been the three Ts.  Okay, maybe not the biggest struggles, I don’t necessarily enjoy reading research for three weeks. However, due to the nature of a Distributed Research Experience for Undergrads, one may end up paying rent in two locations. Fortunately for myself, I was coming up on the end of my lease and was able to stay with a friend until it was time for me to fly out.

With the dominoes falling into place, my successful placement with a mentor at an institution not my own and my lease coming to an end, I had to find a new place to live for just two months during the summer. Two month leases are not really a thing. Thankfully, my mentor Dr. Isaacs was instrumental in helping me find a place. He lives in a townhouse complex that is adjacent to the school where we would be doing our research. He posted on NextDoor for his neighborhood and within a few days we had multiple hits. I was able to make contact with him and negotiate a reasonable price. I believe, in this sense, I got very lucky. I could see this process being much longer and frustrating.

The biggest downside of this being distributed is not having access to a car. While, of course my host family (this is what I call the people I live with) obviously has a car, they have been gone for the first four weeks and did not feel like letting me drive their car. Unfortunately for me, it may be a suuuuuuuper convenient walk to campus, it is many more miles than I want to walk to the closest grocery store. For the past three weeks, I’ve been having to get Lyfts to go get food. This is an extra $20 added to my grocery bill every time. However, I imagine that when my hosts return from their vacation, I will be able to ride with them when they go grocery shopping.

 

]]>
http://192.168.0.27/index.php/2017/08/13/travel-transportation-and-temporary-housing/feed/ 0
My research, my team, and my task. http://192.168.0.27/index.php/2017/08/13/my-research-my-team-and-my-task/ http://192.168.0.27/index.php/2017/08/13/my-research-my-team-and-my-task/#respond Sun, 13 Aug 2017 19:06:48 +0000 http://192.168.0.27/?p=33 Continue reading My research, my team, and my task.]]> For the first week, we focused purely on reading research articles cited by and cited within an article written by Joshua P. Hecker and Melanie E. Moses called Beyond Pheromones. This has been a great launching platform for learning about research in our field. We will be working on the Swarm Robotics platform that Moses and Hecker developed for NASA Swarmathon, and as such, this article gave great insight into their way of thinking. Going up and down the chain of research surrounding this one article also gave us a decent perspective into research in this field, specifically, how it is done, what some of the challenges are, and some of the obstacles my team will be facing.

About the team, I haven’t really talked much about the people I am working with. I was surprised to find them to all be around the same age as me (given that I am a 30 year old undergrad… it is great to see I’m not the only one!) and three of the four of them are also undergraduates. The three other undergraduates are all participants in a local REU called Summer SURFer program that is offered through their school. The fourth is a grad student who is simply here for the experience, and surprisingly enough, he’s the youngest among us. One of my fellow undergrads was a participant in the NASA Swarmathon this year, and as such is familiar with the platform. We have been slowly educating the other three on its operation when we need a break from all the reading we are doing for research.

Since there are five of us in total, we have broken down our pject into five specific tasks. Each fellow will develop an algorithm for their specific task covers a field in swarm robotics and our job will be tailoring them to the NASA Swarmathon competition and platform. The tasks are find home, pick up, drop off, obstacle avoidance, and the state machine. We are not worried about searching, and if we have time we will play with it a bit. However, as a collective, we believe that we must have a solid foundation before focusing on search and our foundation is the five things we listed above. Of the five tasks mine is the State Machine.

While our research in the first week was focused on going up and down the chain of the Beyond Pheromones article, the second week has all been about State Machines. And let me just say, I’ve learned a lot. I already have plans for the information I’ve learned so far, and now plan to augment the current program that operates the payload on my HASP project to use a State Machine. The goal is to bring a higher level of efficiency to each iteration of the programs operation, which is something I have been internally struggling with lately. The program works, but it is time to make it better. This is the internal struggle of the artful programmer, “make it work, then make it good. Refactor, refactor, refactor.”

]]>
http://192.168.0.27/index.php/2017/08/13/my-research-my-team-and-my-task/feed/ 0
New toys! http://192.168.0.27/index.php/2017/08/13/new-toys/ http://192.168.0.27/index.php/2017/08/13/new-toys/#respond Sun, 13 Aug 2017 19:04:01 +0000 http://192.168.0.27/?p=30 Continue reading New toys!]]> Thanks to the stipend from my DREU, I was able to purchase some new toys: two PIs and a mini projector! There are a lot of cool things you can do with Raspberry PIs. You can have a media box, a gaming console, a small computer, you can control small sensors just like an Arduino! It doesn’t come with a monitor though! Hence, the projector!

Also, I think mini-projectors are so cool! The projectors are so affordable, portable, and of pretty good quality! Just like the Raspberry PI! Making these two components a match made in technological heaven!

photo three blog, installing raspbian
Installing raspbian! Debian for the Raspberry PI
photo three blog, playing FFI
Playing Final Fantasy One (NES) on the Raspberry PI
photo three blog, playing super mario 3
Playing Super Mario Bro 3 on Raspberry PI using my Projector!!!
photo three blog, streaming youtube
Using the Raspberry PI and my Projector to stream some YouTube
photo three blog, grandia ii
Playing Grandia II (Dreamcast) on the Raspberry PI
]]>
http://192.168.0.27/index.php/2017/08/13/new-toys/feed/ 0
Just because it’s not hot… http://192.168.0.27/index.php/2017/08/13/just-because-its-not-hot/ http://192.168.0.27/index.php/2017/08/13/just-because-its-not-hot/#respond Sun, 13 Aug 2017 18:59:58 +0000 http://192.168.0.27/?p=27 Continue reading Just because it’s not hot…]]> you might still want sunscreen.

It was my first weekend here in California and I decided to go on a hike! It was amazing exercise, it was amazingly dry (I brought water), the sights were so different than I am used to (which made for some amazing views), but it wasn’t all good… I got a little sunburned. Anyway, he’s a quick google stylized video of the photos I took:  https://goo.gl/photos/DhNBByLUeGxshPHB9

]]>
http://192.168.0.27/index.php/2017/08/13/just-because-its-not-hot/feed/ 0
This is a fellowship, it is not an internship: Day1-14 http://192.168.0.27/index.php/2017/08/13/this-is-a-fellowship-it-is-not-an-internship-day1-14/ http://192.168.0.27/index.php/2017/08/13/this-is-a-fellowship-it-is-not-an-internship-day1-14/#respond Sun, 13 Aug 2017 18:45:23 +0000 http://192.168.0.27/?p=22 Continue reading This is a fellowship, it is not an internship: Day1-14]]> You know, going into this… I knew it was not an internship, it was a research fellowship. Julie Hoover, Ryan Theurer, and I had yelled jokes about it as he had left the Geology (where we were diligently working on our HASP payload) this summer, Abandoning us to go to his internship at some no-name NASA facility. So, I knew I would be a fellow doing research and experimental work on the NASA Swarmathon platform. However, what I did not realize was that this was a RESEARCH fellowship. On the first day, it became stunningly apparent that for at least the first third of this 8 week stint, my fellow fellows and I were going to be doing a lot of research and annotated bibliographies, while doing very little actual programming.

After day 3, I felt very lucky to have had an English teacher like Sonny Haynes. Thanks to him, I did not feel like I was unprepared to do what needed to be done. His teaching style and his presence always pushed me to be better at both research and writing. The fact that I had done a multitude of annotated bibliographies before had greatly prepared me for the first part of the internship. And while it is probably a general require of the Durham Tech English department to teach and do what he did, I felt particularly prepared because of Mr. Haynes.

And while I may not be entirely fond of research, I do feel like I am more prepared than EVER to tackle the challenges of Swarm Robotics thanks for the research that my mentor Dr. Jason Isaacs is having us do. So, like the many snails in the photo above, I slowly slug towards my goal of actually getting to write some code. Some well researched, and thoroughly thought out, code.

]]>
http://192.168.0.27/index.php/2017/08/13/this-is-a-fellowship-it-is-not-an-internship-day1-14/feed/ 0