View unanswered posts | View active topics It is currently Sat Sep 26, 2020 2:46 am

Reply to topic  [ 3 posts ] 
Remote Control problems 
Author Message

Joined: Fri Nov 29, 2013 6:04 pm
Posts: 10
Post Remote Control problems
I have a Logitech Gamepad F310 to program the LegoNXT Mindstorm robot. I set up and tested the pad and it appears that all the buttons work on the lap top.

When I download the sample program MotorC works with the y1 button.(the knob on the left)

MotorB doesn't run at all. MotorB runs with buttons 7 & 8 (bottom buttons on the front of the controller) on the front of the game controller if I add the x1&2 The y2 button (knob on the right) doesn't work at all. (It works on the computer check.)

When I download the sample program, only the MotorC works. When I add the same code and change y1&2 to x1&2 I can use the left knob and buttons 7&8 to run the robot. Is there a way to get the right knob to run at the same time as the left knob? Thanks for your help,

[code][/code]#include "JoystickDriver.c"

task main()
while(1 == 1)
motor[motorB] = joystick.joy1_y1;
motor[motorC] = joystick.joy1_y2;

motor[motorB] = joystick.joy1_x1;
motor[motorC] = joystick.joy1_x2;



Fri Nov 29, 2013 6:41 pm
User avatar

Joined: Sun Nov 15, 2009 5:46 am
Posts: 1523
Post Re: Remote Control problems
Please post the code that you have problems with. The code you posted doesn't look like what you had described.

Fri Nov 29, 2013 8:56 pm
User avatar

Joined: Sat May 18, 2013 1:24 pm
Posts: 271
Location: Olympia, WA
Post Re: Remote Control problems
Also, check the switch on the back. Make sure it's set to "D" and not "X".

FTC Team 6424, the 'Oly Cow - Chief programmer.
FRC Team 4450, Olympia Robotics Federation (ORF).

and also quadrotors. Quadrotors!

Fri Nov 29, 2013 10:17 pm
Display posts from previous:  Sort by  
Reply to topic   [ 3 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.