Posts filed under ‘Robot Code’
A new wave of mind control will be upon us soon, this time for the end user!
We have seen the WiiMote bring greater levels of human input to gaming in a huge scale (over 29.62 million Wii units sold at the time of writing). The Wii also brought down the cost of this technology so more people could buy it. The Nintendo DS (NDS) and Apple iPhone brought touchscreens to the mainstream.
So why not take game control to the next level? Emotiv is doing just that, mind control for PC games. I first saw this new interface device back in early 2008 thinking it would be amazing if brought in the real world. My idea was to interface this with a Windows program for remote controlling a NXT robot. If a success, interfacing it with a humanoid robot.
In the last week I have been playing with the SDK to great success! The “EmoKey” program can link different thoughts, emotions, or facial motion to input key commands to your Windows PC which I can then use to control a robot. Sadly the Emotiv EPOC costs $299 (USD), a bit much for what I’d be doing… I did not even know *if* this would work for physical objects (what I am trying to do) up until a few days ago! I was watching a recording of the Discovery’s new show “Prototype This!” where the team built cars that would shut off if the builder gets angry (which also triggered for excitement). There was a beautiful test where they bent a spoon by “pushing” with their mind at the spoon, sending input to the computer, then sending an articular a message to pull on the spoon (seen below).
You can see the full episode on the Discovery website until January 15, 2009.
Video of early beta:
Public release is set for Christmas 2008!
Will this make PC gaming cooler? Will mind control be successful? Will Nintendo fight back? Where will this next gen technology be going next?
I have wanted a good place to save and share robot related files. We have YouTube for videos, which works very well. But the file sharing has not come as far yet. This is understandable, though, as more people will watch videos then download files, and they need to make money also.
Listed below are the best file sharing sites yet:
MediaFire – Tons of ads, hard to find the little “download” button once on the page. You can add a description and title for your file. Files will stay online forever.
SkyDrive – Personally, I like the folder layout of SkyDrive, although you can not yet drag files from one folder to another – you must re-upload the files. The files do not have a page for them where you can add a description or title. Online time for files is unlimited.
I feel that we will soon see good file sharing sites like YouTube.
If you know of any good file sharing sites, please let us all know by posting a comment!
I’ve been working on Vegway, for about a month and a half, on, and off.
The first Vegway:
The second Vegway (it works a little bit better…):
The third Vegway (uh… yeah still not there):
I have decided to stop working on Vegway for now, I have many other robot related projects going on right now.
I got an email from UGOBE today, saying that Pleo will be released in October 2007, with the price tag of $350 USD.
They say the higher then expected price is because of “higher quallity parts”, reqiered to make Pleo “life like”.
Check out UGOBE’s new website for pleo.
I just got an email from Intelitek and downloaded EasyC 2.0. While I have not used it yet, I have looked around it a little.
Below are some screenshots of EasyC 1.x and 2.0.
This is the opening screen on EasyC 1.x.
This is the opening screen on EasyC 2.0.
This is the New Project window of EasyC 1.x.
EasyC 2.0 has a lot more features as seen below.
In this picture you can see that you can write User Functions, so you do not have to right “the same code over and over”. So this will come in handy if you have something that you use a lot like “back up, wait, stop, wait, turn, wait, stop” because you can do it with one block in stead of 11 blocks, as seen below.
This is in 1.x.
This is in 2.0.
Also you can open up EasyC 1.x files in 2.0, so you will not lose all that hard work that you’ve all ready done.
On the 17th I decided to get EasyC 2.0 (also known as 2.x), because when we were programming on the 17th we ran into problems. I also knew that I’d probably get it sooner or later so I figured that I’d get it now. They said they would get back to me in 3 days, with my code to download it.
EasyC 2.0 (Note: this is a PDF)
On Friday the 16th Justin drove up to the town that I live in and stayed in a hotel.
On the 17th Justin and I went over to the hotel and he gave me a McSapien of the Stand Up Robosapien V2 (I’ll have a video out soon)! After we got to my house we started talking about what to build. Since the last time we saw each other, we both happened to be thinking of putting a ultrasonic sensor on a servo. After building the robot and testing it with R/C, we got on to the coding. We used the Ultrasonic Bot 3.0 code and changed it to use a servo. The way it works is this:
If the robot does not have an object in front of it, the bot will go straight.
If there is an object in front of the robot, and if the left does not have an object, it will turn left.
If there is an object in the front and left, but not on the right it will turn right.
If there is an object in the front, left, and right, the robot will do a turn of about 180 degrees.
We could not program the robot with all of the capabilities that we wanted to because the EasyC 1.x (also known as 1.1 and 1.0) did not have the blocks that we wanted. We even tried using the User Code and writing that in “C” but it would not accept it. By the time we were done programming, it was late so he went back to his hotel and I went to bed.