View unanswered posts | View active topics It is currently Thu Apr 26, 2018 5:45 am

Reply to topic  [ 2 posts ] 
Unable to get value for joystick on gamepad 
Author Message

Joined: Thu Nov 10, 2011 5:43 am
Posts: 1
Post Unable to get value for joystick on gamepad

I was trying out basic remote control example (from the file NXT 2 Joystick Drive.c) using a Logitech F310 gamepad.

When I ran the program on the NXT robot, I found that only one wheel was turning. I opened up the 'Joystick Control - Basic' debugger window and observed the following.

1) the right joystick position in the debug window (inidcated by the square) remained stationary despite the actual right joystick being moved.
2) when I pressed the left-right buttons on the D-pad (i.e. above the left joystick), I observed the position of the right joystick in the debug window moving moving left and right.

It appears that the RobotC program is showing the wrong joystick and button status within the joystick debugger window. When I did a calibration test using the windows OS game controller setup dialogs, the joystick position and button status were correctly shown.

I am trying out v3.04 on a Win7 notebook.

Appreciate any advice I can get here. Thanks.

Thu Nov 10, 2011 6:01 am
User avatar

Joined: Tue Sep 14, 2010 9:19 pm
Posts: 496
Post Re: Unable to get value for joystick on gamepad
Try pressing the mode button on your controller. That should solve the problem.

sudo rm -rf /

Thu Nov 10, 2011 10:05 am
Display posts from previous:  Sort by  
Reply to topic   [ 2 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.