We're almost done with our Giant Robot Project. Realising we had only a few hours before the robots would be deconstructed and sent away, we decided... that we must add Wiimote control to our system! Yes, 15 tonne steel arms, giant claws and 200 bar of hydraulic pressure... all controlled with a flick of the wrist.
With loads of help from my partner in crime, Dan Adams and the Python cwiid module we were up and running in about 2 hours. We used tilt left and right to move the slew, and lean back and forward to control the main boom and the two smaller jibs.
Huge thanks to Transmin for letting us use their robots! I'm willing to bet that these robots are the largest Wiimote controlled devices on the planet.
Anyone care to dispute? :-)
Subscribe to:
Post Comments (Atom)
Popular Posts
-
These are the robots I've been working on for the last 12 months. They each weigh about 11 tonnes and have a 17 meter reach. The control...
-
So, you've created a car prefab using WheelCollider components, and now you can apply a motorTorque to make the whole thing move along. ...
-
I have just spent an hour trying to track down a weird bug in some Javascript interpolation code. The offending code looks like this: var n ...
-
Why would I ask that question? Python 3 has been available for some time now, yet uptake is slow. There aren't a whole lot of packages i...
-
Dear Lazyweb. Imagine a nice RESTful interface for working with Tags. The URL: /tags/ will return a list of all the tags. The URL: /tags/fo...
-
After my last post, I decided to benchmark the scaling properties of Stackless, Kamaelia, Fibra using the same hackysack algorithm. Left axi...
-
I've just uploaded Fibra 2 to the cheeseshop. Fibra 2 includes the promised non-blocking plugin, which allows a generator based task to...
-
The procedural planet package has been updated to version 1.4, and you can see the new demo here . It features better city light control, be...
-
I've just finished refactoring an awful C# class. I had been delaying the job for a while because I didn't want to do it. Then, whil...
-
I've built sites with Django, TurboGears and Pylons. I've come to prefer Pylons. Why? Pylons gets out of the way, and stays out of t...
11 comments:
AHAHA, that's awesome!
That's one of the coolest things I've ever seen done with python.
Awesome work guys. Nice to see big smiles, a true indication you love your jobs. Keep it up!
Nice work! Looks like lots of fun, I wish my projects would involve stuff like that :)
nice work :)
Please set the other one up to also work with the wiimote, then have them arm-wrestle. I will send you $5 if you do!
That's really quite impressive. Since I have also been working on python and robots too, what I'm interested in is to know a bit more of what you'v done and what do you mean by "the whole thing is running on python??"
Hey Swapnil.
Basically, the entire control system ie the code which takes readings from sensors and adjusts solenoids values, occurs in Python. The communication code is written in C and uses realtime techniques to minimize latency. In the event that our code does not respond to an event quickly enough, a hardware device will trip and halt the system in an alarm state.
That sounds cool! I just wonder whether you had to go through the pain of porting python for some Hard Real time OS, which is what I have been doing. BTW, were you able to go anywhere with the idea of using python for Hard Real time which you mentioned in one of your previous posts ...some time back, I guess.
I found that hard real time with Python alone is simply not possible. That doesn't mean that building a hard real time system with Python is not possible. Of course this depends a lot on the particular application.
As long as we can get acceptably low latency, we can continue to use Python. The use of hardware to guarantee that things happen within a certain time frame (else an alarm is triggered) make the system deterministic, for our purposes.
Simon,
Thanks for blogging about this and for posting the pictures. Eminently, eminently cool!
Hope you get to work on something like this again soon (and blog about it and post pictures).
awesome!!...
Post a Comment