View unanswered posts | View active topics It is currently Tue Jul 22, 2014 2:40 pm






Reply to topic  [ 9 posts ] 
Simple tutorial: Logitech Controller 
Author Message
Rookie

Joined: Thu Dec 08, 2011 9:06 pm
Posts: 13
Post Simple tutorial: Logitech Controller
:programmer:

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.

:breakcomputer:


Thu Dec 08, 2011 9:16 pm
Profile
Moderator
Moderator
User avatar

Joined: Tue Sep 14, 2010 9:19 pm
Posts: 496
Post Re: Simple tutorial: Logitech Controller
Are the sample programs in ROBOTC not helping?

_________________
sudo rm -rf /


Thu Dec 08, 2011 10:20 pm
Profile
Rookie

Joined: Thu Dec 08, 2011 9:06 pm
Posts: 13
Post Re: Simple tutorial: Logitech Controller
Sample programs? You can set those up to controllers? I thought that was automated programming. :shock:


Thu Dec 08, 2011 10:46 pm
Profile
Rookie

Joined: Thu Nov 03, 2011 7:41 pm
Posts: 4
Post 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
Profile
Rookie

Joined: Thu Dec 08, 2011 9:06 pm
Posts: 13
Post 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
Profile
Expert

Joined: Mon Oct 27, 2008 9:59 pm
Posts: 137
Post 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
Profile
Rookie

Joined: Sun Feb 13, 2011 4:14 pm
Posts: 10
Post 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:

Image

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 :D

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
Profile WWW
Rookie

Joined: Thu Dec 08, 2011 9:06 pm
Posts: 13
Post 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 :poke: at the problems should answer a few of my questions.


Sun Jan 08, 2012 12:53 am
Profile
Site Admin
Site Admin

Joined: Wed Jan 24, 2007 10:42 am
Posts: 601
Post 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
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 9 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.