<commit_before>= Project Darwin 

_My first hackathon_

image::team.jpg[Sunset]

== Begin

It all started on a boring Wednesday when we stumbled upon a hackathon by Bosch on Hackerearth. It's funny how boredom and ambition led to an amazing life experience.

== Idea
The first round was the _Idea Stage_, only the *top 30 ideas* would be shortlisted to work on their project for 36 hours. This was our first hackathon and we didn't sign up for the heck of it, we wanted to *win*. I had _Leap Motion_ which I never got around to use and from there we started brainstorming. We decided to create a Virtual Reality experience with the _Leap_ and _Google Cardboard_. But this was a hardware hackathon and we would definately not even be shortlisted. In our previous semester we built a robotic arm using an _Arduino_ and a couple of Servos. Our idea was a robotic arm that could mimic hand gestures in realtime. *Over 900 teams* applied and we got through, now we had a month to learn and design our prototype.

== Design

After we finished our mid-term tests we started discussing about what we need and went shopping for parts. Three days before the hackathon we started working on how our prototype would look. The arm elbow had _xyz_ freedom, the wrist had only _x_ and the claw could open and close depending on the angle between the thumb and index finger. To make the arm cooler, we added some wheels to increase mobility and to control it using the keyboard over Wifi. We redisigned, fried components and got nowhere. But this was an important moment for us, we realised that anything could go wrong and we prepared for the worst. 

== Hackathon

Our first priority was to build the arm and then move on to coding.

.*The Arm*
* Arduino: Controlled the Servos and 2 DC Motors 
* Raspberry Pi: The Arduino is directly connected to this and the Raspberry Pi relays the data from the Laptop over Wifi.
* Motor Shield: A microcontroller to control the 2 DC motors.
* Powerbanks: Power supply for all components including the Raspberry Pi.

.*Programming*
* Arduino: Set up functions for servo to sweep whose angle would be recieved through Serial input fromt the Raspberry Pi.
* Networking: Used python socket programming to send our data to the Raspberry Pi which would then pass the data through a Serial Port to the Arduino.
* Leap Motion: The python LeapSDK was easy to use and very well documented. We used vectors and geometry to get the angles for the Servos.

With just 2 hours remaining we got a brilliant idea. The angles we calculated were just strings passed on to the Arm. This could be written into a file and then we could write a small script to pass the recorded values. This was our jewel in the crown, an arm that could mimic hand gestures in realtime and then *replay them exactly*.

== Pitch

The pitch is critical, a bad pitch would make a brilliant project lackluster. This hackathon had a *manufacturing theme* and we needed to exploit it. In our pitch we gave applications in the manufacturing industry, saying the our arm is multi-purpose and didn't require a programmer to code the arm for every new task. The user just needed to do the task once over a Leap Motion and then the arm could replay the task 'n' number of times.

== Demonstration

We burnt the midnight oil and were not our 100 per cent to say the least. We decided that a judge could place a paper cup anywhere on a table and we would pick the cup and place it inside another. Our first first attempt was a failure, we asked for another try. One of the other judges watched over us when we doing a test run and recorded a successful demonstration on her mobile. She shared it with the others and when we were up again to demonstrate we had a small crowd gape at our every move. It was nerve wrecking, but I felt reassured about the successful attempt recorded by one of the judges. In our final try, we were successful and we were on top of the world.

== We won!(Sort of)

It took about an hour for the judges to declare the results. The first place was to be awarded ₹3 lakh($4.3k), second place ₹2 lakh($2.9k) and third place ₹1 lakh($1.4k). The first place winners were also going to showcase their project in the Bosch Smart Manufacturing(BSM) Conclave in Mumbai. Before they announced the Grand Prize winners, they called out our names saying we were going to Mumbai! But we didn't win any money that day.

== Bosch Smart Manufacturing Conclave

We upgraded our arm and set off for Mumbai. Bosch paid for the flight, hotel, everything. In our time in the hotel we finally came up with a name for our arm, *Darwin* _the arm that adapts_. We had to demonstrate on stage and this time we had no margin for error. A day prior our robotic arm caught fire due to a bad wire and our Leap Motion stopped working. After overcoming the series of unfortunate events we had the most amazing experience.

pass:[<blockquote class="twitter-tweet" data-lang="en"><p lang="en" dir="ltr">Meet <a href="https://twitter.com/hashtag/Darwin?src=hash">#Darwin</a>: The gripping idea by <a href="https://twitter.com/hashtag/BoschHackathon?src=hash">#BoschHackathon</a> winners, Mr. Hatchet, might just be the next step towards evolution. <a href="https://twitter.com/hashtag/BSM2016?src=hash">#BSM2016</a> <a href="https://t.co/vCxR01ul7k">pic.twitter.com/vCxR01ul7k</a></p>&mdash; Bosch India (@boschindia) <a href="https://twitter.com/boschindia/status/797042650142519297">November 11, 2016</a></blockquote>
<script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>]

video::pKrh6pd3IKg[youtube, height = 280, width = 500] 

== Epilogue












<commit_msg>Update 2016-11-23-Project-Darwin.adoc<commit_after>= Project Darwin 

_My first hackathon_

image::team.jpg[Sunset]

== Begin

It all started on a boring Wednesday when we stumbled upon a hackathon by Bosch on Hackerearth. It's funny how boredom and ambition led to an amazing life experience.

