|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||||
|
|||||
|
Holy Wii Batman!
Here is a robot project we are working with Intel and ASU to develop. It will eventually be a roaming autonomous robot.
The student was working on code during the break http://www.youtube.com/watch?v=fikM6S7cSPE |
|
#2
|
|||
|
|||
|
Re: Holy Wii Batman!
That is really cool!
How were you able to get communication from the Wii Remote? Last edited by nighterfighter : 24-12-2009 at 14:07. Reason: Oops. I put "How did were you" :P |
|
#3
|
||||
|
||||
|
Re: Holy Wii Batman!
Wow, that really is cool. Mecanum wheels are always great.
@nighterfighter: There are ways to interface NI hardware/software with the Wii, a couple of people have done it. Most notably this guy: http://decibel.ni.com/content/docs/DOC-2326 The Wii sends out a Bluetooth signal, so if you can sense that and figure it out, you're good to go. I'm sure there's a whole slew of resources out there for people who want to do so. |
|
#4
|
||||
|
||||
|
Re: Holy Wii Batman!
We actually did not use any FIRST hardware. We used Phidget Motor Speed Controllers - http://www.phidgets.com/products.php...roduct_id=1064 - and yeah they can only do 10amps continuous...
But they are really cool in sense that they connect to a regular computer via USB. and the code is really intuitive looks like this - Code:
if (ws.ButtonState.Two == true)
{
leftmotorcontrol.motors[0].Velocity = -100 * (ws.AccelState.Values.X - ws.AccelState.Values.Y + turn); // front left
leftmotorcontrol.motors[1].Velocity = -100 * (ws.AccelState.Values.X + ws.AccelState.Values.Y + turn); // rear left
rightmotorcontrol.motors[0].Velocity = 100 *(ws.AccelState.Values.X + ws.AccelState.Values.Y - turn); // front right
rightmotorcontrol.motors[1].Velocity = 100 * (ws.AccelState.Values.X - ws.AccelState.Values.Y - turn); // rear right
}
else
{
leftmotor.motors[0].Velocity = 0.00;
leftmotor.motors[1].Velocity = 0.00;
rightmotor.motors[0].Velocity = 0.00;
rightmotor.motors[1].Velocity = 0.00;
}
As for the Wiimote I used the wiimotelib. Here is some nice open scr code and a the dll download - http://www.codeplex.com/WiimoteLib I did all the coding in C# using Microsoft C# IDE... The little black box on top of the bot is a fitpc2 - http://fit-pc2.com/wiki/index.php?title=Main_Page, yet another very nice piece of hardware And to top it all off the entire bot with Ultra sonic sensor a Digital/Analog IO board, motor speed controllers, frame/wheel/hardware, and cpu was under 2k,a very attractive price in my opinion. Extra info ----- Auto Programming and better video coming soon... Here is our wheel config - \ --------------------- / \ --------------------- / \ --------------------- / \ --------------------- / |----------------------| |----------------------| |----------------------| |----------------------| |----------------------| |----------------------| |----------------------| /----------------------\ /----------------------\ /----------------------\ /----------------------\ |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| pic: Holy arm batman! | Kellen Hill | Extra Discussion | 4 | 21-02-2007 20:45 |
| Holy Summer Box Office Batman. | George A. | Chit-Chat | 7 | 10-06-2004 20:03 |
| Holy possible overbooking for team social at UTC Regional Batman!!!! | Elgin Clock | Regional Competitions | 19 | 20-03-2004 20:26 |
| pic: batman | CD47-Bot | Extra Discussion | 8 | 22-03-2003 17:32 |
| Which Actor was the best Batman? | D.J. Fluck | Chit-Chat | 13 | 08-10-2002 16:41 |