| Author |
Message |
|
Gondorf5
Rookie
Joined: Thu Dec 08, 2011 9:06 pm Posts: 13
|
 Simple tutorial: Logitech Controller
 Where can I find a tutorial for programming my FTC Robot programs to my Logitech Controller? The CS2N Learn site is not helping me in that aspect. Ask for details, and you will recieve. 
|
| Thu Dec 08, 2011 9:16 pm |
|
 |
|
magicode
Moderator
Joined: Tue Sep 14, 2010 9:19 pm Posts: 495
|
 Re: Simple tutorial: Logitech Controller
Are the sample programs in ROBOTC not helping?
_________________ sudo rm -rf /
|
| Thu Dec 08, 2011 10:20 pm |
|
 |
|
Gondorf5
Rookie
Joined: Thu Dec 08, 2011 9:06 pm Posts: 13
|
 Re: Simple tutorial: Logitech Controller
Sample programs? You can set those up to controllers? I thought that was automated programming. 
|
| Thu Dec 08, 2011 10:46 pm |
|
 |
|
JonBons
Rookie
Joined: Thu Nov 03, 2011 7:41 pm Posts: 4
|
 Re: Simple tutorial: Logitech Controller
The sample programs include autonomous and teleop programs. You can find an example of a basic joystick program in the FIRST Tech Challenge folder via the "Open Sample Program" menu item. The Joystick1.c file has a basic example of controlling motors with your joystick.
_________________ Programmer for FTC team 4250 & FRC team 3660
|
| Fri Dec 09, 2011 6:18 pm |
|
 |
|
Gondorf5
Rookie
Joined: Thu Dec 08, 2011 9:06 pm Posts: 13
|
 Re: Simple tutorial: Logitech Controller
Alright, automated and teleop... I'll check those out and see if they help. We'll see how much progress I make after that, hmm?
|
| Tue Jan 03, 2012 12:56 am |
|
 |
|
l0jec
Expert
Joined: Mon Oct 27, 2008 9:59 pm Posts: 137
|
 Re: Simple tutorial: Logitech Controller
Not sure if it has what you're looking for, but here's a short article on JoystickDriver.c and the various functions you can use to interact with the joystick for FTC. http://greenarmyrobotics.org/robotc/robotcs-joystickdriver-c
|
| Tue Jan 03, 2012 3:35 pm |
|
 |
|
techappetite
Rookie
Joined: Sun Feb 13, 2011 4:14 pm Posts: 10
|
 Re: Simple tutorial: Logitech Controller
I actually recently wrote a program that writes the teleop code for you. I call it Teleop Catalyst for RobotC. A picture is worth a thousand words:  My program generates fully functional, competition-legal teleop code that you can immediately run on your robot. The code is also commented, which helps if you want to dig into the code and see how it works  You can learn more, and download it for free on my team's website: http://ftc.kcastromechs.org/catalyst/I hope it helps!
_________________Code is poetry.Teleop Catalyst for RobotC is a program which makes writing teleop programs dead simple. Check it out! Visit the official Facebook page
|
| Sat Jan 07, 2012 12:34 pm |
|
 |
|
Gondorf5
Rookie
Joined: Thu Dec 08, 2011 9:06 pm Posts: 13
|
 Re: Simple tutorial: Logitech Controller
Hmm. That's very interesting. I might take a closer look at it. By the way, those templates are helping. I generally have trouble understanding code, but a little more  at the problems should answer a few of my questions.
|
| Sun Jan 08, 2012 12:53 am |
|
 |
|
tfriez
Site Admin
Joined: Wed Jan 24, 2007 10:42 am Posts: 537
|
 Re: Simple tutorial: Logitech Controller
For help using the Logitech Joysticks, take a look at the freely-available ROBOTC Curriculum. It's available here: http://www.education.rec.ri.cmu.edu/pre ... index.html
_________________Timothy Friez ROBOTC Developer - SW Engineer tfriez@robotc.net
|
| Mon Jan 09, 2012 4:19 pm |
|
|