== Idea
The first round was the _Idea Stage_, only the *top 30 ideas* would be shortlisted to work on their project for 36 hours. This was our first hackathon and we didn't sign up for the heck of it, we wanted to *win*. I had _Leap Motion_ which I never got around to use and from there we started brainstorming. We decided to create a Virtual Reality experience with the _Leap_ and _Google Cardboard_. But this was a hardware hackathon and we would definately not even be shortlisted. In our previous semester we built a robotic arm using an _Arduino_ and a couple of Servos. Our idea was a robotic arm that could mimic hand gestures in realtime. *Over 900 teams* applied and we got through, now we had a month to learn and design our prototype.

== Design

After we finished our mid-term tests we started discussing about what we need and went shopping for parts. Three days before the hackathon we started working on how our prototype would look. The arm elbow had _xyz_ freedom, the wrist had only _x_ and the claw could open and close depending on the angle between the thumb and index finger. To make the arm cooler, we added some wheels to increase mobility and to control it using the keyboard over Wifi. We redisigned, fried components and got nowhere. But this was an important moment for us, we realised that anything could go wrong and we prepared for the worst. 

== Hackathon

Our first priority was to build the arm and then move on to coding.

.*The Arm*
* Arduino: Controlled the Servos and 2 DC Motors 
* Raspberry Pi: The Arduino is directly connected to this and the Raspberry Pi relays the data from the Laptop over Wifi.
* Motor Shield: A microcontroller to control the 2 DC motors.
* Powerbanks: Power supply for all components including the Raspberry Pi.

.*Programming*
* Arduino: Set up functions for servo to sweep whose angle would be recieved through Serial input fromt the Raspberry Pi.
* Networking: Used python socket programming to send our data to the Raspberry Pi which would then pass the data through a Serial Port to the Arduino.
* Leap Motion: The python LeapSDK was easy to use and very well documented. We used vectors and geometry to get the angles for the Servos.

With just 2 hours remaining we got a brilliant idea. The angles we calculated were just strings passed on to the Arm. This could be written into a file and then we could write a small script to pass the recorded values. This was our jewel in the crown, an arm that could mimic hand gestures in realtime and then *replay them exactly*.

== Pitch

The pitch is critical, a bad pitch would make a brilliant project lackluster. This hackathon had a *manufacturing theme* and we needed to exploit it. In our pitch we gave applications in the manufacturing industry, saying the our arm is multi-purpose and didn't require a programmer to code the arm for every new task. The user just needed to do the task once over a Leap Motion and then the arm could replay the task 'n' number of times.

== Demonstration

We burnt the midnight oil and were not our 100 per cent to say the least. We decided that a judge could place a paper cup anywhere on a table and we would pick the cup and place it inside another. Our first first attempt was a failure, we asked for another try. One of the other judges watched over us when we doing a test run and recorded a successful demonstration on her mobile. She shared it with the others and when we were up again to demonstrate we had a small crowd gape at our every move. It was nerve wrecking, but I felt reassured about the successful attempt recorded by one of the judges. In our final try, we were successful and we were on top of the world.

== We won!(Sort of)

It took about an hour for the judges to declare the results. The first place was to be awarded ₹3 lakh($4.3k), second place ₹2 lakh($2.9k) and third place ₹1 lakh($1.4k). The first place winners were also going to showcase their project in the Bosch Smart Manufacturing(BSM) Conclave in Mumbai. Before they announced the Grand Prize winners, they called out our names saying we were going to Mumbai! But we didn't win any money that day.

== Bosch Smart Manufacturing Conclave

We upgraded our arm and set off for Mumbai. Bosch paid for the flight, hotel, everything. In our time in the hotel we finally came up with a name for our arm, *Darwin* _the arm that adapts_. We had to demonstrate on stage and this time we had no margin for error. A day prior our robotic arm caught fire due to a bad wire and our Leap Motion stopped working. After overcoming the series of unfortunate events we had the most amazing experience.

pass:[<blockquote class="twitter-tweet" data-lang="en"><p lang="en" dir="ltr">Meet <a href="https://twitter.com/hashtag/Darwin?src=hash">#Darwin</a>: The gripping idea by <a href="https://twitter.com/hashtag/BoschHackathon?src=hash">#BoschHackathon</a> winners, Mr. Hatchet, might just be the next step towards evolution. <a href="https://twitter.com/hashtag/BSM2016?src=hash">#BSM2016</a> <a href="https://t.co/vCxR01ul7k">pic.twitter.com/vCxR01ul7k</a></p>&mdash; <NAME>dia (@boschindia) <a href="https://twitter.com/boschindia/status/797042650142519297">November 11, 2016</a></blockquote>
<script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>]

video::pKrh6pd3IKg[youtube, height = 280, width = 500] 

== Epilogue

We are now Student Ambassadors of Bosch and got the oppurtunity to meet(TO WRITE...)













{'fraction_non_alphanumeric': 0.053737090845440226, 'fraction_numerical': 0.012777875021879923, 'mean_word_length': 4.280499075785582, 'pattern_counts': {'":': 0, '<': 36, '<?xml version=': 0, '>': 36, 'https://': 10, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1671796', 'n_tokens_mistral': 3183, 'n_tokens_neox': 2933, 'n_words': 1832}