To actually work on an interface and see it develop makes you feel like a demi-god. The interface between the RPi and android is as simple as one can imagine. If we put it down to the really basic building blocks all we are doing is making two different JVMs talk to each other. The problem arises when one JVM is constantly talking and changes its language from urdu to japanese suddenly and the other JVM doesnt understand it. StreamCorrupted Exception? Maybe or maybe not. The threading also doesnt provide much of a ease to life it just complicates thing. Question arises what to do? Shouldnt the function of Socket handle these things on its own. Lets be really clear there is a single stream not multiple ones because I havnt introduced a second Socket. One socket one pair of stream so whats the problem then? The thread should only work when the Outputstream is ready aint it so? Then why is the OS giving problems. Anyhow changed it to one thread and now it works perfectly. but have to send all the data on that single thread. Its simpler but dumber. Concerned about the implementation of the pitch row and yaw how much should be smooth and how much should be really fast for the quad. the values lie between 1000-2000. Thinking of starting slow ( although I am way behind the schedule). For now only do the throttle and see if the quad flies or not. Also need to add sections. I think the major obstruction at the moment are the levels nothing else I just dont know what to do with that :(
Wednesday, November 27, 2013
Thursday, September 12, 2013
Linking the world together
Sitting in front of the laptop 18 hours a day and making some abominable complex code, working out the bugs and then see it flicker to life like it was made to do a sole purpose. It serves obediently without question, not a single struggle from it doing exactly as it was told to do. Isn't that just satisfying but then you wonder if writing some logic and see it jump to life is so rewarding why were we created to think. Shouldn't we be also just some pieces of code, mind you complex code but still code. The pattern of human beings is extremely similar in nature. They are like these Autonomous robots which search their environment. The thing is even autonomous robots have a given set of logic, so are we also the slaves of these pieces of logic written in our DNA. Will our thinking pattern always reflect a common path with a little variance? Mind is a storm of electric discharge,extremely small voltages but still a storm. The more we think the more the storm flares up. The barriers of insanity within us are broken everyday we just don't see it. We are so used to ourselves that we think it is normal. Only when we go above and beyond insanity that some of us understand that the limits are broken while some of us altogether don't even understand what has happened. Is intelligence the strong wall which protects us from the insanity or is it just the enabler. Were we bought to this ending land to make complex codes, hardware see ourselves become insane or were we bought here for a different purpose altogether. From what I see is that creating complex codes and understanding the systems is a way to understand this world but it also opens up the mind to a more violent truth which helps one to reach for insanity. The closer you get to the reality the more fictitious it becomes.... isn't this what Quantum Physics says.......
Subscribe to:
Posts (Atom)