|
-
March 3rd, 2010, 05:24 PM
#1
Gamepad control for robot
Hi guys,
Beginner C# programmer here. I am looking to control a robot via a gamepad and code it through Visual C# (the interface and C# code). What will need to happen is that when the user presses the UP button, it will convert that UP command into a data stream of about 11 bytes and send it through the serial port on a PC.
Can someone give me insight on what I should be using to achieve this? I have looked around and it seems that this can be done with the XNA platform with this:
http://xnadirectinput.sourceforge.net/
I will use an off the shelf gamepad.
Any comments would be appreciated.
-
March 3rd, 2010, 08:51 PM
#2
Re: Gamepad control for robot
Actually it seems like i can just use the DirectX SDK and use DirectInput for this. I'll look into this a bit more.
-
March 4th, 2010, 12:38 AM
#3
Re: Gamepad control for robot
I would rather make that controller talk directly to the robot via a micro controller,
instead of using PC+RS232 for middle ware.
-
March 4th, 2010, 12:48 AM
#4
Re: Gamepad control for robot
I would too, but it is a user interface for the end user.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|