Joysticks

Hey is there anyway to see if there is something wrong with my joysticks.

More info needed to provide a useful answer.

my program is working perfectly but when i am in my FRC Drivers Station and i go Diagnostics i see that my Joysticks aren’t blinking when i move them; they only blink when i press the joystick buttons that’s it

That is the expected behavior.

In Windows, you can go to “Set Up USB Game Controllers” to see if they are working.

We are also experiencing our joysticks randomly drop out. This was happening a lot last year during our regional. We switched to a different joystick this year, an xbox usb controller without led lights. It seemed to be working fine all weekend in NYC then in the semifinals it happened again (of course perfect timing:ahh: It was strange because this time only one joystick dropped out (the xbox one) the other joystick, a logitech gamepad, remained functional. Anyone know why this might be happening? And what can we do to avoid this at our next regional.

As stated above, that is normal.

Have you actually tried testing them with the robot enabled?

My guess is you’ll be happily surprised with the results. :smiley:

Press F1 to rescan joysticks.

Isn’t F1 also the ENABLE hotkey?

We’ll try that but… Has anyone else experienced this and if so how can we fix it so the joysticks never drop out!!

Are the joysticks plugged into a USB hub or directly into the USB ports on the driver station? We had a similar issue twice in the past and both times it was related to the USB hub that we were using. Once it was that the devices were not getting sufficient power from the single USB port to support them both. The second time it was the USB hub that had its own signal continuity issues; these problems disappeared when that hub was replaced. In both cases the signals to the joysticks were dropping out sometimes momentarily and sometimes persistently. We have since eliminated the hub from our driver station (since we have only 2 USB devices and no longer need the external e-stop button) and have had no issues like that since.

can anyone help

With…

Some laptops disable or limit the power draw from USB ports on battery power, or when battery is below a certain level. You may be able to disable this behavior. I’ve also seen weird results when using some USB hubs.

Make sure you always check the joysticks before the beginning of the match.

thanks i really needed to know that :slight_smile:

You have not described any unexpected/unwanted behavior so far.

Great news! No problem here.

Still good news. This is the correct behavior.

You have a number of very knowledgeable people on this thread who are willing to help, but you will have to describe the issue better if you are having one.

And how can i go to Windows, and go to “Set Up USB Game Controllers”

Yes, but it only enables when you are not connected to FMS. Therefore, on the field, you can check your joysticks before the match, and press F1 if they are not connected. You can also press F1 during a match if you discover it during the match (or a joystick gets accidentally disconnected). There are more details in the FMS whitepaper. http://www.usfirst.org/sites/default/files/uploadedFiles/Robotics_Programs/FRC/Game_and_Season__Info/2013/FMSWhitePaper_RevA.pdf

Ah, great information, thanks.

I just know the two hotkeys we use…

Enable (F1) and Stop (Enter).

Spacebar reserved for fires. :stuck_out_tongue:

Thanks for the input everyone. Although we are not using a usb hub, I do think it is a power issue with the laptop . We will make sure to keep the battery fully charged at all times and hopefully this will solve the problem. If someone knows a specific setting we could change like a power setting in windows or something that would guarantee we don’t lose the joysticks that would be awesome. We are using a sony viao laptop, programming with labview, using a Logitech gamepad and an Xbox gamepad.