Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Robot Showcase (http://www.chiefdelphi.com/forums/forumdisplay.php?f=58)
-   -   Driving a robot with a Wii Nunchuck (http://www.chiefdelphi.com/forums/showthread.php?t=75158)

Dave Flowerday 23-02-2009 21:10

Driving a robot with a Wii Nunchuck
 
Here's something I've been playing with for the last week or so:

http://www.youtube.com/watch?v=iGqs2HRbiek

Vikesrock 23-02-2009 21:15

Re: Driving a robot with a Wii Nunchuck
 
Wow, that's really cool!

xnaut 23-02-2009 21:16

Re: Driving a robot with a Wii Nunchuck
 
this is the coolest thing ive seen all day

wilsonmw04 23-02-2009 21:20

Re: Driving a robot with a Wii Nunchuck
 
umm, I'm not sure, but...
there isn't an accelerometer on the Nunchuck is there? or are you just tilting the 'chuck for effect?

Dave Flowerday 23-02-2009 21:22

Re: Driving a robot with a Wii Nunchuck
 
Quote:

Originally Posted by wilsonmw04 (Post 827067)
umm, I'm not sure, but...
there isn't an accelerometer on the Nunchuck is there? or are you just tilting the 'chuck for effect?

There's a 3-axis accelerometer in the Nunchuck.

Bongle 23-02-2009 21:23

Re: Driving a robot with a Wii Nunchuck
 
Quote:

Originally Posted by wilsonmw04 (Post 827067)
umm, I'm not sure, but...
there isn't an accelerometer on the Nunchuck is there? or are you just tilting the 'chuck for effect?

Both nunchuck and remote have 3-axis accelerometers. The nunchuck lacks the IR camera that gives the remote its pointing abilities.

rsisk 23-02-2009 21:27

Re: Driving a robot with a Wii Nunchuck
 
That is dang schweet!

wilsonmw04 23-02-2009 21:27

Re: Driving a robot with a Wii Nunchuck
 
Quote:

Originally Posted by Bongle (Post 827070)
Both nunchuck and remote have 3-axis accelerometers. The nunchuck lacks the IR camera that gives the remote its pointing abilities.

ok, that is WAY cool!!! I have a student who wants to use the Wii controller on the robot. I really need to show him this.

Greg Marra 23-02-2009 21:27

Re: Driving a robot with a Wii Nunchuck
 
Super cool!

I did this with the old control system, but had to use a computer in the middle because we didn't have USB back in the day :)

On a VEX Bot: http://www.youtube.com/watch?v=1JPgqPBQ_ZE
On an FRC Bot: http://www.youtube.com/watch?v=pxOfHIDkFPU

Rich Kressly 23-02-2009 21:35

Re: Driving a robot with a Wii Nunchuck
 
awwwwwwwesome

suj 23-02-2009 22:27

Re: Driving a robot with a Wii Nunchuck
 
that's amazing but it gives me a feeling that it'll be hard to control like ways i wounder how a ds lite would work I'm guessing someone would make a program for the R4 and it'll use wi-fi configurations and connect to the router? does anyone actually know how i'm sure it's been done before I'm not planning on using it but it''l be fun to know

alectronic 24-02-2009 02:32

Re: Driving a robot with a Wii Nunchuck
 
you guys using that this year? i guess not if it requires an adapter, but it would be cool!

Kruuzr 24-02-2009 07:55

Re: Driving a robot with a Wii Nunchuck
 
We had seriously thought about doing this to drive the robot this season, but the controller uses bluetooth, which is specifically excluded by the rules (at least for this year).

Greg Marra 24-02-2009 08:08

Re: Driving a robot with a Wii Nunchuck
 
Quote:

Originally Posted by Kruuzr (Post 827174)
We had seriously thought about doing this to drive the robot this season, but the controller uses bluetooth, which is specifically excluded by the rules (at least for this year).

The Nunchuk talks I2C, which is a wired communication protocol. The way Dave describes the setup, they have the Nunchuk plugged into an adaptor board which translates the I2C into USB, so there is no wireless involved. It sounds perfectly legal to me.

Kruuzr 24-02-2009 10:57

Re: Driving a robot with a Wii Nunchuck
 
Quote:

Originally Posted by Greg Marra (Post 827177)
The Nunchuk talks I2C, which is a wired communication protocol. The way Dave describes the setup, they have the Nunchuk plugged into an adaptor board which translates the I2C into USB, so there is no wireless involved. It sounds perfectly legal to me.

Unfortunately, I couldn't see the video (blocked where I work) or I guess I would have known that:(

That sounds awesome. I'll need to check it out when I'm home. Actually, I had looked at using the normal Wii controller (not the Nunchuck). I don't believe that could be used the same way.

teampronto 24-02-2009 15:11

Re: Driving a robot with a Wii Nunchuck
 
I can drive our robot with hand gestures. Push=forward pull=backward etc.

DustinWyke 24-02-2009 22:02

Re: Driving a robot with a Wii Nunchuck
 
yeah, the video was blocked here too. but great idea and concept.

Ellery 24-02-2009 22:11

Re: Driving a robot with a Wii Nunchuck
 
Very Kool Dave... I iwshed I had time to even try that out.

Austin H 24-02-2009 22:16

Re: Driving a robot with a Wii Nunchuck
 
That is pretty neat, but how do we know you're not using a regular controller off-screen?

Billfred 24-02-2009 22:32

Re: Driving a robot with a Wii Nunchuck
 
Quote:

Originally Posted by Austin H (Post 827588)
That is pretty neat, but how do we know you're not using a regular controller off-screen?

Because WildStang has a thing for irregular control setups. ;)

computerboi1503 24-02-2009 22:42

Re: Driving a robot with a Wii Nunchuck
 
Our team had thought of this as well, on the topic of intuitive control, but it was decided that the good old joystick shall suffice just fine.

We also passed around the idea for stability/autonomous of using the Nunchuck on the robot with the handy I2C port on the DSC. This idea also faltered, as we came to the conclusion that we do not need that type of sensor inputs for our automagic functions this year.:rolleyes:

Well done Wildstang, that's really neat!

-Nick

Dave Flowerday 25-02-2009 01:11

Re: Driving a robot with a Wii Nunchuck
 
Quote:

Originally Posted by computerboi1503 (Post 827617)
We also passed around the idea for stability/autonomous of using the Nunchuck on the robot with the handy I2C port on the DSC.

Unfortunately, with the way the I2C support was implemented on the crio, I don't think you can use it to talk to a Nunchuck. The Nunchuck requires that you send a single byte and then read back 6 bytes. The crio only lets you read 4 bytes at a time and insists on sending an address byte before each read. At least, that's what I gathered from reading/using the I2C code in WPIlib.

jsasaki 25-02-2009 03:23

Re: Driving a robot with a Wii Nunchuck
 
I didn't know wii nunchucks has accelerometers in them haha well wayyyy cool dude:cool:

Austin H 25-02-2009 07:21

Re: Driving a robot with a Wii Nunchuck
 
If it didn't use accelerometers, what would it use?

Jessica Boucher 25-02-2009 09:29

Re: Driving a robot with a Wii Nunchuck
 
Simply fantastic - sounds like a CMP Control Award winner to me!

Lil' Lavery 25-02-2009 09:47

Re: Driving a robot with a Wii Nunchuck
 
Is this actually being used on the Wildstang bot for competition, or was this just a cool project?

Qbranch 25-02-2009 10:18

Re: Driving a robot with a Wii Nunchuck
 
You crazy motorola people and your freescale processors... :rolleyes:

Interesting idea to make a USB device have the same report descriptor as the joysticks to fool the operator station.

Cool! :D

-q

teampronto 25-02-2009 10:40

Re: Driving a robot with a Wii Nunchuck
 
We couldn't get around the obstacle of "no bluetooth", so we abandoned our "minority report" project. Now we just use it for games..

http://teampronto.com/files/3.JPG

byteit101 06-03-2009 21:36

Re: Driving a robot with a Wii Nunchuck
 
wow, that is cool. can we see the code for accessing it?

jmanela 08-03-2009 10:56

Re: Driving a robot with a Wii Nunchuck
 
was that programmed in windriver or labview?


All times are GMT -5. The time now is 13:16.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi