domingo, 28 de abril de 2013

Code is uploaded to Sourceforge



Hi folks!

I just uploaded the library with comments and 2 examples to Sourceforge. You have the code here:

https://sourceforge.net/projects/omniplatform/files/

As you can see there, I put quite a lot of comments on the Lib file. It should be easy for you follow the code. 

I create 3 classes: 

B_Wheel: Virtual class to deal with any wheel / driver combination. 

Driver_Wheel: Class to deal with wheels commanded by a driver using 2 outputs to define direction and a PWM output.

Platform: Class able to control a 3 omni-wheel platform. This class uses an array of pointers to B_Wheel variables. This way, this class can control any kind of wheels.

I will extend this lib by providing an additional wheel-drive type: Full Rotation Servo like this one of Sparkfun. This way, 99% of wheel-drive combinations were covered.

The To-Do list is quite long: Full rotation Servo, 4 wheel platform, 2 wheel platform (not omni), incorporation of compass to control direction, LIDAR support...

If you have any question or doubt, please put an comment in this page and I will answer you.

Enjoy!




domingo, 21 de abril de 2013

Platform 2.0




Here you have! Platform 2.0 on moving. 


I think the motors are too fast. To set the platform on moving you must request a high speed from the remote controller. Moving slowly is hard... 

Too much speed and to few torque:  I choose a wrong gear ratio (too low). I will test it with a different motor type/gear ratio to see what are the results.

I'm just adding comments to the Arduino source code to make it more understandable. I hope to be finish  this week.

Keep Reading!

viernes, 12 de abril de 2013

To be open or not to be open... that's the question


Sometimes I have discussions with my colleagues about how economics can be influenced by Open Source creations.  Basically, they consider stupid to give out know-how for free. Companies making their know-how open are throwing out value or, even worst, giving engineering for free to their competitors. When we reach the hot point of the discussion, I always mention the same history. It’s the history of a big company giving a book for free. Not  a little company, not a simple book… look:

There are a few books that dramatically influenced human history. Some of them are about religion, others about economics, politics... I would like to present you one of those books. This one is about computers.

Here you have a photo of it:


I recovered it during a warehouse clean-up in my former company.  I still have it. Please read the preface. Why did we stop to do this kind of things?



This book describes in very deep detail the first IBM Personal Computer. Standard communication protocols were explained, electronic diagrams were included, even the BIOS was disassembled, including comments!




 

 

This book helped to create a lot of parallel business, from printers to video cards, from file compressing software to anti-virus. But, most of all, it gave millions of companies, individuals and families a wonderful gift: the transaction cost of complex communication decreased by a factor of 10^n.

At that time, Apple was selling his Apple II with commercials showing it at home, in the kitchen. 



On the early 80’s, IBM was a Hardware company in a hardware world. The name of the game was “the one who grows faster gets all” (sounds familiar?) and the Pc won that first round of the game. Macintosh came a few years later. Then the mobile phone, the Ipad… The rest is history.

IBM created the XT (including Hard disc, wow!), then the AT (having mathematical coprocessor, wow again!). Mobile computing came right after. But plenty of alternative companies were struggling to deliver better & cheaper Pc’s. IBM won a huge pile of money selling Pc’s but 25 years after his creation, IBM completely left the Pc business making loses on this part of the company.

In my opinion, IBM made 2 wrong assumptions:
- They expected to be & to remain the center of a community forever.
- This community was formed by companies creating & providing hardware depending on IBM new Spec’s.  “Who cares on the software? Who knows which software will be used tomorrow? “

But once you get open, you are just one more. People care about which is the original one only for a short while, then they go for the best option.


Microsoft took over IBM by proposing a radically different paradigm. They detected that future was all about software, not hardware. And, on top of all, they didn't focus on the hardware community: they focus on end users. Computer producers were just the sales channel, not the customers. They focus on End User Companies using a nice approach: You must have our products because everybody else have them.  Do you want to share documents with other companies? Then you must pay us first!”  Brilliant: The more people entering into this Ponzi scheme now, the more people will enter in the future.


Microsoft was /is not an open company.  You get nearly nothing for free out of them. Microsoft philosophy is: “I develop, you install & deliver, they pay us”. One could think that the Microsoft /Copyright concept won the IBM/Openness one. But it is not true. Microsoft (and many other) used the Open System provided by IBM to grow.  

After earning a huge amount of money, IBM went to his real core business: let’s create information systems that help people. They went software. And Microsoft... well Microsoft will die as Microsoft.



 To be or not to be open, that's the question...   What is your answer to this dilemma?