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

Joystick 🕹️ #23484

Closed
ryleymcc opened this issue Jan 10, 2022 · 3 comments
Closed

Joystick 🕹️ #23484

ryleymcc opened this issue Jan 10, 2022 · 3 comments
Labels
PC Issues related to running openpilot on PC

Comments

@ryleymcc
Copy link

Describe the bug

Joystickd.py running on PC does not connect to comma device. Instructions should be improved since everyone I asked was unable to get it to work.

OS Version

Ubuntu 20.04

openpilot version or commit

No response

Additional info

No response

@ryleymcc ryleymcc added the PC Issues related to running openpilot on PC label Jan 10, 2022
@adeebshihadeh
Copy link
Contributor

Let me know if you still have issues after 7eca4d6

@tgnabor-Phx999
Copy link

tgnabor-Phx999 commented Jan 10, 2022 via email

@ryleymcc
Copy link
Author

ryleymcc commented Jan 12, 2022

Let me know if you still have issues after 7eca4d6

joystickd.py works with keyboard when running it directly on the c2 using the command tools/joystick/joystickd.py --keyboard.

When I do
echo -n "1" > /data/params/d/JoystickDebugMode

then,

cereal/messaging/bridge {192.168.57.189} testJoystick

then on my laptop
export ZMQ=1

then
tools/joystick/joystickd.py

It starts on my laptop but there is no output from the comma 2 ssh shell. It does enter joystick mode but it seems like it's not connected. How can I tell if my laptop is sending the data over the network? I don't see any debugging tools or comments to figure out what its doing.

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

Successfully merging a pull request may close this issue.

3 participants