Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QDriverStation detects joysticks but doesn't send to robot #57

Closed
retrodaredevil opened this issue Jan 25, 2018 · 10 comments
Closed

QDriverStation detects joysticks but doesn't send to robot #57

retrodaredevil opened this issue Jan 25, 2018 · 10 comments

Comments

@retrodaredevil
Copy link

Information on what I'm running:
Log created on: Jan 24 2018 - 18:34:53 PM
LibDS version: 2.2
Operating System: Ubuntu 16.04.3 LTS
Application name: QDriverStation
Application version: 18.01

The problem is the same as this: #46 except on linux. The log connects, enables, disable the robot fine and the SmartDashboard even works perfectly except when I try to use a joystick on it, it detects it, but doesn't send it and I get an error when I call a joystick.getButton() in my code.

The log doesn't have any errors in it, just debug although I'd be happy to add other log files if that would help.

Another thing that would be nice is to be able to see the ports that the joysticks are on since right now it just shows a list of joysticks. I've tried this with a ps4 controller and a generic joystick. I've only tested this on my computer but I have yet to get the controllers working.

@alex-spataru
Copy link
Member

Could you try to use the virtual joystick to control your robot (and report back the results)? This can help me to know if this is an issue with SDL, or with the LibDS library itself.

Thanks!

@retrodaredevil
Copy link
Author

Tested it with virtual joystick and nothing.

@physprop
Copy link

Same problem here, on Elementary OS Loki.

@alex-spataru
Copy link
Member

Sorry for the late reply. Maybe the communication protocol has changed a little bit since last year, hopefully this is not the case.

@physprop
Copy link

physprop commented Feb 4, 2018 via email

@alex-spataru
Copy link
Member

Does your team still have access to 2015-2017 robots? If so, could you please try controling those robots with the QDriverStation?

Unfortunately, I am not into FRC anymore due to college, which makes testing LibDS and QDriverStation very difficult for me.

@physprop
Copy link

physprop commented Feb 4, 2018 via email

@eamonniknafs
Copy link

eamonniknafs commented Feb 4, 2018 via email

@physprop
Copy link

physprop commented Feb 4, 2018 via email

@alex-spataru
Copy link
Member

We'll move discussion of this issue to #58, which deals with the 2018 protocol implementation. Thanks for the reports!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants